[ELDK] [PATCH v1 1/1] META-ELDK: u-boot-mkimage: Unbreak build (missing SSL headers)
Gerhard Sittig
gsi at denx.de
Mon Apr 14 19:43:57 CEST 2014
in the absence of OpenSSL headers in the host, builds for the
u-boot-mkimage-native package fail with the following error
mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory
the error goes unnoticed when the host has libssl-dev installed, which
could be considered another issue because one could argue the host's
OpenSSL configuration should not influence the Yocto build
this change unbreaks compilation of the u-boot-mkimage-native package
Signed-off-by: Gerhard Sittig <gsi at denx.de>
---
meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb b/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb
index 85f6673e3c83..549a0ce2e942 100644
--- a/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb
+++ b/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git"
BBCLASSEXTEND = "native nativesdk"
-EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" HOSTCC="${CC}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" HOSTCC="${CC} ${CFLAGS}" HOSTLD="${LD}" HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
# Make sure the MXS-specific tools will build. This encomprises both
# tools/mxsboot as well as tools/mkimage with MXS image support.
--
1.7.10.4
More information about the eldk
mailing list