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

John Crispin blogic at openwrt.org
Fri Mar 13 11:53:04 EDT 2015


Hi Alexandru,

what do you need this for ?

	John

On 12/03/2015 20:14, Alexandru Ardelean wrote:
> 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)))))
> 
_______________________________________________
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