From 822ccc31a7515aac3db6587c4ecba27f688dcc22 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Tue, 7 Apr 2026 11:41:22 +0200 Subject: [PATCH] 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: --- device/community/linux-postmarketos-allwinner/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device/community/linux-postmarketos-allwinner/APKBUILD b/device/community/linux-postmarketos-allwinner/APKBUILD index d3e74c3a9..9734abe6b 100644 --- a/device/community/linux-postmarketos-allwinner/APKBUILD +++ b/device/community/linux-postmarketos-allwinner/APKBUILD @@ -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 }