linux-postmarketos-allwinner: pass LLVM=1 to downstreamkernel_prepare

Since a 'recent' pmbootstrap change, the cross compilers are no longer
installed by default which uncovered that "make oldconfig" is called
without LLVM=1.

scripts/Kconfig.include:41: linker 'armv7-alpine-linux-musleabihf-ld' not found
make[2]: *** [scripts/kconfig/Makefile:85: oldconfig] Error 1

Pass it so that all steps in the build process are run with the LLVM
toolchain and we're not mixing toolchains in the build process.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8295>
This commit is contained in:
Luca Weiss 2026-04-07 11:41:22 +02:00 committed by The Friendly Meow (merge) Bot
parent cbed5ce151
commit 822ccc31a7
No known key found for this signature in database

View file

@ -4,7 +4,7 @@ _flavor=postmarketos-allwinner
_config="config-$_flavor.$CARCH"
pkgname=linux-$_flavor
pkgver=6.18.3_git20260105
pkgrel=0
pkgrel=1
_tag="orange-pi-6.18-20260105-0049"
pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)"
arch="aarch64 armv7"
@ -59,7 +59,7 @@ esac
prepare() {
default_prepare
REPLACE_GCCH=0 \
REPLACE_GCCH=0 LLVM=1 \
. downstreamkernel_prepare
}