]> code.ossystems Code Review - openembedded-core.git/commit
v86d: Make cross compilation working on more architectures
authorSerhey Popovych <serhe.popovych@gmail.com>
Wed, 31 Oct 2018 14:55:47 +0000 (16:55 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Nov 2018 12:14:05 +0000 (12:14 +0000)
commit69f7579eb36c00b557225377e1a3cc61b103be23
tree1fc8bed1b95485f5b6550b9ce69f5cd042c98968
parentb06a6cde5c5503f456f260c773cf126085e18c8d
v86d: Make cross compilation working on more architectures

Since commit 709c603dec19 ("v86d: Accept aarch64 as build host") we
support cross compilation on aarch64 host in addition to x86 host.
However building on hosts different than two above will fail.

Make cross compilation support more generic by checking for TARGET_ARCH
in v86d configure script with fallback to `uname -m` when not present in
environment and pass TARGET_ARCH explicitly in do_configure().

Cross build for x86 tested on IBM Power 8 machine with RHEL7. Should
work on aarch64 and rest too.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/v86d/v86d/Support-for-cross-compilation.patch [new file with mode: 0644]
meta/recipes-bsp/v86d/v86d/aarch64-host.patch [deleted file]
meta/recipes-bsp/v86d/v86d_0.1.10.bb