From 3cb9ddbdec80117255b8e2861996c14cd3af7366 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 4 Mar 2014 14:48:55 +0000 Subject: [PATCH] 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 --- core/definitions.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index 1f3616d9e..9cbd6471b 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 ###########################################################