From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: Tom Rini <trini@ti.com>
Subject: Re: [PATCH 2/5] u-boot-fw-utils: Correct EXTRA_OEMAKE
Date: Fri, 17 Aug 2012 19:46:19 -0700 [thread overview]
Message-ID: <502F01FB.1020303@linux.intel.com> (raw)
In-Reply-To: <1345222136-24839-2-git-send-email-trini@ti.com>
On 08/17/2012 09:48 AM, Tom Rini wrote:
> - HOSTCFLAGS / HOSTLDFLAGS have been valid for a long time for tools/env
> - HOSTSTRIP will be needed in the future, does no harm to be correct
> now.
>
> Signed-off-by: Tom Rini <trini@ti.com>
> ---
> meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb | 4 ++--
> .../u-boot/u-boot-fw-utils_2012.04.01.bb | 4 +++-
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
> index 7c4df1a..99eef15 100644
> --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb
> @@ -6,7 +6,7 @@ SECTION = "bootloader"
>
> DEPENDS = "mtd-utils"
>
> -PR = "r1"
> +PR = "r2"
>
> SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2"
>
> @@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af3
>
> S = "${WORKDIR}/u-boot-${PV}"
>
> -EXTRA_OEMAKE = 'HOSTCC="${CC}"'
> +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS} HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
>
> do_compile () {
> oe_runmake env
> diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb
> index fe3422a..364f8a5 100644
> --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2012.04.01.bb
> @@ -5,6 +5,8 @@ SECTION = "bootloader"
>
> DEPENDS = "mtd-utils"
>
> +PR = "r1"
> +
> # This is needs to be validated among supported BSP's before we can
> # make it default
> DEFAULT_PREFERENCE = "-1"
> @@ -20,7 +22,7 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
> S = "${WORKDIR}/git"
>
> -EXTRA_OEMAKE = 'HOSTCC="${CC}"'
> +EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTCFLAGS="${CFLAGS} HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
>
> do_compile () {
> oe_runmake env
>
This had a failure also:
> ERROR: Function failed: do_install (see /srv/ssd/sgw_ab/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/u-boot-fw-utils-2011.06-r2/temp/log.do_install.69452 for further information)
> ERROR: Logfile of failure stored in: /srv/ssd/sgw_ab/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/u-boot-fw-utils-2011.06-r2/temp/log.do_install.69452
> Log data follows:
> | DEBUG: Executing shell function do_install
> | install: cannot stat `/srv/ssd/sgw_ab/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/u-boot-fw-utils-2011.06-r2/u-boot-2011.06/tools/env/fw_printenv': No such file or directory
> | ERROR: Function failed: do_install (see /srv/ssd/sgw_ab/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/u-boot-fw-utils-2011.06-r2/temp/log.do_install.69452 for further information)
> NOTE: package u-boot-fw-utils-2011.06-r2: task do_install: Failed
> ERROR: Task 2755 (/srv/ssd/sgw_ab/yocto-autobuilder/yocto-slave/nightly-world/build/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb, do_install) failed with exit code '1'
Sau!
next prev parent reply other threads:[~2012-08-18 2:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-17 16:48 [PATCH 1/5] u-boot-mkimage: Correct EXTRA_OEMAKE Tom Rini
2012-08-17 16:48 ` [PATCH 2/5] u-boot-fw-utils: " Tom Rini
2012-08-18 2:46 ` Saul Wold [this message]
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=502F01FB.1020303@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=trini@ti.com \
/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