4af7b0976a
Main differences from 5.8: - Add CROSS_COMPILE arg to more make invocations. - Copy NFS config from arm64 dotconfig to other archs. - Enable inline crypto. [ci skip]
7 lines
239 B
Bash
Executable file
7 lines
239 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
|
|
gzip -9 $mod
|