mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-04 17:45:11 +02:00
Adopt. Bump to new LTS branch. Remove merged or obsolete DTS patches. Remove merged gamma LUT patchset. Remove hacky USB Type-C alternate mode DisplayPort patchset. Use zstd to compress modules
7 lines
251 B
Bash
Executable file
7 lines
251 B
Bash
Executable file
#!/bin/sh
|
|
mod=$1
|
|
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
|
|
zstd -15 --rm -f -q $mod
|