summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-03-04 14:48:55 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-03-04 14:48:55 +0000
commit3cb9ddbdec80117255b8e2861996c14cd3af7366 (patch)
tree9c3958d02998d4a6a4dd2a893803b42eb946245b /core/definitions.mk
parent6808c2608f0eff3275110154d7267f934700c167 (diff)
downloadbuild-3cb9ddbdec80117255b8e2861996c14cd3af7366.zip
build-3cb9ddbdec80117255b8e2861996c14cd3af7366.tar.gz
build-3cb9ddbdec80117255b8e2861996c14cd3af7366.tar.bz2
Do not remove the generated .hpp file from yacc.
Depending on the file extension of the generated C++ file, bison will generate a #include of a .h or .hpp. So both files must be kept in the generated directory. Change-Id: Id0aac7f407bdc69c7f5012c0d021761b0fceb427
Diffstat (limited to 'core/definitions.mk')
-rw-r--r--core/definitions.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 1f3616d..9cbd647 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -850,7 +850,6 @@ echo '#ifndef '$(@F:$1=_h) > $(@:$1=.h)
echo '#define '$(@F:$1=_h) >> $(@:$1=.h)
cat $(@:$1=$(YACC_HEADER_SUFFIX)) >> $(@:$1=.h)
echo '#endif' >> $(@:$1=.h)
-rm -f $(@:$1=$(YACC_HEADER_SUFFIX))
endef
###########################################################