[U-Boot] [PATCH v3] Move timestamp and version files into 'generated' subdir

Wolfgang Denk wd at denx.de
Tue Oct 18 08:13:15 CEST 2011


Dear Simon Glass,

In message <1318272919-17706-1-git-send-email-sjg at chromium.org> you wrote:
> There is a rather subtle build problem where the build time stamp is not
> updated for out-of-tree builds if there exists an in-tree build which
> has a valid timestamp file. So if you do an in-tree build, then an
> out-of-tree build your timestamp will not change.
...
>  Makefile                                  |    4 ++--
>  arch/arm/cpu/armv7/omap-common/spl.c      |    3 +--
>  arch/arm/cpu/armv7/omap-common/spl_mmc.c  |    3 +--
>  arch/arm/cpu/armv7/omap-common/spl_nand.c |    3 +--
>  drivers/serial/usbtty.h                   |    2 +-
>  include/.gitignore                        |    2 --
>  include/timestamp.h                       |    2 +-
>  include/version.h                         |    2 +-
>  8 files changed, 8 insertions(+), 13 deletions(-)

This change breaks building for the following boards:

	BMW                     MUSENKI                 debris
	CPC45                   MVBLUE                  eXalion
	CPC45_ROMBOOT           OXC                     kvme080
	CU824                   PN62                    linkstation_HGLAN
	HIDDEN_DRAGON           Sandpoint8240           utx8245
	MOUSSE                  Sandpoint8245

For example:

+ ./MAKEALL CPC45
Configuring for CPC45 board...
ppc_6xx-gcc: /work/wd/tmp-ppc/arch/powerpc/cpu/mpc824x/bedbug_603e.c: No such file or directory
ppc_6xx-gcc: no input files
make[1]: *** No rule to make target `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc824x/.depend', needed by `_depend'.  Stop.


Please fix.

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
Punishment becomes ineffective after a certain point. Men become  in-
sensitive.
	-- Eneg, "Patterns of Force", stardate 2534.7


More information about the U-Boot mailing list