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-Tag: v2014.04-rc2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2e6b2f6ae015252c8673e23f8d2023379fa2e72e;p=oweals%2Fu-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