core/mkinitcpio-busybox: v8 updates

This commit is contained in:
Kevin Mihelich 2015-07-09 04:51:31 +00:00
parent 32ac87fc1d
commit 1ecf9223ff

View file

@ -3,7 +3,7 @@
# Maintainer: Thomas Bächler <thomas@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removed -mtune, changed -march to v7/v6/v5 compat
# - removed -mtune, changed -march to v8/v7/v6/v5 compat
pkgname=mkinitcpio-busybox
pkgver=1.21.1
@ -24,7 +24,9 @@ sha256sums=('cd5be0912ec856110ae12c76c3ec9cd5cba1df45b5a9da2b095b8284d1481303'
prepare() {
cd "busybox-$pkgver"
if [ ${CARCH} = "armv7h" ]; then
if [ ${CARCH} = "aarch64" ]; then
ARMCARCH="armv8-a"
elif [ ${CARCH} = "armv7h" ]; then
ARMCARCH="armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16"
elif [ ${CARCH} = "armv6h" ]; then
ARMCARCH="armv6 -mfloat-abi=hard -mfpu=vfp"