linux: use correct strip program when stripping vmlinux
Otherwise may fail during cross complation with:
[...]/strip: Unable to recognise the architecture of the input file: `/[...]/vmlinux`
This commit is contained in:
@@ -510,7 +510,7 @@ lib.makeOverridable (
|
||||
|
||||
preFixup = ''
|
||||
if [ -z "''${dontStrip-}" -a -e $out/vmlinux ]; then
|
||||
strip -v -S -p $out/vmlinux
|
||||
$STRIP -v -S -p $out/vmlinux
|
||||
fi
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user