summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2026-06-02 16:35:48 +0100
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-06-07 18:21:46 -0700
commitc7271e11c7ca18d96d9e1e665bdece441a72a01f (patch)
tree9033b5ff5599f29c31d439f3c0866c1be2ac40ea
parentc33a4574f22ef438304417f335451df9de05fee3 (diff)
downloadmeta-openembedded-c7271e11c7ca18d96d9e1e665bdece441a72a01f.tar.gz
mdns: Add PACKAGECONFIGs for idlesleepcontrol, spc and unicast
These three knobs are exposed to reduce the code size for embedded (see mDNSCore/mDNSEmbeddedAPI.h). If you need them, you'll know you need them, everyone else almost certainly doesn't. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rw-r--r--meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb b/meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb
index 48e7a8d52d..3950ee666f 100644
--- a/meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb
+++ b/meta-networking/recipes-protocols/mdns/mdns_2881.100.56.0.1.bb
@@ -27,7 +27,10 @@ PACKAGECONFIG ?= "tls \
27PACKAGECONFIG[debug] = "DEBUG=1,DEBUG=0" 27PACKAGECONFIG[debug] = "DEBUG=1,DEBUG=0"
28PACKAGECONFIG[ipv6] = "HAVE_IPV6=1,HAVE_IPV6=0" 28PACKAGECONFIG[ipv6] = "HAVE_IPV6=1,HAVE_IPV6=0"
29PACKAGECONFIG[manpages] = "" 29PACKAGECONFIG[manpages] = ""
30PACKAGECONFIG[idlesleepcontrol] = ""
31PACKAGECONFIG[spc] = ""
30PACKAGECONFIG[tls] = ",tls=no,mbedtls" 32PACKAGECONFIG[tls] = ",tls=no,mbedtls"
33PACKAGECONFIG[unicast] = ""
31 34
32CVE_PRODUCT = "apple:mdnsresponder" 35CVE_PRODUCT = "apple:mdnsresponder"
33 36
@@ -48,8 +51,15 @@ EXTRA_OEMAKE = "os=linux 'CC=${CCLD}' 'LD=${CCLD}' 'LINKOPTS=${LDFLAGS}' STRIP=:
48 51
49# MDNS_VERSIONSTR_NODTS disables __DATE__ and __TIME__ in the version string, 52# MDNS_VERSIONSTR_NODTS disables __DATE__ and __TIME__ in the version string,
50# which are fixed anyway for build reproducibility. 53# which are fixed anyway for build reproducibility.
54#
55# IDLESLEEPCONTROL_DISABLED - disables sleep control for Bonjour Sleep Proxy clients
56# UNICAST_DISABLED - disables unicast DNS functionality, including Wide Area Bonjour
57# SPC_DISABLED - disables Bonjour Sleep Proxy client
51TARGET_CPPFLAGS += "-DmDNSResponderVersion=${PV} \ 58TARGET_CPPFLAGS += "-DmDNSResponderVersion=${PV} \
52 -DMDNS_VERSIONSTR_NODTS" 59 -DMDNS_VERSIONSTR_NODTS \
60 ${@bb.utils.contains('PACKAGECONFIG','idlesleepcontrol','','-DIDLESLEEPCONTROL_DISABLED', d)} \
61 ${@bb.utils.contains('PACKAGECONFIG','unicast','','-DUNICAST_DISABLED', d)} \
62 ${@bb.utils.contains('PACKAGECONFIG','spc','','-DSPC_DISABLED', d)}"
53 63
54TARGET_CC_ARCH += "${LDFLAGS}" 64TARGET_CC_ARCH += "${LDFLAGS}"
55 65