Gmake doesn't like newline in macro expansion result.

When $(call func) in the makefile text expansion includes newline, gmake
reports error "missing separator". But it's fine if the expansion includes
only spaces. That's a bit odd.
This change fixes the "missing separator".

Change-Id: I094e5ae1725699ebfa4ed66544eef037dd68714c
This commit is contained in:
Ying Wang 2015-12-04 16:44:03 -08:00
parent cc3b2a5854
commit 427f8c43aa
1 changed files with 1 additions and 1 deletions

View File

@ -1960,7 +1960,7 @@ endef
## Define a rule which generates .jar.toc and mark it as .KATI_RESTAT.
define define-jar-to-toc-rule
$(eval $(call _transform-jar-to-toc,$1))
$(eval $(call _transform-jar-to-toc,$1))\
$(eval .KATI_RESTAT: $1.toc)
endef