All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Rush <jeff@taupro.com>
To: openembedded-devel@lists.openembedded.org
Subject: Changing a machine def and rebuilding tool chain?
Date: Thu, 21 May 2009 09:22:40 -0500	[thread overview]
Message-ID: <4A1563B0.4090406@taupro.com> (raw)

I'm working on a machine definition for the old TuxScreen hardware as I
haven't seen one already defined in the OE metadata.

Initially I had a:

   TARGET_CC_ARCH = "-march=armv4t -mtune=strongarm"

where the TuxScreen CPU is a StrongARM 1100.  After building a
statically-lined "helloworld" program however, it gives me an instruction
error when I try to run it on the target hardware.

Figuring it was my use of "armv4t" I changed it to just "-march=armv4
-mtune=strongarm".  Doing a:

  $ bitbake -c clean helloworld
  $ bitbake helloworld

produces the exact same binary, so obviously I need to rebuild something
further upstream in my toolchain.  Does the BitBake system notice that a
machine definition has changed, or that a TARGET_CC_ARCH has changed and
rebuild the necessary pieces?  Or do I have to blow it all away and rebuild
everything whenever something as fundamental as the TARGET_CC_ARCH changes?

Thanks,

-Jeff




             reply	other threads:[~2009-05-21 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21 14:22 Jeff Rush [this message]
2009-05-21 15:57 ` Changing a machine def and rebuilding tool chain? GNUtoo
2009-05-21 16:29   ` GNUtoo

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=4A1563B0.4090406@taupro.com \
    --to=jeff@taupro.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.