kbuild: fix a bug of make rule of version_autogenerated.h
[karo-tx-uboot.git] / Makefile
index ee16d8c..f3f3a2a 100644 (file)
--- 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