intel: automake: replace direct basename $@ invokation with $(@F)
Use the shorthand make variable(s) as elsewhere in the build. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
committed by
Emil Velikov
parent
48267b730c
commit
72fa5ca06d
@@ -37,7 +37,7 @@ $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
|
||||
%_xml.h: %.xml Makefile
|
||||
$(MKDIR_GEN)
|
||||
$(AM_V_GEN) echo -n "static const uint8_t " > $@; \
|
||||
echo "`basename $@`_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
|
||||
echo "$(@F)_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
|
||||
cat $< | $(XXD) -i >> $@; \
|
||||
echo "};" >> $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user