From 16041806e25bf68aec415a74ff6d6e12adcb569c Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Fri, 16 Apr 2010 11:10:37 +0000
Subject: [PATCH] package/ifxmips-dsl-api: move configuration in submenu

SVN-Revision: 20922
---
 package/ifxmips-dsl-api/Config.in | 8 +++++---
 package/ifxmips-dsl-api/Makefile  | 1 +
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/package/ifxmips-dsl-api/Config.in b/package/ifxmips-dsl-api/Config.in
index 56177d1689..72942e6fff 100644
--- a/package/ifxmips-dsl-api/Config.in
+++ b/package/ifxmips-dsl-api/Config.in
@@ -1,6 +1,8 @@
+menu "Configuration"
+	depends on PACKAGE_kmod-ifxmips-dsl-api
+
 choice
 	prompt "Firmware"
-	depends on PACKAGE_kmod-ifxmips-dsl-api
 	default IFXMIPS_ANNEX_B
 	help
 	  This option controls which firmware is loaded
@@ -20,12 +22,12 @@ endchoice
 config IFXMIPS_DSL_FIRMWARE
 	bool "ifxmips-dsl firmware extractor"
 	default y
-	depends on PACKAGE_kmod-ifxmips-dsl-api
 	help
 	  Say Y, if you need ifxmips-dsl to auto extract the firmware for you from the a800 firmware image
 
 config IFXMIPS_DSL_DEBUG
 	bool "ifxmips-dsl debugging"
-	depends on PACKAGE_kmod-ifxmips-dsl-api
 	help
 	  Say Y, if you need ifxmips-dsl to display debug messages.
+
+endmenu
diff --git a/package/ifxmips-dsl-api/Makefile b/package/ifxmips-dsl-api/Makefile
index c0e1cea085..a5cd221a5a 100644
--- a/package/ifxmips-dsl-api/Makefile
+++ b/package/ifxmips-dsl-api/Makefile
@@ -39,6 +39,7 @@ define KernelPackage/ifxmips-dsl-api
 	$(PKG_BUILD_DIR)/src/drv_dsl_cpe_api.$(LINUX_KMOD_SUFFIX) \
 	$(PKG_BUILD_DIR)/src/mei/ifxmips_atm.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,ifxmips_mei drv_dsl_cpe_api ifxmips_atm)
+  MENU:=1
 endef
 
 define KernelPackage/ifxmips-dsl-api/description
-- 
2.30.2