7806d4f2b6
kconfig changes: - Most are due to running 'pmb kconfig migrate' - Enable USB_F_FS - Build ath11k as a module + enable debug, to help with debugging pma#2361 - Enable support for BT BR/EDR stuff (like HFP) - Enable CRYPTO_MD4 for EAP_MSCHAPv2
71 lines
2 KiB
Text
71 lines
2 KiB
Text
# Maintainer: Konrad Dybcio <konradybcio@kernel.org>
|
|
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=linux-lenovo-21bx
|
|
pkgver=6.7
|
|
pkgrel=0
|
|
pkgdesc="Lenovo ThinkPad X13s kernel fork"
|
|
arch="aarch64"
|
|
_carch="arm64"
|
|
_flavor="lenovo-21bx"
|
|
url="https://kernel.org"
|
|
license="GPL-2.0-only"
|
|
options="!strip
|
|
!check
|
|
!tracedeps
|
|
pmb:cross-native
|
|
pmb:kconfigcheck-community
|
|
pmb:kconfigcheck-uefi
|
|
"
|
|
makedepends="
|
|
bash
|
|
bison
|
|
findutils
|
|
flex
|
|
openssl-dev
|
|
perl
|
|
"
|
|
|
|
# Source
|
|
_repository="linux"
|
|
_config="config-$_flavor.$arch"
|
|
_pkgver="${pkgver/_/-}"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://github.com/jhovold/$_repository/archive/refs/heads/wip/sc8280xp-v$_pkgver.tar.gz
|
|
$_config
|
|
0001-drm-panel-edp-Add-timings-for-BOE-NV133WUM-N63.patch
|
|
"
|
|
builddir="$srcdir/$_repository-wip-sc8280xp-v$_pkgver"
|
|
_outdir="out"
|
|
|
|
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/vmlinuz.efi" \
|
|
"$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="
|
|
72f3d36b064e49d2551d0348762bbfe9e7f587157c233c5fdfe78183f90a9836ee757d7091e12ffbfba6d5733a71066945c6cf70f2e7c70e2ae60f23830a5caf linux-lenovo-21bx-6.7.tar.gz
|
|
02c804db63f2ff5a78155f93930174c81ac040a03f9919961c1d8f2b5b06d92b10cad35a40c5bdddf4dfd1a7e22fd813562042cf94075498e4040b31b430f3b3 config-lenovo-21bx.aarch64
|
|
fac2fc6cd033c30d1abea6ac77c173945f77e7c3db9e547b6e2a68969e731d4d69f6093fbc3a0b7068dddffe224692edb7175a953bc28f9449b8018c91835d31 0001-drm-panel-edp-Add-timings-for-BOE-NV133WUM-N63.patch
|
|
"
|