]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-fslc-mxsboot: Use sysroot contents for native builds
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 25 Sep 2013 18:26:23 +0000 (15:26 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 25 Sep 2013 18:28:33 +0000 (15:28 -0300)
This fixes the build to not link and user host OpenSSL contents.

Change-Id: I5d088d791a83c4b24ee6ea85037c82103c12fb3f
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2013.10.bb

index 7b5df2d29c351e568affb9776ac2076cddf4c029..b8b0151c4c68cd9fdf86937b5eead5460571a3c3 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI = "git://github.com/Freescale/u-boot-imx.git"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTLD="${LD}" HOSTSTRIP=true CONFIG_MX28=y'
+EXTRA_OEMAKE = 'HOSTCC="${CC} ${CPPFLAGS}" HOSTLDFLAGS="-L${libdir} -L${base_libdir}" HOSTSTRIP=true CONFIG_MX28=y'
 
 do_compile () {
     oe_runmake tools