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.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
index 519f30eb993..39f579c929f 100644
--- a/src/intel/Makefile.genxml.am
+++ b/src/intel/Makefile.genxml.am
@@ -34,7 +34,10 @@ $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
# xxd generates variable names based on the path of the input file. We
# prefer to generate our own name here, so it doesn't vary from
# in/out-of-tree builds.
-%_xml.h: %.xml Makefile
+
+$(GENXML_GENERATED_FILES): Makefile
+
+.xml_xml.h:
$(MKDIR_GEN)
$(AM_V_GEN) echo -n "static const uint8_t " > $@; \
echo "$(@F)_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \