[OE-core] [pyro][PATCH] u-boot-mkimage: fix nativesdk build
Otavio Salvador
otavio.salvador at ossystems.com.br
Tue Jul 4 22:08:00 UTC 2017
On Tue, Jul 4, 2017 at 12:32 PM, Steffen Sledz <sledz at dresearch-fe.de> wrote:
> From: Max Krummenacher <max.oss.09 at gmail.com>
>
> 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.
>
> Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
Ross, please apply it as it has been causing problems for many users.
It is applied in master
OE-Core:5d3df78367be0afbfe001b4fa776a98a82e6ce54
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-core
mailing list