public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Bug in dependency checking
@ 2008-02-14 22:09 Wolfgang Denk
  2008-02-18  7:03 ` Stefano Babic
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2008-02-14 22:09 UTC (permalink / raw)
  To: u-boot

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.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
God runs electromagnetics by wave theory on  Monday,  Wednesday,  and
Friday,  and the Devil runs them by quantum theory on Tuesday, Thurs-
day, and Saturday.                                   -- William Bragg

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Bug in dependency checking
  2008-02-14 22:09 [U-Boot-Users] Bug in dependency checking Wolfgang Denk
@ 2008-02-18  7:03 ` Stefano Babic
  2008-02-22 11:16   ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Stefano Babic @ 2008-02-18  7:03 UTC (permalink / raw)
  To: u-boot

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: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Bug in dependency checking
  2008-02-18  7:03 ` Stefano Babic
@ 2008-02-22 11:16   ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2008-02-22 11:16 UTC (permalink / raw)
  To: u-boot

In message <47B92DD7.5000506@denx.de> you wrote:
>
> 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.

Looks good to me, thanks.

Can you please send your Signed-off-by: for this patch?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Question: How does one get fresh air into a Russian church?
Answer:   One clicks on an icon, and a window opens!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-22 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14 22:09 [U-Boot-Users] Bug in dependency checking Wolfgang Denk
2008-02-18  7:03 ` Stefano Babic
2008-02-22 11:16   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox