forked from openkylin/platform_build
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:
parent
cc3b2a5854
commit
427f8c43aa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue