mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 01:27:02 +02:00
linux5.4: update to 5.4.35; add mips*
This commit is contained in:
parent
239452d556
commit
c6697b5df9
1 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'linux5.4'
|
||||
pkgname=linux5.4
|
||||
version=5.4.34
|
||||
version=5.4.35
|
||||
revision=1
|
||||
wrksrc="linux-${version}"
|
||||
short_desc="Linux kernel and modules (${version%.*} series)"
|
||||
|
@ -8,7 +8,7 @@ maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|||
license="GPL-2.0-only"
|
||||
homepage="https://www.kernel.org"
|
||||
distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz"
|
||||
checksum=903ec1334daba6a626688f799cc947b420cf6fc8ce83055313dc4e9978d64cd2
|
||||
checksum=e16bd5f7284a80a41328bf712e1136b0adf5b71cc0bd263efa7cac75539806d4
|
||||
python_version=2 #unverified
|
||||
patch_args="-Np1"
|
||||
|
||||
|
@ -18,7 +18,7 @@ noverifyrdeps=yes
|
|||
noshlibprovides=yes
|
||||
preserve=yes
|
||||
|
||||
archs="i686* x86_64* armv5tel* armv6l* armv7l* aarch64* ppc*"
|
||||
archs="i686* x86_64* armv5tel* armv6l* armv7l* aarch64* ppc* mips*"
|
||||
hostmakedepends="tar xz bc elfutils-devel flex gmp-devel kmod libmpc-devel
|
||||
libressl-devel perl uboot-mkimage cpio"
|
||||
|
||||
|
@ -55,6 +55,7 @@ do_configure() {
|
|||
ppc64le*) arch=powerpc; subarch=ppc64le;;
|
||||
ppc64*) arch=powerpc; subarch=ppc64;;
|
||||
ppc*) arch=powerpc;;
|
||||
mips*) arch=mips;;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
@ -90,6 +91,7 @@ do_build() {
|
|||
arm*) _args="zImage modules dtbs"; arch=arm;;
|
||||
aarch64*) _args="Image modules dtbs"; arch=arm64;;
|
||||
ppc*) _args="zImage modules"; arch=powerpc;;
|
||||
mips*) _args="uImage modules dtbs"; arch=mips;;
|
||||
esac
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
_cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||
|
@ -111,6 +113,7 @@ do_install() {
|
|||
arm*) arch=arm;;
|
||||
aarch64*) arch=arm64;;
|
||||
ppc*) arch=powerpc;;
|
||||
mips*) arch=mips;;
|
||||
esac
|
||||
|
||||
# Run depmod after compressing modules.
|
||||
|
@ -142,6 +145,10 @@ do_install() {
|
|||
vinstall vmlinux 644 boot vmlinux-${_kernver}
|
||||
/usr/bin/$STRIP ${DESTDIR}/boot/vmlinux-${_kernver}
|
||||
;;
|
||||
mips)
|
||||
vinstall arch/mips/boot/uImage.bin 644 boot uImage-${_kernver}
|
||||
make ${makejobs} ARCH=${subarch:-$arch} INSTALL_DTBS_PATH=${DESTDIR}/boot/dtbs/dtbs-${_kernver} dtbs_install
|
||||
;;
|
||||
esac
|
||||
|
||||
# Switch to /usr.
|
||||
|
|
Loading…
Add table
Reference in a new issue