aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-16 10:03:53 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-16 10:03:53 +0000
commit630e9969c168f6e365c4049ee7bc70270267e287 (patch)
treeddefd5cda49a8d0bb9ee80cf5896deec0107185d
parent8d2302993b9d6626792379cd8ea6e10d49b7790d (diff)
downloadupstream-630e9969c168f6e365c4049ee7bc70270267e287.tar.gz
upstream-630e9969c168f6e365c4049ee7bc70270267e287.tar.bz2
upstream-630e9969c168f6e365c4049ee7bc70270267e287.zip
package/libpcap: move configuration to submenu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20909 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libpcap/Config.in7
-rw-r--r--package/libpcap/Makefile3
2 files changed, 7 insertions, 3 deletions
diff --git a/package/libpcap/Config.in b/package/libpcap/Config.in
index 1b9463e6aa..ef32c1bc08 100644
--- a/package/libpcap/Config.in
+++ b/package/libpcap/Config.in
@@ -1,12 +1,15 @@
+menu "Configuration"
+ depends PACKAGE_libpcap
+
config PCAP_HAS_USB
bool "Include USB support"
- depends PACKAGE_libpcap
depends PACKAGE_kmod-usb-core
default n
config PCAP_HAS_BT
bool "Include bluetooth support"
- depends PACKAGE_libpcap
depends PACKAGE_kmod-bluetooth
depends BROKEN
default n
+
+endmenu
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index fcc9987c0f..a885f90c7f 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -25,6 +25,7 @@ define Package/libpcap
CATEGORY:=Libraries
TITLE:=Low-level packet capture library
URL:=http://www.tcpdump.org/
+ MENU:=1
endef
define Package/libpcap/description
@@ -33,7 +34,7 @@ capture.
endef
define Package/libpcap/config
-source "$(SOURCE)/Config.in"
+ source "$(SOURCE)/Config.in"
endef
TARGET_CFLAGS += \