Browse Source

rules.mk: add newline definition

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

Signed-off-by: Alexandru Ardelean <[email protected]>

SVN-Revision: 44796
John Crispin 10 years ago
parent
commit
6c434d5f06
1 changed files with 5 additions and 0 deletions
  1. 5 0
      rules.mk

+ 5 - 0
rules.mk

@@ -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);