6b935f02fa
Tux logos on boot interfere with splash screens, disable them to have a nicer splash screen. [ci:skip-build] already built successfully in CI
60 lines
1.8 KiB
Text
60 lines
1.8 KiB
Text
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
|
# Co-Maintainer: Joel Selvaraj <joelselvaraj.oss@gmail.com>
|
|
# Stable Linux kernel with patches for SDM845 devices
|
|
# Kernel config based on: arch/arm64/configs/defconfig and sdm845.config
|
|
|
|
_flavor="postmarketos-qcom-sdm845"
|
|
pkgname=linux-$_flavor
|
|
pkgver=6.2.0
|
|
pkgrel=1
|
|
pkgdesc="Mainline Kernel fork for SDM845 devices"
|
|
arch="aarch64"
|
|
_carch="arm64"
|
|
url="https://gitlab.com/sdm845-mainline/linux"
|
|
license="GPL-2.0-only"
|
|
options="!strip !check !tracedeps
|
|
pmb:cross-native
|
|
pmb:kconfigcheck-community"
|
|
makedepends="bash bison findutils flex installkernel openssl-dev perl"
|
|
|
|
_config="config-$_flavor.$arch"
|
|
_tag="sdm845-6.2.0"
|
|
|
|
# Source
|
|
source="
|
|
linux-$_tag.tar.gz::https://gitlab.com/sdm845-mainline/linux/-/archive/$_tag/linux-$_tag.tar.gz
|
|
$_config
|
|
"
|
|
builddir="$srcdir/linux-$_tag"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cp "$srcdir/config-$_flavor.$arch" .config
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor"
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 "$builddir/arch/$_carch/boot/Image.gz" \
|
|
"$pkgdir/boot/vmlinuz"
|
|
|
|
make modules_install dtbs_install \
|
|
ARCH="$_carch" \
|
|
INSTALL_PATH="$pkgdir"/boot/ \
|
|
INSTALL_MOD_PATH="$pkgdir" \
|
|
INSTALL_MOD_STRIP=1 \
|
|
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
|
|
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
|
|
|
|
install -D "$builddir"/include/config/kernel.release \
|
|
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
|
|
}
|
|
|
|
sha512sums="
|
|
ceb1d272fbdfd0b561adbba038731d392c57317d19bddd8e9654cf738bff95b976fbdddf3504fd71d0c55c3906552aabd506cbb81957113fcce561baf2181e64 linux-sdm845-6.2.0.tar.gz
|
|
49e8f5d0b891e1c7f9265802a15d69b449f2300c8163acdb4dbb9d87b865223126e2338000c749d6d063b0483d937957c2679bb7439683bee065889a6973f832 config-postmarketos-qcom-sdm845.aarch64
|
|
"
|