summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-10 12:31:53 +0100
committerPeter Korsgaard <peter@korsgaard.com>2019-03-25 17:32:32 +0100
commit5154f90009177f936f96c94d6442ec680347f7b6 (patch)
tree08814ea121f03f34492615f062e4be8b9a4deea8
parenta0134c36066fc9712000f01760945eb49f7cad9b (diff)
downloadbuildroot-5154f90009177f936f96c94d6442ec680347f7b6.tar.gz
buildroot-5154f90009177f936f96c94d6442ec680347f7b6.zip
package/wireshark: add optional spandsp dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit ee772dad7b76dcc49bc86b5a232ccdcedec60904) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/wireshark/wireshark.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index 5f04af1f29..a917efb5f6 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -145,6 +145,13 @@ else
WIRESHARK_CONF_OPTS += --without-snappy
endif
+ifeq ($(BR2_PACKAGE_SPANDSP),y)
+WIRESHARK_CONF_OPTS += --with-spandsp
+WIRESHARK_DEPENDENCIES += spandsp
+else
+WIRESHARK_CONF_OPTS += --without-spandsp
+endif
+
define WIRESHARK_REMOVE_DOCS
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
-o -name '*.html' -print0 | xargs -0 rm -f
OpenPOWER on IntegriCloud