summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/v86d/v86d/aarch64-host.patch
diff options
context:
space:
mode:
authorSerhey Popovych <serhe.popovych@gmail.com>2018-10-31 16:55:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-07 23:08:55 +0000
commita7bf511703d67af956e8d8152a53ec1a58b31ee1 (patch)
tree409e9169db87320564482716f0c64c1f538470f2 /meta/recipes-bsp/v86d/v86d/aarch64-host.patch
parent8929ffd67c6de431c2561f63c5427df6c354d30f (diff)
downloadpoky-a7bf511703d67af956e8d8152a53ec1a58b31ee1.tar.gz
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. (From OE-Core rev: 69f7579eb36c00b557225377e1a3cc61b103be23) Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/v86d/v86d/aarch64-host.patch')
-rw-r--r--meta/recipes-bsp/v86d/v86d/aarch64-host.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/recipes-bsp/v86d/v86d/aarch64-host.patch b/meta/recipes-bsp/v86d/v86d/aarch64-host.patch
deleted file mode 100644
index 701fed7b5d..0000000000
--- a/meta/recipes-bsp/v86d/v86d/aarch64-host.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Accept aarch64 as valid build host
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Index: v86d-0.1.10/configure
7===================================================================
8--- v86d-0.1.10.orig/configure
9+++ v86d-0.1.10/configure
10@@ -26,7 +26,7 @@ copt_x86emu_test()
11 local m=`uname -m`
12 if [ "$m" = "i686" -o "$m" = "i586" -o "$m" = "i486" -o "$m" = "i386" ]; then
13 echo "n";
14- elif [ "$m" = "x86_64" ]; then
15+ elif [ "$m" = "x86_64" -o "$m" = "aarch64" ]; then
16 echo "y";
17 else
18 echo "It looks like your architecture '$m' isn't supported by this version of v86d." >&2