rules.mk: add newline definition

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

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44796 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2015-03-15 19:47:46 +00:00
parent 645862c1c8
commit eff9c0f696
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))
define sep
endef
define newline
endef
_SINGLE=export MAKEFLAGS=$(space);