[Buildroot] svn commit: trunk/buildroot/target/u-boot

Ulf Samuelsson ulf.samuelsson at atmel.com
Mon Jan 5 18:16:01 UTC 2009


mån 2009-01-05 klockan 19:12 +0100 skrev Ulf Samuelsson:
> mån 2009-01-05 klockan 16:12 +0000 skrev jacmet at uclibc.org:
> > Author: jacmet
> > Date: 2009-01-05 16:12:34 +0000 (Mon, 05 Jan 2009)
> > New Revision: 24693
> > 
> > Log:
> > u-boot: revert U_BOOT_TARGET part of r24646
> > 
> > More u-boot build unbreaking. r24646 added U_BOOT_TARGET which uses the
> > nonexisting BOARDNAME variable, which means that the filename expands
> > to -u-boot-*, confusing ln.
> > 
> > There's limited point in having that symlink in the first please, so simply
> > revert that hunk.
> >
> 
> If you have a script that needs the filename u-boot.bin
> then it make sense.
> 
> > Modified:
> >    trunk/buildroot/target/u-boot/Makefile.in
> > 
> > 
> 
> The "complex" file name is needed, unless you only
> work with a single board.
> 
> We obviously need to find  a way that does not break the build of
> course.
> 
> Many targets define BR2_BOARD_NAME in their Config.in's
> and it may make sense to have a common BR2_BOARD_NAME
> Then it will be always be defined.
> Default to "uclibc" is probably OK.
> 
> 

Even better is to define it as 

U_BOOT_TARGET:=$(PROJECT)-u-boot-$(U_BOOT_VERSION)-$(DATE).bin

That is always defined, so that should not break the build.

BR
/Ulf



More information about the buildroot mailing list