From 6c434d5f06d22a5cb3bb94735803e746a88e553b Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 15 Mar 2015 19:47:46 +0000 Subject: [PATCH] rules.mk: add newline definition To be used for stuff like $(subst $(space),$(newline),$(SOME_VAR)) Signed-off-by: Alexandru Ardelean SVN-Revision: 44796 --- rules.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rules.mk b/rules.mk index 078ebe3faa..e61cc3fde9 100644 --- a/rules.mk +++ b/rules.mk @@ -28,6 +28,11 @@ strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1)) define sep +endef + +define newline + + endef _SINGLE=export MAKEFLAGS=$(space); -- 2.25.1