[OpenWrt-Devel] [PATCH] rules.mk: add newline definition

Alexandru Ardelean ardeleanalex at gmail.com
Thu Mar 12 15:14:37 EDT 2015


To be used for stuff like $(subst $(space),$(newline),$(SOME_VAR))

Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
---
 rules.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rules.mk b/rules.mk
index 078ebe3..e61cc3f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -30,6 +30,11 @@ define sep
 
 endef
 
+define newline
+
+
+endef
+
 _SINGLE=export MAKEFLAGS=$(space);
 CFLAGS:=
 ARCH:=$(subst i486,i386,$(subst i586,i386,$(subst i686,i386,$(call qstrip,$(CONFIG_ARCH)))))
-- 
1.8.4.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list