diff mbox

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

Message ID 1394415747-14611-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada March 10, 2014, 1:42 a.m. UTC
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>
---

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

Comments

Tom Rini March 10, 2014, 9:28 p.m. UTC | #1
On Mon, Mar 10, 2014 at 10:42:27AM +0900, Masahiro Yamada wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

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