* [U-Boot] How to compile tools?
@ 2011-06-08 7:41 Veli-Pekka Peltola
2011-06-08 16:58 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Veli-Pekka Peltola @ 2011-06-08 7:41 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] How to compile tools?
2011-06-08 7:41 [U-Boot] How to compile tools? Veli-Pekka Peltola
@ 2011-06-08 16:58 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2011-06-08 16:58 UTC (permalink / raw)
To: u-boot
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.h include
> in tools/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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-08 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 7:41 [U-Boot] How to compile tools? Veli-Pekka Peltola
2011-06-08 16:58 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox