cec324a838
- kconfig changes from `pmb kconfig migrate` - also enabled some USB serial drivers I wanted - Reverts 7dcd3e014aa7, fixing bluetooth connections. This commit was added after 6.8-rc6 and causes a regression. A revert was sent upstream: https://lore.kernel.org/all/ZfMStHjwtCT1SW3z@hovoldconsulting.com/ [ci:skip-build] already built successfully in CI
72 lines
2.2 KiB
Text
72 lines
2.2 KiB
Text
# Maintainer: Konrad Dybcio <konradybcio@kernel.org>
|
|
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=linux-lenovo-21bx
|
|
pkgver=6.8
|
|
pkgrel=0
|
|
_commit="935f2e13e13d2dcfb923d3b0881c905861a7a9ce"
|
|
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
|
|
postmarketos-installkernel
|
|
"
|
|
|
|
# Source
|
|
_repository="linux"
|
|
_config="config-$_flavor.$arch"
|
|
source="
|
|
$pkgname-$_commit.tar.gz::https://github.com/jhovold/$_repository/archive/$_commit.tar.gz
|
|
$_config
|
|
0001-drm-panel-edp-Add-timings-for-BOE-NV133WUM-N63.patch
|
|
0001-Revert-Bluetooth-hci_qca-Set-BDA-quirk-bit-if-fwnode.patch
|
|
"
|
|
builddir="$srcdir/linux-$_commit"
|
|
_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() {
|
|
mkdir -p "$pkgdir"/boot
|
|
make zinstall 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="
|
|
1df1bb75597376aacf7edc80e47f7c06c6aa5b4cc1da1fc1ca62ecc1be6a3c59a17a5034a8391e5c9e60443cd353be6e8ca7487df141263404e15877bcba3c60 linux-lenovo-21bx-935f2e13e13d2dcfb923d3b0881c905861a7a9ce.tar.gz
|
|
908fb5923c3d191dd3137d69e249c649b070cf25375134f921d8bf46c335e8b43942785ba59b9083e45103a957ba5897906e35f936ee6980cc21dbfb42bc3c9d config-lenovo-21bx.aarch64
|
|
fac2fc6cd033c30d1abea6ac77c173945f77e7c3db9e547b6e2a68969e731d4d69f6093fbc3a0b7068dddffe224692edb7175a953bc28f9449b8018c91835d31 0001-drm-panel-edp-Add-timings-for-BOE-NV133WUM-N63.patch
|
|
24d29ebf94650ba70af133f67d0f9e3c64265d051e14797d4c712f96c213cabf3c8035a788b9c2ae1f9351ed61910ff302908ff51dfbb4b26fa944b861aa7838 0001-Revert-Bluetooth-hci_qca-Set-BDA-quirk-bit-if-fwnode.patch
|
|
"
|