[U-Boot] [PATCH] kbuild: fix a bug of make rule of version_autogenerated.h

Masahiro Yamada yamada.m at jp.panasonic.com
Mon Mar 10 02:42:27 CET 2014


include/generated/version_autogenerated.h was not correctly
generated on the parallel build (with -j option).

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Reported-by: Andreas Bießmann <andreas.devel at googlemail.com>
---

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ee16d8c..f3f3a2a 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
-- 
1.8.3.2



More information about the U-Boot mailing list