diff options
| author | Alex Kiernan <alex.kiernan@gmail.com> | 2026-06-02 16:35:48 +0100 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-07 18:21:46 -0700 |
| commit | c7271e11c7ca18d96d9e1e665bdece441a72a01f (patch) | |
| tree | 9033b5ff5599f29c31d439f3c0866c1be2ac40ea | |
| parent | c33a4574f22ef438304417f335451df9de05fee3 (diff) | |
| download | meta-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.bb | 12 |
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 \ | |||
| 27 | PACKAGECONFIG[debug] = "DEBUG=1,DEBUG=0" | 27 | PACKAGECONFIG[debug] = "DEBUG=1,DEBUG=0" |
| 28 | PACKAGECONFIG[ipv6] = "HAVE_IPV6=1,HAVE_IPV6=0" | 28 | PACKAGECONFIG[ipv6] = "HAVE_IPV6=1,HAVE_IPV6=0" |
| 29 | PACKAGECONFIG[manpages] = "" | 29 | PACKAGECONFIG[manpages] = "" |
| 30 | PACKAGECONFIG[idlesleepcontrol] = "" | ||
| 31 | PACKAGECONFIG[spc] = "" | ||
| 30 | PACKAGECONFIG[tls] = ",tls=no,mbedtls" | 32 | PACKAGECONFIG[tls] = ",tls=no,mbedtls" |
| 33 | PACKAGECONFIG[unicast] = "" | ||
| 31 | 34 | ||
| 32 | CVE_PRODUCT = "apple:mdnsresponder" | 35 | CVE_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 | ||
| 51 | TARGET_CPPFLAGS += "-DmDNSResponderVersion=${PV} \ | 58 | TARGET_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 | ||
| 54 | TARGET_CC_ARCH += "${LDFLAGS}" | 64 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 55 | 65 | ||
