From: Tom Rini <trini@ti.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/5] u-boot-mkimage: Correct EXTRA_OEMAKE
Date: Fri, 17 Aug 2012 09:48:52 -0700 [thread overview]
Message-ID: <1345222136-24839-1-git-send-email-trini@ti.com> (raw)
- HOSTLD has never been used in U-Boot, drop.
- HOSTSTRIP has been valid for a long time for tools
- Same for HOSTCFLAGS / HOSTLDFLAGS
Signed-off-by: Tom Rini <trini@ti.com>
---
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb | 4 ++--
meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb | 4 ++--
.../u-boot/u-boot-mkimage_2012.04.01.bb | 4 +++-
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb
index 34bae8e..9161f6c 100644
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5"
SECTION = "bootloader"
-PR = "r1"
+PR = "r2"
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
file://0001-Drop-config.h-include-in-tools-imximage.h.patch \
@@ -17,7 +17,7 @@ S = "${WORKDIR}/u-boot-${PV}"
BBCLASSEXTEND = "native nativesdk"
-EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTSTRIP=true'
+EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS} HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
do_compile () {
oe_runmake tools
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
index 3ca0c2c..2a83323 100644
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
SECTION = "bootloader"
-PR = "r0"
+PR = "r1"
SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
@@ -15,7 +15,7 @@ S = "${WORKDIR}/u-boot-${PV}"
BBCLASSEXTEND = "native nativesdk"
-EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
+EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS} HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
do_compile () {
oe_runmake tools
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb
index aa107fe..4d05202 100644
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2012.04.01.bb
@@ -3,6 +3,8 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
SECTION = "bootloader"
+PR = "r1"
+
# This is needs to be validated among supported BSP's before we can
# make it default
DEFAULT_PREFERENCE = "-1"
@@ -18,7 +20,7 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
S = "${WORKDIR}/git"
-EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
+EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS} HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
do_compile () {
oe_runmake tools
--
1.7.9.5
next reply other threads:[~2012-08-17 17:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-17 16:48 Tom Rini [this message]
2012-08-17 16:48 ` [PATCH 2/5] u-boot-fw-utils: Correct EXTRA_OEMAKE Tom Rini
2012-08-18 2:46 ` Saul Wold
2012-08-20 17:57 ` Tom Rini
2012-08-21 19:28 ` Saul Wold
2012-08-21 20:56 ` Khem Raj
2012-08-21 23:39 ` Tom Rini
2012-08-17 16:48 ` [PATCH 3/5] u-boot-fw-utils: Update to v2012.07 Tom Rini
2012-08-17 16:48 ` [PATCH 4/5] u-boot-mkimage: " Tom Rini
2012-08-18 2:45 ` Saul Wold
2012-08-18 13:06 ` Otavio Salvador
2012-08-17 16:48 ` [PATCH 5/5] u-boot: " Tom Rini
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=1345222136-24839-1-git-send-email-trini@ti.com \
--to=trini@ti.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