package/ar7-atm: move configuration in submenu
authorNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 10:48:09 +0000 (10:48 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 10:48:09 +0000 (10:48 +0000)
SVN-Revision: 20914

package/ar7-atm/Config.in
package/ar7-atm/Makefile

index 395755c..479b7ad 100644 (file)
@@ -1,6 +1,8 @@
+menu "Configuration"
+       depends on (PACKAGE_kmod-sangam-atm-annex-a || PACKAGE_kmod-sangam-atm-annex-b)
+
 choice
        prompt "Firmware version"
-       depends on (PACKAGE_kmod-sangam-atm-annex-a || PACKAGE_kmod-sangam-atm-annex-b)
        default AR7_ATM_FW_VERSION_704
        help
                This option allows you to switch between firmware/driver versions which
@@ -16,3 +18,5 @@ config AR7_ATM_FW_VERSION_703
        bool "D7.03.01.00"
 
 endchoice
+
+endmenu
index e5cef07..fc8b577 100644 (file)
@@ -42,6 +42,7 @@ define KernelPackage/sangam-atm/Default
   TITLE:=AR7 ADSL driver
   FILES:=$(PKG_BUILD_DIR)/tiatm.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,tiatm)
+  MENU:=1
 endef
 
 define KernelPackage/sangam-atm/config