e10cf4fadc
This renamed option is being checked for since pmbootstrap 1.47.0[1]. [1] https://gitlab.com/postmarketOS/pmbootstrap/-/tags/1.47.0 [ci:skip-build] [ci:skip-vercheck]
49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
pkgname=linux-postmarketos-grate
|
|
pkgver=5.19.0_rc8
|
|
pkgrel=1
|
|
arch="armv7"
|
|
pkgdesc="Linux kernel with experimental patches for Tegra"
|
|
url="https://postmarketos.org"
|
|
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev
|
|
devicepkg-dev bison flex openssl-dev xz findutils"
|
|
options="!strip !check !tracedeps pmb:cross-native
|
|
pmb:kconfigcheck-nftables pmb:kconfigcheck-zram
|
|
pmb:kconfigcheck-containers pmb:kconfigcheck-waydroid"
|
|
license="GPL-2.0-only"
|
|
|
|
# Source
|
|
_flavor=postmarketos-grate
|
|
_commit="1adff051e7931baf427b7342acab81bc9aec7959"
|
|
_carch="arm"
|
|
_config="config-$_flavor.$arch"
|
|
source="$pkgname-$pkgver-$_commit.tar.gz::https://github.com/grate-driver/linux/archive/$_commit.tar.gz
|
|
$_config"
|
|
builddir="$srcdir/linux-$_commit"
|
|
_outdir="out"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
REPLACE_GCCH=0 \
|
|
. downstreamkernel_prepare
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor"
|
|
}
|
|
|
|
package() {
|
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir"
|
|
|
|
make modules_install dtbs_install \
|
|
O="$_outdir" ARCH="$_carch" \
|
|
INSTALL_MOD_STRIP=1 \
|
|
INSTALL_MOD_PATH="$pkgdir" \
|
|
INSTALL_DTBS_PATH="$pkgdir/boot/dtbs"
|
|
}
|
|
|
|
sha512sums="
|
|
4903540d6d6cb2c700dcddfb38205bd0c9c9f8814b7dc0a54894da61d148a8bd88d7d568b9b8dfbf3dcc7a7192e26ea9d0868a99d763f1c27ef5bd47b8b897a6 linux-postmarketos-grate-5.19.0_rc8-1adff051e7931baf427b7342acab81bc9aec7959.tar.gz
|
|
107478f4e2828765764d0b30cc43b41300d6285598a60efd098bd49a9fd8a095d8e9f96df28d06dab5e77fe070f7759b9cef156794541afb33f92c855adde606 config-postmarketos-grate.armv7
|
|
"
|