summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-10 10:42:27 +0900
committerTom Rini <trini@ti.com>2014-03-10 13:50:32 -0400
commit2e6b2f6ae015252c8673e23f8d2023379fa2e72e (patch)
treee0e2477eff11086b640da90c27914a9135be188e /Makefile
parent5ca05c8b0304c6e99466fd3c43398273c1e9cad9 (diff)
kbuild: fix a bug of make rule of version_autogenerated.h
include/generated/version_autogenerated.h was not correctly generated on the parallel build (with -j option). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ee16d8cfc7b..f3f3a2a995e 100644
--- a/Makefile
+++ b/Makefile
@@ -1022,7 +1022,7 @@ define filechk_timestamp.h
LC_ALL=C date +'#define U_BOOT_TIME "%T"')
endef
-$(version_h): $(srctree)/Makefile FORCE
+$(version_h): include/config/uboot.release FORCE
$(call filechk,version.h)
$(timestamp_h): $(srctree)/Makefile FORCE