projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
084685f
)
Fixed printing of multi-line Makefile.conf
author
Clifford Wolf
<clifford@clifford.at>
Wed, 27 Aug 2014 10:13:53 +0000
(12:13 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 27 Aug 2014 10:13:53 +0000
(12:13 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index fa42cf7d028da5843852e7626393f34ddb51b662..49a387263950a45ede81fc8b0adfca9a31ffcb3d 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-58,8
+58,13
@@
OBJS = kernel/version_$(GIT_REV).o
ABCREV = 4d547a5e065b
ABCPULL = 1
+define newline
+
+
+endef
+
ifneq ($(wildcard Makefile.conf),)
-$(info $(s
hell sed 's,^,[Makefile.conf] ,' < Makefile.conf
))
+$(info $(s
ubst $$--$$,$(newline),$(shell sed 's,^,[Makefile.conf] ,; s,$$,$$--$$,;' < Makefile.conf | tr -d '\n' | sed 's,\$$--\$$$$,,')
))
include Makefile.conf
endif