]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-fslc: Add 'openssl-native' dependency for MX23/MX28
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 1 Oct 2013 16:24:39 +0000 (13:24 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 1 Oct 2013 17:59:53 +0000 (14:59 -0300)
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>
meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb

index 158c9ea8252b60d0a91c1ec3cd30dd4c7dbb16f0..f7784dd3a9b2ceadf348ea68f93c9fb8a6be6f7e 100644 (file)
@@ -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}"