25.02.2025 19:30, Gerd Hoffmann wrote:
Wire up uefi-vars in the build system.
diff --git a/hw/uefi/meson.build b/hw/uefi/meson.build index a8b168941255..e63708aa164f 100644 --- a/hw/uefi/meson.build +++ b/hw/uefi/meson.build @@ -1 +1,20 @@ system_ss.add(files('hardware-info.c')) + +uefi_vars_ss = ss.source_set() +if (config_all_devices.has_key('CONFIG_UEFI_VARS')) + uefi_vars_ss.add(files('var-service-core.c',
CONFIG_UEFI_VARS is in hw/uefi/Kconfig, defined as: config UEFI_VARS bool default y if X86_64 || AARCH64 Shouldn't this module not build on i386 or any other 32bit host, where we don't build 64bit targets? Right now (10.0.0-rc0), hw-uefi-vars.so is built on i386 or armel, where apparently it shouldn't. Why X86_64 || AARCH64 is true on i386? Shouldn't it be false after acce728cbc6c154b "meson: Disallow 64-bit on 32-bit emulation" ? Thanks, /mjt