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:
Andrew Childs
2026-05-30 04:20:54 +09:00
parent bbe4b6e2aa
commit db81e7567f
+1 -1
View File
@@ -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
'';