Kaynağa Gözat

package/ifxmips-dsl-api: move configuration in submenu

SVN-Revision: 20922
Nicolas Thill 15 yıl önce
ebeveyn
işleme
16041806e2

+ 5 - 3
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

+ 1 - 0
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