summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-12 19:05:29 +0100
committerEmil Velikov <[email protected]>2016-10-14 11:09:00 +0100
commit72fa5ca06d1bfb9f580953b6901467f5783bf0e4 (patch)
tree0f1dc76fcb8008fb861f957ba8d09b3c7dd9fbf1
parent48267b730cdf3e4ce78449cee10413cb5e73fb50 (diff)
intel: automake: replace direct basename $@ invokation with $(@F)
Use the shorthand make variable(s) as elsewhere in the build. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/Makefile.genxml.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
index f8b0363fa26..519f30eb993 100644
--- a/src/intel/Makefile.genxml.am
+++ b/src/intel/Makefile.genxml.am
@@ -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 "};" >> $@