Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 427f8c43 authored by Ying Wang's avatar Ying Wang
Browse files

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
parent cc3b2a58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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