Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 3/3] u-boot: make sure CROSS_COMPILE is passed into build
Date: Fri, 29 Jun 2012 14:35:15 -0400	[thread overview]
Message-ID: <1340994915-14947-4-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1340994915-14947-1-git-send-email-paul.gortmaker@windriver.com>

The u-boot build system expects this, otherwise it will
choose from its own internal defaults.  In the case of
powerpc, we'll see it look for "ppc_8xx-gcc" and fail.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
index 25cc8c9..b37fe01 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
@@ -26,3 +26,6 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 S = "${WORKDIR}/git"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# u-boot expects this to indicate what toolchain to use
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
-- 
1.7.9.6




  parent reply	other threads:[~2012-06-29 18:46 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29 18:35 [PATCH 0/3] u-boot recipe updates Paul Gortmaker
2012-06-29 18:35 ` [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings Paul Gortmaker
2012-06-29 21:55   ` Khem Raj
2012-06-29 22:01     ` Wolfgang Denk
2012-06-29 22:11       ` Khem Raj
2012-06-29 23:34         ` Wolfgang Denk
2012-06-30  2:49           ` Khem Raj
2012-07-01 22:03   ` Saul Wold
2012-07-01 23:14     ` Khem Raj
2012-07-02  3:04     ` Paul Gortmaker
2012-07-02  5:44     ` [PATCHv2 0/3] u-boot recipe updates Paul Gortmaker
2012-07-02  5:44       ` [PATCHv2 1/3] u-boot: Don't make the -Os removal part of global settings Paul Gortmaker
2012-07-02 11:23         ` Otavio Salvador
2012-07-02  5:44       ` [PATCHv2 2/3] u-boot: make FILESDIR a shared setting Paul Gortmaker
2012-07-02 11:24         ` Otavio Salvador
2012-07-02 13:33           ` Chris Larson
2012-07-02 16:42             ` Otavio Salvador
2012-07-02 19:03               ` Richard Purdie
2012-07-02  5:44       ` [PATCHv2 3/3] u-boot: do not clobber PARALLEL_MAKE setting Paul Gortmaker
2012-07-02 11:25         ` Otavio Salvador
2012-07-03 17:48       ` [PATCHv2 0/3] u-boot recipe updates Saul Wold
2012-07-04 14:12         ` Paul Gortmaker
2012-07-04 15:00           ` Paul Gortmaker
2012-07-04 15:29             ` Phil Blundell
2012-07-05 16:14               ` Paul Gortmaker
2012-07-09 16:01                 ` Phil Blundell
2012-07-09 18:20                   ` McClintock Matthew-B29882
2012-07-09 18:52                   ` Paul Gortmaker
2012-07-09 19:08                   ` Richard Purdie
2012-07-04 15:23         ` [PATCH] u-boot: make FILESDIR a shared setting via FILESPATH Paul Gortmaker
2012-07-04 15:38           ` Martin Jansa
2012-07-04 17:01             ` Richard Purdie
2012-07-05 17:19           ` Saul Wold
2012-06-29 18:35 ` [PATCH 2/3] u-boot: make FILESDIR a shared setting Paul Gortmaker
2012-06-29 18:35 ` Paul Gortmaker [this message]
2012-06-29 20:04   ` [PATCH 3/3] u-boot: make sure CROSS_COMPILE is passed into build McClintock Matthew-B29882

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=1340994915-14947-4-git-send-email-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox