package/iwd: make openresolv optional

In a standalone iwd setup having openresolv or systemd-resolved to
apply DNS config is useful, but if iwd is used with another network
management service (e.g. NetworkManager) the dependency is
unnecessary.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
Fiona Klute
2026-06-04 17:54:31 +02:00
committed by Marcus Hoffmann
parent 8536a5d04a
commit c0f95301ec
2 changed files with 8 additions and 2 deletions

View File

@@ -7,10 +7,12 @@ config BR2_PACKAGE_IWD
depends on BR2_USE_WCHAR # ell
select BR2_PACKAGE_DBUS # runtime
select BR2_PACKAGE_ELL
select BR2_PACKAGE_OPENRESOLV if !BR2_PACKAGE_SYSTEMD_RESOLVED
help
iNet Wireless daemon (iwd)
Enable the readline package to enable the iwctl tool.
Enable the readline package to enable the iwctl tool. If you
want to use iwd standalone, you probably also want
openresolv or systemd-resolved to handle DNS configuration.
https://iwd.wiki.kernel.org/

View File

@@ -38,7 +38,11 @@ endif
ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y)
IWD_RESOLV_SERVICE = systemd
else
ifeq ($(BR2_PACKAGE_OPENRESOLV),y)
IWD_RESOLV_SERVICE = resolvconf
else
IWD_RESOLV_SERVICE = none
endif
endif
ifeq ($(BR2_PACKAGE_IWD_IWMON),y)