]> code.ossystems Code Review - openembedded-core.git/commitdiff
v86d: Accept aarch64 as build host
authorKhem Raj <raj.khem@gmail.com>
Sat, 9 Jul 2016 23:27:17 +0000 (16:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:49 +0000 (10:24 +0100)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/v86d/v86d/aarch64-host.patch [new file with mode: 0644]
meta/recipes-bsp/v86d/v86d_0.1.10.bb

diff --git a/meta/recipes-bsp/v86d/v86d/aarch64-host.patch b/meta/recipes-bsp/v86d/v86d/aarch64-host.patch
new file mode 100644 (file)
index 0000000..701fed7
--- /dev/null
@@ -0,0 +1,18 @@
+Accept aarch64 as valid build host
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: v86d-0.1.10/configure
+===================================================================
+--- v86d-0.1.10.orig/configure
++++ v86d-0.1.10/configure
+@@ -26,7 +26,7 @@ copt_x86emu_test()
+       local m=`uname -m`
+       if [ "$m" = "i686" -o "$m" = "i586" -o "$m" = "i486" -o "$m" = "i386" ]; then
+               echo "n";
+-      elif [ "$m" = "x86_64" ]; then
++      elif [ "$m" = "x86_64" -o "$m" = "aarch64" ]; then
+               echo "y";
+       else
+               echo "It looks like your architecture '$m' isn't supported by this version of v86d." >&2
index f50207212fb2fb9c7ed90add06a1c411ee3a95cb..1046d63410b3f80ba0fd48223f1b858f3c686ebc 100644 (file)
@@ -13,7 +13,9 @@ SRC_URI = "http://distfiles.gentoo.org/distfiles/${BP}.tar.bz2 \
            file://Update-x86emu-from-X.org.patch \
            file://fbsetup \
            file://uvesafb.conf \
-           file://ar-from-env.patch"
+           file://ar-from-env.patch \
+           file://aarch64-host.patch \
+"
 
 SRC_URI[md5sum] = "51c792ba7b874ad8c43f0d3da4cfabe0"
 SRC_URI[sha256sum] = "634964ae18ef68c8493add2ce150e3b4502badeb0d9194b4bd81241d25e6735c"