linux-postmarketos-mediatek-mt8173: 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/7356>
This commit is contained in:
parent
04303b8978
commit
65f5257ce6
1 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=linux-postmarketos-mediatek-mt8173
|
||||
pkgver=6.17.4
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Mainline kernel fork for Mediatek MT8173 devices"
|
||||
arch="aarch64"
|
||||
_carch="arm64"
|
||||
|
|
@ -54,6 +54,7 @@ package() {
|
|||
mkdir -p "$pkgdir"/boot
|
||||
make zinstall modules_install dtbs_install \
|
||||
ARCH="$_carch" \
|
||||
LLVM=1 \
|
||||
INSTALL_PATH="$pkgdir"/boot \
|
||||
INSTALL_MOD_PATH="$pkgdir" \
|
||||
INSTALL_MOD_STRIP=1 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue