Compare commits

...
Author SHA1 Message Date
fossdd d3616edb52 linux-next: add llvm dir to PATH
Fixes the build of linux-next
(https://gitlab.postmarketos.org/postmarketOS/pmaports/-/jobs/1391153):

	  BINDGEN rust/uapi/uapi_generated.rs
	/bin/sh: llvm-nm: not found
	  EXPORTS rust/exports_helpers_generated.h
	/bin/sh: llvm-nm: not found
	/bin/sh: llvm-objcopy: not found
2025-07-14 12:12:41 +02:00
+2 -1
View File
@@ -3,7 +3,7 @@
pkgname=linux-next
pkgver=6.16_git20250704
pkgrel=0
pkgrel=1
_nextver="${pkgver#*_git}"
pkgdesc="Linux next kernel"
arch="armv7 aarch64"
@@ -64,6 +64,7 @@ prepare() {
}
build() {
export PATH="$PATH:/usr/lib/llvm20/bin" # TODO: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/87006
unset LDFLAGS
make LLVM=1 O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"