Merge pull request #321116 from jmbaur/kvmtool-make-flags

kvmtool: cleanup make flags
This commit is contained in:
superherointj
2024-06-19 19:49:28 -03:00
committed by GitHub
@@ -18,11 +18,10 @@ stdenv.mkDerivation {
makeFlags = [
"prefix=${placeholder "out"}"
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
"ARCH=${stdenv.hostPlatform.linuxArch}"
] ++ lib.optionals stdenv.hostPlatform.isAarch64 ([
"LIBFDT_DIR=${dtc}/lib"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"CROSS_COMPILE=aarch64-unknown-linux-gnu-"
"ARCH=arm64"
]);
meta = with lib; {