package/libpcap: move configuration to submenu
authorNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 10:03:53 +0000 (10:03 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 10:03:53 +0000 (10:03 +0000)
SVN-Revision: 20909

package/libpcap/Config.in
package/libpcap/Makefile

index 1b9463e6aa661b0590b1808158a972907941cd11..ef32c1bc0878d043117169f892f0fe875edd028d 100644 (file)
@@ -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
index fcc9987c0f02b2fd7c6e8aca795b86074aa72e61..a885f90c7fe0bdc559f980f6ec565b209bc78fd8 100644 (file)
@@ -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 += \