![Minecrell](/assets/img/avatar_default.png)
At the moment we have Contributor: lines on some packages (but not all of them), but often they don't represent the actual contributors to the package very well. E.g. when we added them retroactively to the device packages we only added the initial contributor (which isn't necessarily the person who made most of the work for a device...) The Git history is the most representative source for figuring out who contributed to a package, so there is no reason to duplicate that into the APKBUILD. [skip ci]: way too many packages
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
# Maintainer: Venji10 <bennisteinir@gmail.com>
|
|
|
|
# Reference: <https://postmarketos.org/vendorkernel>
|
|
# Kernel config based on: arch/arm64/configs/beryllium_defconfig
|
|
|
|
pkgname=linux-xiaomi-beryllium
|
|
pkgver=4.9.182
|
|
pkgrel=0
|
|
pkgdesc="Xiaomi Poco F1 kernel fork"
|
|
arch="aarch64"
|
|
_carch="arm64"
|
|
_flavor="xiaomi-beryllium"
|
|
url="https://kernel.org"
|
|
license="GPL-2.0-only"
|
|
options="!strip !check !tracedeps"
|
|
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev"
|
|
|
|
|
|
# Source
|
|
_repository="android_kernel_xiaomi_sdm845"
|
|
_commit="0c1feb8b3a7cc62aed52346331f64190e644cca9"
|
|
_config="config-$_flavor.$arch"
|
|
source="
|
|
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz
|
|
$_config
|
|
"
|
|
builddir="$srcdir/$_repository-$_commit"
|
|
_outdir="out"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
. downstreamkernel_prepare
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" \
|
|
O="$_outdir"
|
|
}
|
|
|
|
package() {
|
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir"
|
|
}
|
|
|
|
sha512sums="60f63841673f31e1faf9f26113e93ca5ccf83925618bc35d1f6e11744f2f0f295bf32cfb6f9ece1d104868ed12af5ac76dea2ee39b4fb26b0569c8779ce0d74d linux-xiaomi-beryllium-0c1feb8b3a7cc62aed52346331f64190e644cca9.tar.gz
|
|
fd387f1d36d5bd65b082430af9a675f23720385b9852f02ab59d59ae6efb55e7a4da7cec1a362a8e485814058d91bb34ce59a81fd0def5a9bd66dad3540a10de config-xiaomi-beryllium.aarch64"
|