]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-fslc: Fix native contamination for libssl
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 19 Apr 2014 13:42:11 +0000 (10:42 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 19 Apr 2014 13:53:07 +0000 (10:53 -0300)
In case host does not have libssl available, mkimage will fail to run
as the linking flags where not complete.

Fixes [YOCTO: #6098]

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

index 485c252e7831108c16c8b05f47df015395d22d14..4ed19d6492124d021fd0e91bdd8c726f350970c8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012, 2013 O.S. Systems Software LTDA.
+# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 require recipes-bsp/u-boot/u-boot.inc
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git"
 #        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}" \
+                 HOSTLDFLAGS="${BUILD_LDFLAGS}" \
                  HOSTSTRIP=true'
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"