summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-26 19:35:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-26 19:35:05 +0000
commit2d9c80b60fe413115b3aa30f752684830c321e43 (patch)
treeb4bdec996e4379a9a421a4f6187010b9e79b59b1
parent432136fba6d5eabe8c7f2661113d28f17f5f777d (diff)
downloadmtk-20170518-2d9c80b60fe413115b3aa30f752684830c321e43.zip
mtk-20170518-2d9c80b60fe413115b3aa30f752684830c321e43.tar.gz
mtk-20170518-2d9c80b60fe413115b3aa30f752684830c321e43.tar.bz2
pcap: fix disabling bluetooth
SVN-Revision: 15428
-rw-r--r--package/libpcap/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index bc6417d..eef5ff0 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -40,6 +40,7 @@ define Package/libpcap/config
bool "Include bluetooth support"
depends PACKAGE_libpcap
depends PACKAGE_kmod-bluetooth
+ depends BROKEN
default n
endef
@@ -62,6 +63,7 @@ define Build/Compile
$(if $(CONFIG_PCAP_HAS_USB),,$(SED) '/^#define PCAP_SUPPORT_USB/D' $(PKG_BUILD_DIR)/config.h)
$(if $(CONFIG_PCAP_HAS_USB),,$(SED) 's/pcap-usb-linux.c *//' $(PKG_BUILD_DIR)/Makefile)
$(if $(CONFIG_PCAP_HAS_BT),,$(SED) '/^#define PCAP_SUPPORT_BT/D' $(PKG_BUILD_DIR)/config.h)
+ $(if $(CONFIG_PCAP_HAS_BT),,$(SED) 's/pcap-bt-linux.c *//' $(PKG_BUILD_DIR)/Makefile)
$(MAKE) -C $(PKG_BUILD_DIR) \
CCOPT="$(TARGET_CFLAGS) -I$(BUILD_DIR)/linux/include" \
DESTDIR="$(PKG_INSTALL_DIR)" \