|
|
@@ -271,6 +271,13 @@ else
|
|
|
QEMU_OPTS += --disable-install-blobs
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_ZSTD),y)
|
|
|
+QEMU_OPTS += --enable-zstd
|
|
|
+QEMU_DEPENDENCIES += zstd
|
|
|
+else
|
|
|
+QEMU_OPTS += --disable-zstd
|
|
|
+endif
|
|
|
+
|
|
|
# Override CPP, as it expects to be able to call it like it'd
|
|
|
# call the compiler.
|
|
|
define QEMU_CONFIGURE_CMDS
|
|
|
@@ -460,6 +467,13 @@ else
|
|
|
HOST_QEMU_OPTS += --disable-libusb
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_HOST_ZSTD),y)
|
|
|
+HOST_QEMU_OPTS += --enable-zstd
|
|
|
+HOST_QEMU_DEPENDENCIES += host-zstd
|
|
|
+else
|
|
|
+HOST_QEMU_OPTS += --disable-zstd
|
|
|
+endif
|
|
|
+
|
|
|
# Override CPP, as it expects to be able to call it like it'd
|
|
|
# call the compiler.
|
|
|
define HOST_QEMU_CONFIGURE_CMDS
|