main/linux-postmarketos-qcom-sm8150: new aports (MR 2151)
[ci:skip-build] already built successfully in CI
This commit is contained in:
parent
23f20f688f
commit
a7b00934ac
3 changed files with 7675 additions and 1 deletions
|
@ -11,7 +11,7 @@ license="MIT"
|
|||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-oneplus-guacamole
|
||||
linux-postmarketos-qcom-sm8150
|
||||
mesa-dri-gallium
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
|
|
57
main/linux-postmarketos-qcom-sm8150/APKBUILD
Normal file
57
main/linux-postmarketos-qcom-sm8150/APKBUILD
Normal file
|
@ -0,0 +1,57 @@
|
|||
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
||||
# Co-Maintainer: Uclydde <julianbraha@gmail.com>
|
||||
# Stable Linux kernel with patches for SM8150 devices
|
||||
# Kernel config based on: arch/arm64/configs/defconfig and sm8150.config
|
||||
|
||||
_flavor="postmarketos-qcom-sm8150"
|
||||
pkgname=linux-$_flavor
|
||||
pkgver=5.12
|
||||
pkgrel=0
|
||||
pkgdesc="Mainline Kernel fork for SM8150 devices"
|
||||
arch="aarch64"
|
||||
_carch="arm64"
|
||||
url="https://gitlab.com/sm8150-mainline/linux"
|
||||
license="GPL-2.0-only"
|
||||
options="!strip !check !tracedeps pmb:cross-native"
|
||||
makedepends="bison findutils flex installkernel openssl-dev perl"
|
||||
|
||||
_repo="linux"
|
||||
_config="config-$_flavor.$arch"
|
||||
_commit="76851ee4194b4d85df168064cf380a4437b28b51"
|
||||
|
||||
# Source
|
||||
source="
|
||||
$_repo-$_commit.tar.gz::https://gitlab.com/sm8150-mainline/$_repo/-/archive/$_commit/$_repo-$_commit.tar.gz
|
||||
$_config
|
||||
"
|
||||
builddir="$srcdir/$_repo-$_commit"
|
||||
|
||||
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"/usr/share/dtb
|
||||
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="
|
||||
1fc3ad729a1cb480bc457f10e2b249d17f0fdb72a6c77cc557024d20e28e7db410350e800090b81a8708d952a2b8faddeff9df71e62ee440f62f9fd77a0d195e linux-76851ee4194b4d85df168064cf380a4437b28b51.tar.gz
|
||||
f79dc397528a0d095ed5bac9a21d3d17dca4d3c71f72f65fb2cb4bef22ebdd2517e8a41cd80793ed9cc201e5706bfe13a5030ddd2d9eecfce577a2800ff2736d config-postmarketos-qcom-sm8150.aarch64
|
||||
"
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue