f873d8be03
[ci:skip-build] Already built on CI in MR
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.289
|
|
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="a645b7e802afb33112a5a967e6e4795d67e907d3"
|
|
_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="
|
|
a6e280e008965d820b1d097487ea9cb07bb57f1f05f45e4f01adb897f799b90883af4bbd811efd276898d6dac46026de9187ae12d6c9e24dc9c836d4573e5c9b linux-xiaomi-vince-a645b7e802afb33112a5a967e6e4795d67e907d3.tar.gz
|
|
de8a69f8d0139d9f6190db65f4196295805b0b3e6e08f2063cf4719bf531d464cd9161aa9eff5b72a2d926ba69a4c8edb5bf0775f15548d78f6afad56f3479b3 config-xiaomi-vince.aarch64
|
|
"
|