diff options
author | Ying Wang <wangying@google.com> | 2015-12-04 16:44:03 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2015-12-04 16:44:03 -0800 |
commit | 427f8c43aa1ce72f4fd1a06f17e7f346dadfb8ab (patch) | |
tree | e6d4747b363d7a4d314796afb9ddc11861a834c2 | |
parent | cc3b2a58548832ab7a6620d6b607d315f06dfc06 (diff) | |
download | build-427f8c43aa1ce72f4fd1a06f17e7f346dadfb8ab.tar.gz |
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
-rw-r--r-- | core/definitions.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |