I’ve been building a vendor kernel image using the buildLinux
function and pkgsCross.aarch64-multiplatform.callPackage
. This by default generates an “Image” target type which seems to come from pkgsCross.aarch64-multiplatform.stdenv.hostPlatform.linux-kerne.targetl
.
What’s the best way to change this setting to zImage
to build a compressed image? Just setting target = "zImage";
in the buildLinux
args doesn’t work. Do I have to somehow override stdenv
to just change this one setting? There seems like there should be a more straightforward way, but after lots of searching I’ve come up empty…