
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@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