pmos/linux-pine64-pinenote: new aport
Some checks failed
/ lint (pull_request) Failing after 28s
/ build-x86_64 (pull_request) Successful in 39s
/ deploy-x86_64 (pull_request) Successful in 25s
/ deploy-aarch64 (pull_request) Successful in 59s
/ build-aarch64 (pull_request) Successful in 20m58s

This commit is contained in:
Antoine Martin 2025-01-08 18:42:24 -05:00
parent 84135d1a99
commit 40620e0f2d
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 6252 additions and 0 deletions

View file

@ -0,0 +1,56 @@
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm64/configs/(CHANGEME!)
pkgname=linux-pine64-pinenote
pkgver=6.12.0
pkgrel=0
pkgdesc="Pine64 PineNote kernel fork"
arch="aarch64"
_carch="arm64"
_flavor="pine64-pinenote"
url="https://kernel.org"
license="GPL-2.0-only"
options="!strip !check !tracedeps pmb:cross-native"
makedepends="
bash
bc
bison
devicepkg-dev
findutils
flex
openssl-dev
perl
"
# Source
_repository="linux"
_commit="9d066a65f5cbaa8cd3bfc73a1b54fbac2d0f76ac"
_config="config-$_flavor.$arch"
source="
$pkgname-$_commit.tar.gz::https://github.com/m-weigand/linux/archive/$_commit.tar.gz
$_config
"
builddir="$srcdir/$_repository-$_commit"
_outdir="out"
prepare() {
default_prepare
export REPLACE_GCCH=0
. 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="
d3c2510f9f835a0570fbb812cec2f9e12e402878c1f9f214364ae1918bc4c00f69a1fc5e005cf6b85c0690e6fd5f6ce9e61efd88145a83725ed12b6b8c07b97e linux-pine64-pinenote-9d066a65f5cbaa8cd3bfc73a1b54fbac2d0f76ac.tar.gz
97e8c1b137768ff7722ad3d975ad2496490c11249aaf9ffc4ee4d77b8935e24f59244cc6346bafd9b0c9fd5751f2ccfa24def2256f03b995c46f8906d8c8fe9c config-pine64-pinenote.aarch64
"

File diff suppressed because it is too large Load diff