summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2012-07-14 21:57:57 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-07-16 09:58:48 +0200
commit7f681a3e0ebc227ff0b2a3640d4067d7a0340386 (patch)
treed0865b3f32bf28b29c5088aa92749a35b89c3a5a
parent49a95c1761cf1bd2b3381269d88f32dca88060dd (diff)
downloadptxdist-7f681a3e0ebc227ff0b2a3640d4067d7a0340386.tar.gz
ptxdist-7f681a3e0ebc227ff0b2a3640d4067d7a0340386.tar.xz
wireshark: Fix targetinstall stage
When tshark is not enabled the targetinstall stage must not try to install it. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/wireshark.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/wireshark.make b/rules/wireshark.make
index 13fb81845..fbf666fcf 100644
--- a/rules/wireshark.make
+++ b/rules/wireshark.make
@@ -81,8 +81,9 @@ $(STATEDIR)/wireshark.targetinstall:
#
@$(call install_copy, wireshark, 0, 0, 0755, -, /usr/bin/capinfos)
@$(call install_copy, wireshark, 0, 0, 0755, -, /usr/bin/dumpcap)
- @$(call install_copy, wireshark, 0, 0, 0755, -, \
- /usr/bin/tshark)
+ifdef PTXCONF_WIRESHARK_TSHARK
+ @$(call install_copy, wireshark, 0, 0, 0755, -, /usr/bin/tshark)
+endif
#
# libraries used by some of the executables
#