From: John Crispin Date: Sun, 15 Mar 2015 19:47:46 +0000 (+0000) Subject: rules.mk: add newline definition X-Git-Tag: reboot~3939 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6c434d5f06d22a5cb3bb94735803e746a88e553b;p=oweals%2Fopenwrt.git rules.mk: add newline definition To be used for stuff like $(subst $(space),$(newline),$(SOME_VAR)) Signed-off-by: Alexandru Ardelean SVN-Revision: 44796 --- 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);