[Buildroot] [git commit branch/2022.08.x] package/iwd: drop dbus check

Peter Korsgaard peter at korsgaard.com
Sun Nov 13 15:53:18 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=c6c6dde9c0470aab4839523fa68d7ebe55477a2e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.08.x

Since 6f5f6bc dbus is selected when iwd is selected.
It is only a runtime dependency, so drop the build
dependency.

Signed-off-by: Daniel Lang <d.lang at abatec.at>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 5b3b2d80f4cf586d360ff696c3dacbd4cb48fdc4)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/iwd/iwd.mk | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/package/iwd/iwd.mk b/package/iwd/iwd.mk
index d179e46ebf..346977dedf 100644
--- a/package/iwd/iwd.mk
+++ b/package/iwd/iwd.mk
@@ -15,16 +15,11 @@ IWD_SELINUX_MODULES = networkmanager
 
 IWD_CONF_OPTS = \
 	--disable-manual-pages \
-	--enable-external-ell
+	--enable-external-ell \
+	--enable-dbus-policy \
+	--with-dbus-datadir=/usr/share
 IWD_DEPENDENCIES = ell
 
-ifeq ($(BR2_PACKAGE_DBUS),y)
-IWD_CONF_OPTS += --enable-dbus-policy --with-dbus-datadir=/usr/share
-IWD_DEPENDENCIES += dbus
-else
-IWD_CONF_OPTS += --disable-dbus-policy
-endif
-
 ifeq ($(BR2_PACKAGE_READLINE),y)
 # iwd client depends on readline (GPL-3.0+)
 IWD_LICENSE += , GPL-3.0+ (client)



More information about the buildroot mailing list