aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-10-01 13:24:39 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2013-10-01 14:59:53 -0300
commit60b2189d29851b9bc066e129b2945163214bc742 (patch)
tree2009cc233e55be685d0b74def57aa20b75e5d3bf /recipes-bsp/u-boot
parentbaf77d06923838a6f717dd9719990ded4423c3aa (diff)
downloadmeta-fsl-arm-60b2189d29851b9bc066e129b2945163214bc742.tar.gz
meta-fsl-arm-60b2189d29851b9bc066e129b2945163214bc742.tar.bz2
meta-fsl-arm-60b2189d29851b9bc066e129b2945163214bc742.zip
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 <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc_2013.10.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb b/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb
index 158c9ea..f7784dd 100644
--- a/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb
+++ b/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}"