Fixed printing of multi-line Makefile.conf

This commit is contained in:
Clifford Wolf 2014-08-27 12:13:53 +02:00
parent 084685f480
commit cfb4338319
1 changed files with 6 additions and 1 deletions

View File

@ -58,8 +58,13 @@ OBJS = kernel/version_$(GIT_REV).o
ABCREV = 4d547a5e065b ABCREV = 4d547a5e065b
ABCPULL = 1 ABCPULL = 1
define newline
endef
ifneq ($(wildcard Makefile.conf),) ifneq ($(wildcard Makefile.conf),)
$(info $(shell sed 's,^,[Makefile.conf] ,' < Makefile.conf)) $(info $(subst $$--$$,$(newline),$(shell sed 's,^,[Makefile.conf] ,; s,$$,$$--$$,;' < Makefile.conf | tr -d '\n' | sed 's,\$$--\$$$$,,')))
include Makefile.conf include Makefile.conf
endif endif