Signed-off-by: Ladislav Michl <la...@linux-mips.org>
---
 rules/dnsmasq.in   | 10 +++++-----
 rules/dnsmasq.make |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/rules/dnsmasq.in b/rules/dnsmasq.in
index 3336bf5bc..12de6e27f 100644
--- a/rules/dnsmasq.in
+++ b/rules/dnsmasq.in
@@ -33,12 +33,12 @@ comment "build options   ---"
 
 config DNSMASQ_DBUS
        bool
-       prompt "include DBUS support [BROKEN]"
-       depends on BROKEN
+       prompt "include DBUS support"
        help
-         This enables DBUS support in dnsmasq. This is not only a build
-         option. You also have to enable it at runtime. FIXME: Show how,
-         see DBUS document in dnsmasq packet
+         This enables DBUS support in dnsmasq. To enable it at runtime
+         /etc/dnsmasq.conf needs to contain the line
+
+         enable-dbus
 
 config DNSMASQ_TFTP
        bool
diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index 37039cf10..07268e6de 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -36,6 +36,7 @@ DNSMASQ_LICENSE_FILES := \
 DNSMASQ_CONF_TOOL      := NO
 
 DNSMASQ_COPT   :=
+DNSMASQ_COPT   += $(call ptx/ifdef,PTXCONF_DNSMASQ_DBUS,-DHAVE_DBUS,)
 DNSMASQ_COPT   += $(call ptx/ifdef,PTXCONF_DNSMASQ_TFTP,,-DNO_TFTP)
 DNSMASQ_COPT   += $(call ptx/ifdef,PTXCONF_GLOBAL_IPV6,,-DNO_IPV6)
 DNSMASQ_COPT   += $(call ptx/ifdef,PTXCONF_DNSMASQ_DNSSEC,-DHAVE_DNSSEC,)
-- 
2.25.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to