diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-06 13:54:11 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-06 13:59:28 +0200 |
commit | 39b5dcd3cc24d439e1fbd9a2e169abbc375ce9ea (patch) | |
tree | efaeba8de1937afc2049eabe7b24ce61cdd5cc1a /main/xen/APKBUILD | |
parent | b0002e37e4eaa81c88cbdf0f054d44774e9bf144 (diff) | |
download | aports-39b5dcd3cc24d439e1fbd9a2e169abbc375ce9ea.tar.bz2 aports-39b5dcd3cc24d439e1fbd9a2e169abbc375ce9ea.tar.xz |
main/xen: fix build on armhf
Diffstat (limited to 'main/xen/APKBUILD')
-rw-r--r-- | main/xen/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD index 4b02ad72cd..088aabca16 100644 --- a/main/xen/APKBUILD +++ b/main/xen/APKBUILD @@ -6,7 +6,7 @@ pkgver=4.7.0 pkgrel=2 pkgdesc="Xen hypervisor" url="http://www.xen.org/" -arch="x86_64" +arch="x86_64 armhf" license="GPL" depends="bash iproute2 logrotate" depends_dev="openssl-dev python-dev e2fsprogs-dev gettext zlib-dev ncurses-dev @@ -120,6 +120,12 @@ source="http://bits.xensource.com/oss-xen/release/$pkgver/$pkgname-$pkgver.tar.g _builddir="$srcdir"/$pkgname-$pkgver _seabios=/usr/share/seabios/bios-256k.bin + +# Override wrong arch detection from xen-$pkgver/Config.mk. +case "$CARCH" in +armhf) export XEN_TARGET_ARCH="arm32";; +esac + prepare() { local i _failed= _series= cd "$_builddir" |