summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.genxml.am
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-10-26 12:51:32 -0700
committerMatt Turner <[email protected]>2016-10-26 14:06:45 -0700
commit8e5aed5b56bc390b974559d9586a60f62981e172 (patch)
tree632e9ad4f6d4c0d9b2fb31f7c407a03b139bbb66 /src/intel/Makefile.genxml.am
parent1ec7227d44dceae8de7b93f846bbd33d66007909 (diff)
genxml: Handle failure of Python codegen scripts.
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 2df223a7bcd..2ed2741e4fe 100644
--- a/src/intel/Makefile.genxml.am
+++ b/src/intel/Makefile.genxml.am
@@ -33,7 +33,7 @@ $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
.xml_pack.h:
$(MKDIR_GEN)
- $(PYTHON_GEN) $(srcdir)/genxml/gen_pack_header.py $< > $@
+ $(PYTHON_GEN) $(srcdir)/genxml/gen_pack_header.py $< > $@ || ($(RM) $@; false)
# 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