linux: Strip vmlinux in out output when present
Because it isn't stripped by default, and is outside of the list of paths that we strip automatically. dev output is expected to have an unstripped vmlinux, so stripping this one should be fine.
This commit is contained in:
@@ -504,6 +504,12 @@ lib.makeOverridable (
|
||||
export HOME=${installkernel}
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
if [ -z "''${dontStrip-}" -a -e $out/vmlinux ]; then
|
||||
strip -v -S -p $out/vmlinux
|
||||
fi
|
||||
'';
|
||||
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
||||
passthru = rec {
|
||||
|
||||
Reference in New Issue
Block a user