[OE-core] [PATCH 3/3] u-boot: make sure CROSS_COMPILE is passed into build

McClintock Matthew-B29882 B29882 at freescale.com
Fri Jun 29 20:04:44 UTC 2012


On Fri, Jun 29, 2012 at 1:35 PM, Paul Gortmaker
<paul.gortmaker at windriver.com> wrote:
> 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 at 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}"

Isn't this already in u-boot.inc?

-M

> --
> 1.7.9.6
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list