summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-rw-r--r--libre/linux-libre/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index c4b0cb121..749275802 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -12,7 +12,7 @@
pkgbase=linux-libre # Build stock kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
_srcbasever=4.18-gnu
-_srcver=4.18.9-gnu
+_srcver=4.18.11-gnu
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=() # '%' gets replaced with _kernelname
@@ -22,8 +22,8 @@ _srcname=linux-${_srcbasever%-*}
_archpkgver=${_srcver%-*}
pkgver=${_srcver//-/_}
pkgrel=1
-rcnrel=armv7-x9
-arch=(i686 x86_64 armv7h)
+rcnrel=armv7-x10
+arch=(i686 x86_64 armv7h ppc64le)
url="https://linux-libre.fsfla.org/"
license=(GPL2)
makedepends=(xmlto kmod inetutils bc libelf python-sphinx graphviz)
@@ -35,7 +35,7 @@ source=(
"https://repo.parabola.nu/other/linux-libre/logos/logo_linux_mono.pbm"{,.sig}
"https://repo.parabola.nu/other/linux-libre/logos/logo_linux_vga16.ppm"{,.sig}
# the main kernel config files
- 'config.i686' 'config.x86_64' 'config.armv7h'
+ 'config.i686' 'config.x86_64' 'config.armv7h' 'config.ppc64le'
# pacman hooks for depmod and initramfs regeneration
'60-linux.hook' '90-linux.hook'
# standard config files for mkinitcpio ramdisk
@@ -67,7 +67,7 @@ validpgpkeys=(
)
sha512sums=('0c221c6e84eb5bc270ef79454bf407079daed84534afb1d449d40fa46e42868a471d3063016a4eb3f68d42879e18ee314ab30716116805fee35b5084b23df2a9'
'SKIP'
- '72486a515539b2420daa6fb41c41f5994dbc4572bdacd80f75fb965398b6e12ed06c491ddab263adc36c5d48da52e1b5cf1145f4f808665dffc64ba16bfc90d4'
+ '8feff88760245f9649aa504140ba41832448aa0d51c1d49d5c40cb67de088d61a9f8848524e171d3688842046cd20e25cb631363746d39345458a4c020ca68e6'
'SKIP'
'13cb5bc42542e7b8bb104d5f68253f6609e463b6799800418af33eb0272cc269aaa36163c3e6f0aacbdaaa1d05e2827a4a7c4a08a029238439ed08b89c564bb3'
'SKIP'
@@ -75,9 +75,10 @@ sha512sums=('0c221c6e84eb5bc270ef79454bf407079daed84534afb1d449d40fa46e42868a471
'SKIP'
'7a3716bfe3b9f546da309c7492f3e08f8f506813afeb1c737a474c83313d5c313cf4582b65215c2cfce3b74d9d1021c96e8badafe8f6e5b01fe28d2b5c61ae78'
'SKIP'
- '022d0fa19f0550140161253dd362a9f23fc88276965f0ab9dea3c8e1ff15d2878f71c1a3efafda113ffd632bcaab90d143b301b221c8a1180be0fe11139880ff'
- 'c8da5520813bce50806fab22b433e53b614ead2e9d757a0e2847d542b0d0aac0ce80357cc63afcea3c37fc7530f385e6cd65f931c73d4331877f6012396ce032'
- '6d80dd0352e2e99b6537adeb6d077004aa4d5c8c832efd80fd2c9e36d9fa3c75e3190d22678644e856e422862d226a8fac2a65c558454602c5da98a267a437f2'
+ '251a8fc9ab85a2624dde775c38bb3321376734a6e75ca3cc41a9a97cd2ecf3e52038829073c76cd2de73229428f666a27af76cb79ffe4316011d211ba1b16dc4'
+ 'f178fe74ed2d4645d543bd83f0b184845ea42024ee5139d8416885e5a478fe26cc2b965b0c3e25bc6fa74549ce5e1d899b1a662c0b5837eec9157777c863e43c'
+ '770975d1a319fabb574c6f74b46b1f80c12032e7d18cb5c34a7ed4a94e77e72918becb53e896064e3cdbd2559972f01186cef588ea8203af80fcbcaedc424131'
+ '1fd0fb77a1c1134c36e7956f948d27c36b67e131020c4bd7d3899ad878d5397c6900368d9e0a0802ad6ba3ba27b1d6724b7d9139e0634950130fccfac267c604'
'7ad5be75ee422dda3b80edd2eb614d8a9181e2c8228cd68b3881e2fb95953bf2dea6cbe7900ce1013c9de89b2802574b7b24869fc5d7a95d3cc3112c4d27063a'
'4a8b324aee4cccf3a512ad04ce1a272d14e5b05c8de90feb82075f55ea3845948d817e1b0c6f298f5816834ddd3e5ce0a0e2619866289f3c1ab8fd2f35f04f44'
'2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf'
@@ -109,6 +110,7 @@ _replacesoldmodules=("${_replacesoldmodules[@]/\%/${_kernelname}}")
case "$CARCH" in
i686|x86_64) KARCH=x86;;
armv7h) KARCH=arm;;
+ ppc64le) KARCH=powerpc;;
esac
prepare() {
@@ -175,9 +177,11 @@ prepare() {
build() {
cd $_srcname
if [ "$CARCH" = "armv7h" ]; then
- make $MAKEFLAGS zImage modules dtbs htmldocs
+ make zImage modules dtbs htmldocs
elif [ "$CARCH" = "x86_64" ] || [ "$CARCH" = "i686" ]; then
make bzImage modules htmldocs
+ elif [ "$CARCH" = "ppc64le" ]; then
+ make zImage modules htmldocs
fi
}
@@ -199,10 +203,8 @@ _package() {
msg2 "Installing boot image..."
if [ "$CARCH" = "armv7h" ]; then
make INSTALL_DTBS_PATH="$pkgdir/boot/dtbs/$pkgbase" dtbs_install
- cp arch/$KARCH/boot/zImage "$pkgdir/boot/vmlinuz-$pkgbase"
- elif [ "$CARCH" = "x86_64" ] || [ "$CARCH" = "i686" ]; then
- install -Dm644 "$(make -s image_name)" "$pkgdir/boot/vmlinuz-$pkgbase"
fi
+ install -Dm644 "$(make -s image_name)" "$pkgdir/boot/vmlinuz-$pkgbase"
msg2 "Installing modules..."
local modulesdir="$pkgdir/usr/lib/modules/$kernver"