linux/kernel/manual-config: Strip modules after install

This commit is contained in:
Shea Levy 2012-07-29 04:23:28 -04:00
parent 6b18ab5365
commit 6bb20c7ba2

View file

@ -103,4 +103,10 @@ stdenv.mkDerivation ({
mv $sourceRoot $out/lib/modules/${modDirVersion}/source
mv build $out/lib/modules/${modDirVersion}/build
'';
postFixup = ''
if [ -z "$dontStrip" ]; then
find $out -name "*.ko" -print0 | xargs -0 strip -S
fi
'';
})