0b7ea96f35
[ci:skip-build] already built successfully in CI
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
# Maintainer: m0rf30 <morf3089@gmail.com>
|
|
# Reference: <https://postmarketos.org/vendorkernel>
|
|
# Kernel config based on: arch/arm64/configs/vince_defconfig
|
|
|
|
pkgname=linux-xiaomi-vince
|
|
pkgver=4.9.291
|
|
pkgrel=0
|
|
pkgdesc="Xiaomi Redmi Note 5 Plus kernel fork"
|
|
arch="aarch64"
|
|
_carch="arm64"
|
|
_flavor="xiaomi-vince"
|
|
url="https://kernel.org"
|
|
license="GPL-2.0-only"
|
|
options="!strip !check !tracedeps pmb:cross-native"
|
|
makedepends="bash bc bison devicepkg-dev flex openssl-dev perl"
|
|
|
|
# Source
|
|
_repository="android_kernel_xiaomi_vince"
|
|
_commit="f661d22fb32af3b57c6ea0f6bbe0c10449373ac3"
|
|
_config="config-$_flavor.$arch"
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/GhostMaster69-dev/$_repository/archive/$_commit.tar.gz
|
|
$_config
|
|
"
|
|
builddir="$srcdir/$_repository-$_commit"
|
|
_outdir="out"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
. downstreamkernel_prepare
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1))-postmarketOS"
|
|
}
|
|
|
|
package() {
|
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir"
|
|
}
|
|
|
|
sha512sums="
|
|
8d5b21a1d0fd0ec846da4c17155f23b9ec1204821be0ade27eea20915b9fdd6ec7660d4d2eb74a998b07996d736ba10f5bf0a64a87a8b0941adab2a455ba864e linux-xiaomi-vince-f661d22fb32af3b57c6ea0f6bbe0c10449373ac3.tar.gz
|
|
c0c2c8fc52c860ad7caeaf064adcb6e0b24be10cfbce2f56be9b517f06dcba3729889ea87d80b13da855c23c77263e628fbb04a155b1720cabd9a6c7c69cbffe config-xiaomi-vince.aarch64
|
|
"
|