mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
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 <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
21a0ca235d
commit
ac6785f12c
@ -107,4 +107,9 @@ comment "FDT support needs a toolchain w/ dynamic library"
|
|||||||
|
|
||||||
endif # BR2_PACKAGE_QEMU_HAS_EMULS
|
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
|
endif # BR2_PACKAGE_QEMU
|
||||||
|
@ -204,6 +204,12 @@ else
|
|||||||
QEMU_OPTS += --disable-fdt
|
QEMU_OPTS += --disable-fdt
|
||||||
endif
|
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
|
# Override CPP, as it expects to be able to call it like it'd
|
||||||
# call the compiler.
|
# call the compiler.
|
||||||
define QEMU_CONFIGURE_CMDS
|
define QEMU_CONFIGURE_CMDS
|
||||||
@ -242,7 +248,6 @@ define QEMU_CONFIGURE_CMDS
|
|||||||
--disable-strip \
|
--disable-strip \
|
||||||
--disable-seccomp \
|
--disable-seccomp \
|
||||||
--disable-sparse \
|
--disable-sparse \
|
||||||
--disable-tools \
|
|
||||||
$(QEMU_OPTS) \
|
$(QEMU_OPTS) \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user