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.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=2e6b2f6ae015252c8673e23f8d2023379fa2e72e;hp=5ca05c8b0304c6e99466fd3c43398273c1e9cad9 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