summaryrefslogtreecommitdiffstats
path: root/rules/nmap.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-01-27 09:50:20 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-01-27 09:57:40 +0100
commitf77d317eb826ab54d03b648b3143b879b9362884 (patch)
tree74b5235bb4de1b974d3829f3dc7387bb579be4dc /rules/nmap.make
parent98d7f448ef11301df472568bef7ae5fb4870c412 (diff)
downloadptxdist-f77d317eb826ab54d03b648b3143b879b9362884.tar.gz
ptxdist-f77d317eb826ab54d03b648b3143b879b9362884.tar.xz
nmap: cleanup configure options
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/nmap.make')
-rw-r--r--rules/nmap.make22
1 files changed, 7 insertions, 15 deletions
diff --git a/rules/nmap.make b/rules/nmap.make
index c999c22d5..88de70bcf 100644
--- a/rules/nmap.make
+++ b/rules/nmap.make
@@ -38,25 +38,17 @@ NMAP_ENV := \
#
# autoconf
#
-NMAP_AUTOCONF := $(CROSS_AUTOCONF_USR) \
- $(GLOBAL_IPV6_OPTION) \
- --with-libpcre \
- --with-libpcap \
- --without-liblua \
+NMAP_AUTOCONF := \
+ $(CROSS_AUTOCONF_USR) \
--without-ndiff \
--without-zenmap \
--without-nping \
- --without-ncat \
- \
- --enable-protochain \
- --disable-optimizer-dbg \
- --disable-yydebug
+ --with-openssl=$(call ptx/ifdef,PTXCONF_NMAP_OPENSSL,$(SYSROOT),no) \
+ --with-libpcap \
+ --with-libpcre \
+ --without-liblua \
+ --without-ncat
-ifdef PTXCONF_NMAP_OPENSSL
-NMAP_AUTOCONF += --with-openssl=$(SYSROOT)
-else
-NMAP_AUTOCONF += --without-openssl
-endif
# ----------------------------------------------------------------------------
# Target-Install