diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2017-05-17 22:11:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-25 23:59:31 +0100 |
commit | a6fdea998e480296cafb77912bc47d25328c51f2 (patch) | |
tree | fc04f5de570fca915249d093af2d85da74f5c3c2 /meta/recipes-sato/pcmanfm | |
parent | 95bdb9a1bc1cf56d5c631aec8a0f70fa0aced976 (diff) | |
download | poky-a6fdea998e480296cafb77912bc47d25328c51f2.tar.gz |
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: 5d3df78367be0afbfe001b4fa776a98a82e6ce54)
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>
Diffstat (limited to 'meta/recipes-sato/pcmanfm')
0 files changed, 0 insertions, 0 deletions