summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-05-24 18:54:35 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-05-24 18:55:18 +0200
commit2ed0b83cbce8e093d601d397804fec31ae63cb9f (patch)
tree79733574e866031b92302e0188d1d948d76d1956
parent2d8a656a054cbeba7d8007d74a0bfe6ce57c81ad (diff)
downloadabslibre-2ed0b83cbce8e093d601d397804fec31ae63cb9f.tar.gz
abslibre-2ed0b83cbce8e093d601d397804fec31ae63cb9f.tar.bz2
abslibre-2ed0b83cbce8e093d601d397804fec31ae63cb9f.zip
libre: linux-libre-64: enable 32bit compatibility for arm64
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--libre/linux-libre-64/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
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