summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Sommer <joerg.sommer@navimatix.de>2024-08-16 12:17:35 +0200
committerKhem Raj <raj.khem@gmail.com>2024-08-16 07:30:56 -0700
commitec936d6893b95a6c191c324ff2448444ac56d6dc (patch)
tree42c4f38a586ca8af68ec6d0c67804227e96f49cb
parent92be96659e05ed1dc07031548ff142f8ddc07440 (diff)
downloadmeta-openembedded-ec936d6893b95a6c191c324ff2448444ac56d6dc.tar.gz
dnsmasq: set config dhcp6, broken-rtc by FEATURES
Some of the PACKAGECONFIG can be derived from the DISTRO_FEATURES and MACHINE_FEATURES. Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb
index 30ed463eef..ba783d03ff 100644
--- a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb
@@ -24,8 +24,13 @@ INITSCRIPT_NAME = "dnsmasq"
24INITSCRIPT_PARAMS = "defaults" 24INITSCRIPT_PARAMS = "defaults"
25 25
26# dnsmasq defaults 26# dnsmasq defaults
27PACKAGECONFIG ?= "auth dhcp dhcp6 dumpfile inotify ipset loop script tftp" 27PACKAGECONFIG ?= "\
28 auth dhcp dumpfile inotify ipset loop script tftp \
29 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'dhcp6', '', d)} \
30 ${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '', 'broken-rtc', d)} \
31"
28 32
33# see src/config.h
29PACKAGECONFIG[auth] = "-DHAVE_AUTH,-DNO_AUTH" 34PACKAGECONFIG[auth] = "-DHAVE_AUTH,-DNO_AUTH"
30PACKAGECONFIG[broken-rtc] = "-DHAVE_BROKEN_RTC," 35PACKAGECONFIG[broken-rtc] = "-DHAVE_BROKEN_RTC,"
31PACKAGECONFIG[conntrack] = "-DHAVE_CONNTRACK,,libnetfilter-conntrack" 36PACKAGECONFIG[conntrack] = "-DHAVE_CONNTRACK,,libnetfilter-conntrack"