linux-oneplus-instantnoodlep: use mkdtboimg from android-tools (MR 4145)

... and work around https://gitlab.com/postmarketOS/pmaports/-/issues/1990
This commit is contained in:
Newbyte 2023-06-02 20:58:23 +02:00 committed by Alexey Minnekhanov
parent 56c96a30e9
commit 8bbc90f097
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

@ -3,7 +3,7 @@
pkgname=linux-oneplus-instantnoodlep pkgname=linux-oneplus-instantnoodlep
pkgver=4.19.272 pkgver=4.19.272
pkgrel=0 pkgrel=1
pkgdesc="OnePlus 8 Pro kernel fork" pkgdesc="OnePlus 8 Pro kernel fork"
arch="aarch64" arch="aarch64"
_carch="arm64" _carch="arm64"
@ -12,7 +12,6 @@ url="https://kernel.org"
license="GPL-2.0-only" license="GPL-2.0-only"
options="!strip !check !tracedeps pmb:cross-native" options="!strip !check !tracedeps pmb:cross-native"
makedepends=" makedepends="
android-mkdtboimg
bash bash
bc bc
bison bison
@ -53,7 +52,8 @@ prepare() {
build() { build() {
unset LDFLAGS unset LDFLAGS
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \ make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" \
V=1
} }
package() { package() {