summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.genxml.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/Makefile.genxml.am')
-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 "};" >> $@