package/qemu: add option to install blobs
Binary blobs are BIOS of some sorts for the various machines emulated by QEMU. There is no option to individually install blobs; it's an all-or-nothing option. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
8beed8ac56
commit
97c40266b1
@ -58,6 +58,17 @@ config BR2_PACKAGE_QEMU_SYSTEM
|
||||
|
||||
if BR2_PACKAGE_QEMU_SYSTEM
|
||||
|
||||
config BR2_PACKAGE_QEMU_BLOBS
|
||||
bool "Install binary blobs"
|
||||
default y
|
||||
help
|
||||
Say 'y' here (the default) to install binary blobs (such as
|
||||
BIOS or firmwares for the different machines simulated by
|
||||
QEMU). Say 'n' to not install those blobs.
|
||||
|
||||
Note: Some machines may be unbootable without those blobs.
|
||||
If unsure, say 'y'.
|
||||
|
||||
config BR2_PACKAGE_QEMU_SLIRP
|
||||
bool "Enable user mode networking (SLIRP)"
|
||||
select BR2_PACKAGE_SLIRP
|
||||
|
@ -246,6 +246,12 @@ ifeq ($(BR2_STATIC_LIBS),y)
|
||||
QEMU_OPTS += --static
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QEMU_BLOBS),y)
|
||||
QEMU_OPTS += --enable-install-blobs
|
||||
else
|
||||
QEMU_OPTS += --disable-install-blobs
|
||||
endif
|
||||
|
||||
# Override CPP, as it expects to be able to call it like it'd
|
||||
# call the compiler.
|
||||
define QEMU_CONFIGURE_CMDS
|
||||
|
Loading…
Reference in New Issue
Block a user