From: Tom Rini Date: Mon, 14 Feb 2011 19:27:15 +0000 (-0700) Subject: u-boot: Make sure we use override HOSTCC for env tools X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5157da6f32c16f23978ee96182b8d6df2d413b1;p=openembedded.git u-boot: Make sure we use override HOSTCC for env tools Upstream says that the right way to build a target binary of the env tools is to pass in HOSTCC=your-cross-cc. Bump the PR in u-boot_git.bb to fix as many easily fixable ones as possible, but other platforms may have been shipping bad binaries (since we had skipped testing on this package due to GNU_HASH issues when built for the target). Signed-off-by: Tom Rini --- diff --git a/recipes/u-boot/u-boot.inc b/recipes/u-boot/u-boot.inc index 9a9528ee91..88c6a4d18f 100644 --- a/recipes/u-boot/u-boot.inc +++ b/recipes/u-boot/u-boot.inc @@ -26,7 +26,7 @@ do_compile () { unset CFLAGS unset CPPFLAGS oe_runmake all - oe_runmake tools env + oe_runmake tools env HOSTCC="${CC}" } do_install () { diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb index 9699e8f1e8..410e0b1ca3 100644 --- a/recipes/u-boot/u-boot_git.bb +++ b/recipes/u-boot/u-boot_git.bb @@ -1,5 +1,5 @@ require u-boot.inc -PR ="r71" +PR = "r72" FILESPATHPKG =. "u-boot-git:" @@ -111,7 +111,7 @@ do_compile_calamari () { oe_runmake MPC8536DS_SPIFLASH_config oe_runmake all mv u-boot.bin u-boot-spiflash.bin - oe_runmake tools env + oe_runmake tools env HOSTCC="${CC}" } do_deploy_calamari () {