generic-poky/meta/recipes-bsp/u-boot
Max Krummenacher cc48789276 u-boot-mkimage: fix nativesdk build
If building for nativesdk the wrong rss sysroot is used leading the
following error message.

| ERROR: oe_runmake failed
| In file included from tools/imximage.c:13:0:
| include/image.h:1024:27: fatal error: openssl/evp.h: No such file or directory
|  # include  <openssl/evp.h>

Tools needed on the build host (script/basic/fixdep) and code compiled
for the SDK machine are both built with the build host's compiler,
leading to additinal errors.

Adding CROSS_COMPILE="${HOST_PREFIX}" and using the cross-compiler for
the SDK_ARCH fixes the build error.
The resulting binary in the SDK is working.

(From OE-Core rev: aab5311f3ad9fb9f9e26b18b5fe5e54d8ec14798)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-07 09:19:08 +01:00
..
files u-boot: Update patch to match upstream 2017-03-14 14:42:18 +00:00
u-boot-common_2017.01.inc u-boot: Update to 2017.01 release 2017-01-23 12:05:22 +00:00
u-boot-fw-utils_2017.01.bb u-boot-fw-utils: reuse the same override HOSTCC patch as u-boot-mkimage 2017-03-17 16:53:06 +00:00
u-boot-mkimage_2017.01.bb u-boot-mkimage: fix nativesdk build 2017-07-07 09:19:08 +01:00
u-boot.inc u-boot: fix extlinux creation race 2017-03-13 09:43:14 +00:00
u-boot_2017.01.bb u-boot: Add bc-native to DEPENDS to fix u-boot/spl build. 2017-04-05 23:22:13 +01:00