Print Makefile.conf as make info message
authorClifford Wolf <clifford@clifford.at>
Tue, 26 Aug 2014 08:11:46 +0000 (10:11 +0200)
committerClifford Wolf <clifford@clifford.at>
Tue, 26 Aug 2014 08:11:46 +0000 (10:11 +0200)
Makefile

index 09b2adbc3403a3e707cf8e44336a5d4dde8b921e..fa42cf7d028da5843852e7626393f34ddb51b662 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,10 @@ OBJS = kernel/version_$(GIT_REV).o
 ABCREV = 4d547a5e065b
 ABCPULL = 1
 
--include Makefile.conf
+ifneq ($(wildcard Makefile.conf),)
+$(info $(shell sed 's,^,[Makefile.conf] ,' < Makefile.conf))
+include Makefile.conf
+endif
 
 ifeq ($(CONFIG),clang)
 CXX = clang