From: Masahiro Yamada Date: Mon, 10 Mar 2014 01:42:27 +0000 (+0900) Subject: kbuild: fix a bug of make rule of version_autogenerated.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2e6b2f6ae015252c8673e23f8d2023379fa2e72e;p=u-boot.git 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 Reported-by: Andreas Bießmann --- diff --git a/Makefile b/Makefile index ee16d8cfc7..f3f3a2a995 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