diff --git a/package/connman/connman.mk b/package/connman/connman.mk index e5e596c973..8c66a69882 100644 --- a/package/connman/connman.mk +++ b/package/connman/connman.mk @@ -85,6 +85,12 @@ else CONNMAN_CONF_OPTS += --disable-wispr endif +ifeq ($(BR2_PACKAGE_IWD),y) +CONNMAN_CONF_OPTS += --enable-iwd +else +CONNMAN_CONF_OPTS += --disable-iwd +endif + define CONNMAN_INSTALL_INIT_SYSV $(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman endef