[U-Boot] How to compile tools?

Veli-Pekka Peltola veli-pekka.peltola at bluegiga.com
Wed Jun 8 09:41:31 CEST 2011


Hi,

We have been using U-Boot 2010.06 and now we are trying to use the 
latest version. Our build system processes the kernel with mkimage so we 
compile U-Boot tools with "make tools" even if bootloader is not 
compiled. This has worked fine in the past. It seems that 2011.03 is the 
last version where this approach worked after removing config.h include 
in tools/imximage.h. Is there currently an easy way to compile only 
tools, not the whole bootloader?

Error with 2011.06-rc2:
peltove at swdtvp:~/u-boot-2011.06-rc2$ make tools
awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' 
boards.cfg > .boards.depend
make -C tools all
make[1]: Entering directory `/home/peltove/u-boot-2011.06-rc2/tools'
/home/peltove/u-boot-2011.06-rc2/config.mk:183: *** could not find 
linker script.  Stop.
make[1]: Leaving directory `/home/peltove/u-boot-2011.06-rc2/tools'
make: *** [tools] Error 2

--
Veli-Pekka Peltola


More information about the U-Boot mailing list