From 5e65c1415c14814f92ebe91f9a430a22cc6d76ef Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 1 Oct 2013 13:24:39 -0300 Subject: [PATCH] u-boot-fslc: Add 'openssl-native' dependency for MX23/MX28 This allow U-Boot to build the need native tools during the build process. Later this ought to be reworked to proper split this into a cross recipe but it is too late in the Yocto 1.5 release for it. Change-Id: I069313b991778ea1502995beb36224fe1ae8c996 Signed-off-by: Otavio Salvador --- meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb index 158c9ea8..f7784dd3 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb @@ -4,7 +4,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=6bc50ecab884fce80cd3ef3da8852b08" COMPATIBLE_MACHINE = "(mxs|mx3|mx5|mx6|vf60)" -DEPENDS_mxs += "elftosb-native" +DEPENDS_mxs += "elftosb-native openssl-native" PROVIDES += "u-boot" @@ -15,4 +15,11 @@ SRC_URI = "git://github.com/Freescale/u-boot-imx.git" S = "${WORKDIR}/git" +# FIXME: Allow linking of 'tools' binaries with native libraries +# used for generating the boot logo and other tools used +# during the build process. +EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ + HOSTLDFLAGS="-L${STAGING_BASE_LIBDIR_NATIVE} -L${STAGING_LIBDIR_NATIVE}" \ + HOSTSTRIP=true' + PACKAGE_ARCH = "${MACHINE_ARCH}" -- 2.40.1