Files
packages/utils/fwupd/Config.in
Joshua Klinesmith 884b71edf3 fwupd: fix recursive dependency in Config.in
The fwupd Config.in menu depends on PACKAGE_fwupd-libs, making
FWUPD_PLUGIN_FLASHROM implicitly depend on PACKAGE_fwupd-libs.
But fwupd-libs has a conditional dependency on libflashrom gated
by FWUPD_PLUGIN_FLASHROM, creating a circular dependency.

Fix by removing the depends on PACKAGE_fwupd-libs guard from the
Config.in menu and moving DEPENDS from Package/fwupd/Default into
Package/fwupd-libs directly. The menu options are always visible
in menuconfig but only take effect when fwupd-libs is selected.

Co-developed-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Joshua Klinesmith <joshuaklinesmith@gmail.com>

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 08:34:03 +02:00

46 lines
750 B
Plaintext

menu "Select fwupd options"
config FWUPD_FIRMWARE_PACKAGER
bool "firmware packager"
default n
help
Compile fwupd with firmware packager
config FWUPD_HSI
bool "Host Security ID"
default n
help
Compile fwupd with HSI support
config FWUPD_LVFS
bool "LVFS remote"
default y
help
Compile and install LVFS remote
config FWUPD_CBOR
bool "CBOR"
default n
help
Compile fwupd with cbor protocol support
config FWUPD_LIBDRM
bool "libdrm"
default n
help
Compile fwupd with libdrm support
config FWUPD_PLUGIN_MODEMMANAGER
bool "ModemManager plugin"
default y
help
Compile fwupd with ModemManager plugin
config FWUPD_PLUGIN_FLASHROM
bool "flashrom plugin"
default y
help
Compile fwupd with flashrom plugin
endmenu