mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 11:33:12 +02:00
linux-asahi: uniform to distro
This commit is contained in:
parent
c2312174f5
commit
eefdd6c24c
2 changed files with 3 additions and 2 deletions
|
@ -4,4 +4,5 @@ mkdir -p usr/lib/debug/${mod%/*}
|
||||||
$OBJCOPY --only-keep-debug --compress-debug-sections $mod 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
|
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
|
||||||
/usr/bin/$STRIP --strip-debug $mod
|
/usr/bin/$STRIP --strip-debug $mod
|
||||||
gzip -9 $mod
|
$SIGN_FILE $mod
|
||||||
|
zstd -T1 --rm -f -q $mod
|
||||||
|
|
|
@ -94,7 +94,7 @@ do_install() {
|
||||||
# Run depmod after compressing modules - makes depmod.sh a noop
|
# Run depmod after compressing modules - makes depmod.sh a noop
|
||||||
sed -i '2iexit 0' scripts/depmod.sh
|
sed -i '2iexit 0' scripts/depmod.sh
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib
|
||||||
ln -s usr/lib/ ${DESTDIR}
|
ln -sf usr/lib/ ${DESTDIR}
|
||||||
|
|
||||||
# Install kernel, firmware and modules
|
# Install kernel, firmware and modules
|
||||||
make ${makejobs} ARCH=${arch} INSTALL_MOD_PATH=${DESTDIR} ${_cross} modules_install
|
make ${makejobs} ARCH=${arch} INSTALL_MOD_PATH=${DESTDIR} ${_cross} modules_install
|
||||||
|
|
Loading…
Add table
Reference in a new issue