summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp/v86d
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-07-09 16:27:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 10:24:49 +0100
commit709c603dec19690bcf21034867b815b5679b921a (patch)
tree6cbb6611809a4e6924787a888f1387cb6c9bbd4d /meta/recipes-bsp/v86d
parentda2a5e01156482c4c341c5983425d93ee8f02821 (diff)
downloadopenembedded-core-709c603dec19690bcf21034867b815b5679b921a.tar.gz
openembedded-core-709c603dec19690bcf21034867b815b5679b921a.tar.bz2
openembedded-core-709c603dec19690bcf21034867b815b5679b921a.zip
v86d: Accept aarch64 as build host
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-bsp/v86d')
-rw-r--r--meta/recipes-bsp/v86d/v86d/aarch64-host.patch18
-rw-r--r--meta/recipes-bsp/v86d/v86d_0.1.10.bb4
2 files changed, 21 insertions, 1 deletions
diff --git a/meta/recipes-bsp/v86d/v86d/aarch64-host.patch b/meta/recipes-bsp/v86d/v86d/aarch64-host.patch
new file mode 100644
index 0000000000..701fed7b5d
--- /dev/null
+++ b/meta/recipes-bsp/v86d/v86d/aarch64-host.patch
@@ -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
diff --git a/meta/recipes-bsp/v86d/v86d_0.1.10.bb b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
index f50207212f..1046d63410 100644
--- a/meta/recipes-bsp/v86d/v86d_0.1.10.bb
+++ b/meta/recipes-bsp/v86d/v86d_0.1.10.bb
@@ -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"