From 2ed0b83cbce8e093d601d397804fec31ae63cb9f Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 24 May 2020 18:54:35 +0200 Subject: libre: linux-libre-64: enable 32bit compatibility for arm64 Signed-off-by: Denis 'GNUtoo' Carikli --- libre/linux-libre-64/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libre/linux-libre-64/PKGBUILD') diff --git a/libre/linux-libre-64/PKGBUILD b/libre/linux-libre-64/PKGBUILD index 5cf90d955..15a179ef1 100644 --- a/libre/linux-libre-64/PKGBUILD +++ b/libre/linux-libre-64/PKGBUILD @@ -9,7 +9,7 @@ _replacesoldmodules=() # '%' gets replaced with kernel suffix pkgbase=linux-libre-64 pkgver=5.6.12 -pkgrel=2 +pkgrel=3 pkgdesc='64bit Linux-libre for Parabola $CARCH' rcnver=5.6.10 rcnrel=armv7-x12 @@ -155,10 +155,13 @@ prepare() { done echo "Setting config..." -case "$CARCH" in + case "$CARCH" in i686) cp ../config.x86_64 .config;; - armv7h) cp ../config.aarch64 .config;; -esac + # config.aarch64 comes straight from Arch Linux ARM and doesn't have the + # compatibility for 32bit rootfs enabled. This makes maintenance faster than + # having to modify the configuration file by hand at each new kernel release. + armv7h) cp ../config.aarch64 .config;echo 'CONFIG_COMPAT=y' >> .config;; + esac make ARCH=$KARCH CROSS_COMPILE=$CROSS_COMPILE olddefconfig make ARCH=$KARCH CROSS_COMPILE=$CROSS_COMPILE -s kernelrelease > version -- cgit v1.2.3