summaryrefslogtreecommitdiff
path: root/libre/linux-libre-64/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-64/PKGBUILD')
-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