linux-postmarketos-asahi: Use llvm-strip for modules_install

I had originally overlooked that this was necessary. If
INSTALL_MOD_STRIP=1 is set when invoking modules_install, we need to set
LLVM=1 to ensure that llvm-strip is used instead of GNU binutils strip.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7363>
This commit is contained in:
Jens Reidel 2025-11-14 03:00:44 +01:00 committed by The Friendly Merge Bot
parent e3f69f08c9
commit 606b7a130c
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=linux-postmarketos-asahi
pkgver=6.17.7_p2
pkgrel=0
pkgrel=1
_rel=${pkgver#*_p}
_kver=${pkgver%_p*}
_kver=${_kver//_/-}
@ -77,6 +77,7 @@ package() {
make modules_install dtbs_install \
ARCH="$_carch" \
LLVM=1 \
INSTALL_PATH="$pkgdir"/boot/ \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_STRIP=1 \