package/qemu: add option to include tools
PATCH 1/1 package/qemu: add option to include tools
Add an option to QEMU to include the "tools" (configure option:
--enable-tools) in the target. This adds a dependency on pixman, but that's already present.
Signed-off-by Sam Bobroff <[email protected]>
---
Hi Buildroot,
I often need qemu-img in the target, so I've been using this patch. In case it's useful to others, here it is.
Cheers,
Sam.
package/qemu/Config.in | 5 +++++ package/qemu/qemu.mk | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
package/qemu/Config.in +5 -0
@@ -112,4 +112,9 @@ comment "FDT support needs a toolchain w/ dynamic library" endif # BR2_PACKAGE_QEMU_HAS_EMULS +config BR2_PACKAGE_QEMU_TOOLS + bool "Enable tools" + help + Say 'y' here to include tools packaged with QEMU (e.g. qemu-img). + endif # BR2_PACKAGE_QEMU
package/qemu/qemu.mk +6 -1
@@ -196,6 +196,12 @@ else QEMU_OPTS += --disable-fdt endif +ifeq ($(BR2_PACKAGE_QEMU_TOOLS),y) +QEMU_OPTS += --enable-tools +else +QEMU_OPTS += --disable-tools +endif + # Override CPP, as it expects to be able to call it like it'd # call the compiler. define QEMU_CONFIGURE_CMDS
@@ -234,7 +240,6 @@ define QEMU_CONFIGURE_CMDS --disable-strip \ --disable-seccomp \ --disable-sparse \ - --disable-tools \ $(QEMU_OPTS) \ ) endef
Signature · 1 line
2.10.0.297.gf6727b0
Thomas Petazzoni
AppliedPATCH 1/1 package/qemu: add option to include tools
Hello,
Quoted 7 lines · Sam Bobroff
Add an option to QEMU to include the "tools" (configure option:
--enable-tools) in the target. This adds a dependency on pixman, but that's already present.Signed-off-by Sam Bobroff <[email protected]>---
Hi Buildroot,
Applied to next, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com