summaryrefslogtreecommitdiff
path: root/package/libpcap/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-26 19:35:05 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-26 19:35:05 +0000
commit9f70f9f3b94be85a28439fd57c912966b32bd6f6 (patch)
treef6d1eea7a182a23188370b766eb4ee9d1773cf61 /package/libpcap/Makefile
parentb03b7eed82858ae10c11c8463739cae0fd7b8600 (diff)
pcap: fix disabling bluetooth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15428 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libpcap/Makefile')
-rw-r--r--package/libpcap/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index bc6417d0e5..eef5ff0640 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)" \