Unverified Commit 98053e7c authored by superherointj's avatar superherointj Committed by GitHub
Browse files

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

kvmtool: cleanup make flags
parents 81393812 0b581b16
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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; {