From 427f8c43aa1ce72f4fd1a06f17e7f346dadfb8ab Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Fri, 4 Dec 2015 16:44:03 -0800 Subject: [PATCH] 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 --- core/definitions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index 89ffcf7d13..19365ca21f 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -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