public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] How to compile tools?
Date: Wed, 08 Jun 2011 10:41:31 +0300	[thread overview]
Message-ID: <4DEF27AB.1080801@bluegiga.com> (raw)

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

             reply	other threads:[~2011-06-08  7:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08  7:41 Veli-Pekka Peltola [this message]
2011-06-08 16:58 ` [U-Boot] How to compile tools? Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DEF27AB.1080801@bluegiga.com \
    --to=veli-pekka.peltola@bluegiga.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox