diff options
author | Jörg Sommer <joerg.sommer@navimatix.de> | 2024-08-16 12:17:35 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-08-16 07:30:56 -0700 |
commit | ec936d6893b95a6c191c324ff2448444ac56d6dc (patch) | |
tree | 42c4f38a586ca8af68ec6d0c67804227e96f49cb | |
parent | 92be96659e05ed1dc07031548ff142f8ddc07440 (diff) | |
download | meta-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.bb | 7 |
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" | |||
24 | INITSCRIPT_PARAMS = "defaults" | 24 | INITSCRIPT_PARAMS = "defaults" |
25 | 25 | ||
26 | # dnsmasq defaults | 26 | # dnsmasq defaults |
27 | PACKAGECONFIG ?= "auth dhcp dhcp6 dumpfile inotify ipset loop script tftp" | 27 | PACKAGECONFIG ?= "\ |
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 | ||
29 | PACKAGECONFIG[auth] = "-DHAVE_AUTH,-DNO_AUTH" | 34 | PACKAGECONFIG[auth] = "-DHAVE_AUTH,-DNO_AUTH" |
30 | PACKAGECONFIG[broken-rtc] = "-DHAVE_BROKEN_RTC," | 35 | PACKAGECONFIG[broken-rtc] = "-DHAVE_BROKEN_RTC," |
31 | PACKAGECONFIG[conntrack] = "-DHAVE_CONNTRACK,,libnetfilter-conntrack" | 36 | PACKAGECONFIG[conntrack] = "-DHAVE_CONNTRACK,,libnetfilter-conntrack" |