summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-04-15 12:05:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-15 15:18:17 +0200
commit55c81081e577922a8d7d0a1d633efb7feb3560d4 (patch)
treeeaac0c4b37400bc74363a00326d306b9d7f664d9 /Makefile
parentff879a2d4cc73046460e1fc88e5d1251bdc6dd1d (diff)
downloadbarebox-55c81081e577922a8d7d0a1d633efb7feb3560d4.tar.gz
barebox-55c81081e577922a8d7d0a1d633efb7feb3560d4.tar.xz
Makefile: fix build timestamps
This patch adds the scripts/mkcompile_h from the Kernel. This gives us additional information about the build like who built this binary and with which compiler. Currently the only information used is the build timestamp and the generation number. This also fixes the build timestamp in the banner which is now correct even with consecutive builds without making clean in between. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c19154067b..fb85915904 100644
--- a/Makefile
+++ b/Makefile
@@ -531,6 +531,7 @@ quiet_cmd_barebox_version = GEN .version
mv .version .old_version; \
expr 0$$(cat .old_version) + 1 >.version; \
fi; \
+ $(MAKE) $(build)=common
# Check size of a file
quiet_cmd_check_file_size = CHKSIZE $@