forked from openkylin/platform_build
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
This commit is contained in:
parent
6808c2608f
commit
3cb9ddbdec
|
@ -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
|
||||
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in New Issue