How to compile tools?
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
Quoted 7 lines · On Wednesday, June 08, 2011 03:41:31 Veli-Pekka Peltola wrote:
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.hinclude intools/imximage.h. Is there currently an easy way to compile only tools, not the whole bootloader?
make tools should work. if it doesnt, post a patch to fix it. breakage here is not on purpose, but rather simply not noticed.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110608/f6a8a52c/attachment.pgp