Commit 12428702 authored by Zhaofeng Li's avatar Zhaofeng Li Committed by Alyssa Ross
Browse files

qemu: Support disabling tools

Not needed for a minimal qemu-user-static build.
parent a94afe42
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
, capstoneSupport ? !toolsOnly, capstone
, pluginsSupport ? !stdenv.hostPlatform.isStatic
, enableDocs ? true
, enableTools ? true
, hostCpuOnly ? false
, hostCpuTargets ? (if toolsOnly
                    then [ ]
@@ -160,7 +161,7 @@ stdenv.mkDerivation (finalAttrs: {
  configureFlags = [
    "--disable-strip" # We'll strip ourselves after separating debug info.
    (lib.enableFeature enableDocs "docs")
    "--enable-tools"
    (lib.enableFeature enableTools "tools")
    "--localstatedir=/var"
    "--sysconfdir=/etc"
    "--cross-prefix=${stdenv.cc.targetPrefix}"