rules.mk: add newline definition

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

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

SVN-Revision: 44796
This commit is contained in:
John Crispin 2015-03-15 19:47:46 +00:00
parent 7ea781558f
commit 6c434d5f06

View File

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