linux-asahi: uniform to distro

This commit is contained in:
dkwo 2025-07-31 15:51:29 -04:00 committed by classabbyamp
parent c2312174f5
commit eefdd6c24c
2 changed files with 3 additions and 2 deletions

View file

@ -4,4 +4,5 @@ mkdir -p usr/lib/debug/${mod%/*}
$OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
/usr/bin/$STRIP --strip-debug $mod
gzip -9 $mod
$SIGN_FILE $mod
zstd -T1 --rm -f -q $mod

View file

@ -94,7 +94,7 @@ do_install() {
# Run depmod after compressing modules - makes depmod.sh a noop
sed -i '2iexit 0' scripts/depmod.sh
vmkdir usr/lib
ln -s usr/lib/ ${DESTDIR}
ln -sf usr/lib/ ${DESTDIR}
# Install kernel, firmware and modules
make ${makejobs} ARCH=${arch} INSTALL_MOD_PATH=${DESTDIR} ${_cross} modules_install