package/netsniff-ng: allow to build with uclibc but w/o mausezahn
authorVadim Kochan <vadim4j@gmail.com>
Mon, 4 Mar 2019 08:57:41 +0000 (10:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 28 Mar 2019 17:46:56 +0000 (18:46 +0100)
commitb0f98d5800b288500752ef51b969d9a3cb92e897
tree5f80c34eec8ec84776d18b3b303310fa17d96ccd
parent4dcb76b0139c0dacaf526825cab76dcc9607df30
package/netsniff-ng: allow to build with uclibc but w/o mausezahn

mausezahn can't be build with uclibc because uclibc does not provide
ceill() function, so it does not allow to build all netsniff-ng's
tools with uclibc.

Fix it by moving mausezahn under separate config option, which has own
dependencies and packages selection (libnet & libcli).

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[Thomas:
 - use the allbutmausezahn and install_allbutmausezahn targets inside
   of enumerating all the tools in the .mk file
 - stick to a "config" instead of introducing a "menuconfig"]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/netsniff-ng/Config.in
package/netsniff-ng/netsniff-ng.mk