Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
6c434d5f06
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      rules.mk

+ 5 - 0
rules.mk

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