diff options
| author | Christopher Larson <chris_larson@mentor.com> | 2014-08-11 09:12:26 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-13 23:28:04 +0200 |
| commit | 7bb14206a25505cb70e78b1858a4d37a3e847b07 (patch) | |
| tree | 882baf15b2c25deeffe71e57fdd191dcfd3914c8 | |
| parent | f1e112fa688aa0900ebdbcc31d88c6ce91251495 (diff) | |
| download | meta-openembedded-7bb14206a25505cb70e78b1858a4d37a3e847b07.tar.gz | |
dnsmasq: add packageconfigs for idn, conntrack, lua
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/dnsmasq/dnsmasq.inc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc index 92c5367868..1335245986 100644 --- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc | |||
| @@ -18,10 +18,16 @@ inherit pkgconfig update-rc.d systemd | |||
| 18 | INITSCRIPT_NAME = "dnsmasq" | 18 | INITSCRIPT_NAME = "dnsmasq" |
| 19 | INITSCRIPT_PARAMS = "defaults" | 19 | INITSCRIPT_PARAMS = "defaults" |
| 20 | 20 | ||
| 21 | PACKAGECONFIG ??= "" | 21 | PACKAGECONFIG ?= "" |
| 22 | PACKAGECONFIG[dbus] = "COPTS=-DHAVE_DBUS,,dbus" | 22 | PACKAGECONFIG[dbus] = ",,dbus" |
| 23 | EXTRA_OEMAKE = "${EXTRA_OECONF}" | 23 | PACKAGECONFIG[idn] = ",,libidn" |
| 24 | EXTRA_OEMAKE += "\ | 24 | PACKAGECONFIG[conntrack] = ",,libnetfilter-conntrack" |
| 25 | PACKAGECONFIG[lua] = ",,lua" | ||
| 26 | EXTRA_OEMAKE = "\ | ||
| 27 | 'COPTS=${@base_contains('PACKAGECONFIG', 'dbus', '-DHAVE_DBUS', '', d)} \ | ||
| 28 | ${@base_contains('PACKAGECONFIG', 'idn', '-DHAVE_IDN', '', d)} \ | ||
| 29 | ${@base_contains('PACKAGECONFIG', 'conntrack', '-DHAVE_CONNTRACK', '', d)} \ | ||
| 30 | ${@base_contains('PACKAGECONFIG', 'lua', '-DHAVE_LUASCRIPT', '', d)}' \ | ||
| 25 | 'CFLAGS=${CFLAGS}' \ | 31 | 'CFLAGS=${CFLAGS}' \ |
| 26 | 'LDFLAGS=${LDFLAGS}' \ | 32 | 'LDFLAGS=${LDFLAGS}' \ |
| 27 | " | 33 | " |
