Wolfgang Denk wrote: > Hi, > > there is a bug in the dependency checking. If we modify a source file, > and then rebuild U-Boot, it will not generate a new git commit ID in > the version string. > > Can somebody please help me with this? Thanks in advance.
What about simply adding VERSION_FILE to the PHONY targets ? in this way the script /tools/setlocalversion is always called and version_autogenerated.h is replaced only if the script find a modified source file. --- a/Makefile +++ b/Makefile @@ -244,7 +244,7 @@ LIBS += libfdt/libfdt.a LIBS += api/libapi.a LIBS := $(addprefix $(obj),$(LIBS)) -.PHONY : $(LIBS) +.PHONY : $(LIBS) $(VERSION_FILE) Regards, stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: [EMAIL PROTECTED] ===================================================================== ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users