summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
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
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 \
13 file://Update-x86emu-from-X.org.patch \ 13 file://Update-x86emu-from-X.org.patch \
14 file://fbsetup \ 14 file://fbsetup \
15 file://uvesafb.conf \ 15 file://uvesafb.conf \
16 file://ar-from-env.patch" 16 file://ar-from-env.patch \
17 file://aarch64-host.patch \
18"
17 19
18SRC_URI[md5sum] = "51c792ba7b874ad8c43f0d3da4cfabe0" 20SRC_URI[md5sum] = "51c792ba7b874ad8c43f0d3da4cfabe0"
19SRC_URI[sha256sum] = "634964ae18ef68c8493add2ce150e3b4502badeb0d9194b4bd81241d25e6735c" 21SRC_URI[sha256sum] = "634964ae18ef68c8493add2ce150e3b4502badeb0d9194b4bd81241d25e6735c"