]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
daq: libdnet is optional not mandatory
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 7 Jan 2018 14:30:30 +0000 (15:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Jan 2018 14:50:32 +0000 (15:50 +0100)
commitfadd4a9f1c0b86a0c1a0bcbe70bed1b781a2af50
treeb91d292813642964b2bfaccbba53c6b6f6bc949d
parent505ae63b60ffa14789512511fdec30cb9a10bfda
daq: libdnet is optional not mandatory

libdnet is an optional dependency, it is only needed if nfq or ipq
module are enabled.

So, if libdnet and libnetfilter_queue are available, enable nfq module
and add a dependency to both packages otherwise disable nfq module.

Moreover, always disable ipq module as libipq is deprecated, it isn't
enable in iptables. Even if it was enabled, libipq.h can't be included
as it makes a reference to linux/netfilter_ipv4/ip_queue.h which is not
available anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/daq/Config.in
package/daq/daq.mk