dnsmasq: simplify build configuration
authorBaruch Siach <baruch@tkos.co.il>
Mon, 2 Oct 2017 17:38:26 +0000 (20:38 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 2 Oct 2017 18:58:22 +0000 (20:58 +0200)
commit1042fea88aea4ebddcac5e215286394f1ad012b4
treeffe66f27d7fcff44307f27a2f753a054b4c42ee9
parente77fdc90e320ff38d56d8e5c97fc783e8fbb76bb
dnsmasq: simplify build configuration

Drop direct sed'ing of config.h for HAVE_CONNTRACK, HAVE_LUASCRIPT, and
HAVE_DBUS. Use MAKE_OPTS COPTS parameters instead, like we do already
for all other options.

Rename DNSMASQ_ENABLE_LUA to DNSMASQ_TWEAK_LIBLUA since it now does only
that.

Merge two conntrack and three dbus conditional sections.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dnsmasq/dnsmasq.mk