qemu: add capstone support
Currently using the -d in_asm flag in QEMU does not report any dissassembly. This fixes it.
This commit is contained in:
parent
a2be94c6a6
commit
27e3c0da44
|
@ -27,6 +27,7 @@
|
||||||
, tpmSupport ? true
|
, tpmSupport ? true
|
||||||
, uringSupport ? stdenv.isLinux, liburing
|
, uringSupport ? stdenv.isLinux, liburing
|
||||||
, canokeySupport ? false, canokey-qemu
|
, canokeySupport ? false, canokey-qemu
|
||||||
|
, capstoneSupport ? true, capstone
|
||||||
, enableDocs ? true
|
, enableDocs ? true
|
||||||
, hostCpuOnly ? false
|
, hostCpuOnly ? false
|
||||||
, hostCpuTargets ? (if hostCpuOnly
|
, hostCpuTargets ? (if hostCpuOnly
|
||||||
|
@ -94,7 +95,8 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optionals libiscsiSupport [ libiscsi ]
|
++ lib.optionals libiscsiSupport [ libiscsi ]
|
||||||
++ lib.optionals smbdSupport [ samba ]
|
++ lib.optionals smbdSupport [ samba ]
|
||||||
++ lib.optionals uringSupport [ liburing ]
|
++ lib.optionals uringSupport [ liburing ]
|
||||||
++ lib.optionals canokeySupport [ canokey-qemu ];
|
++ lib.optionals canokeySupport [ canokey-qemu ]
|
||||||
|
++ lib.optionals capstoneSupport [ capstone ];
|
||||||
|
|
||||||
dontUseMesonConfigure = true; # meson's configurePhase isn't compatible with qemu build
|
dontUseMesonConfigure = true; # meson's configurePhase isn't compatible with qemu build
|
||||||
|
|
||||||
|
@ -175,7 +177,8 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional libiscsiSupport "--enable-libiscsi"
|
++ lib.optional libiscsiSupport "--enable-libiscsi"
|
||||||
++ lib.optional smbdSupport "--smbd=${samba}/bin/smbd"
|
++ lib.optional smbdSupport "--smbd=${samba}/bin/smbd"
|
||||||
++ lib.optional uringSupport "--enable-linux-io-uring"
|
++ lib.optional uringSupport "--enable-linux-io-uring"
|
||||||
++ lib.optional canokeySupport "--enable-canokey";
|
++ lib.optional canokeySupport "--enable-canokey"
|
||||||
|
++ lib.optional capstoneSupport "--enable-capstone";
|
||||||
|
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue