package/ifx-vmmc: move configuration in submenu
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 Apr 2010 11:07:18 +0000 (11:07 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 Apr 2010 11:07:18 +0000 (11:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20917 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ifx-vmmc/Config.in
package/ifx-vmmc/Makefile

index bd3c032..2a7894e 100644 (file)
@@ -1,3 +1,5 @@
+menu "Configuration"
+       depends on PACKAGE_kmod-ifx-vmmc
 choice
        prompt "device selection"
        default VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract
@@ -47,3 +49,5 @@ config VOICE_CPE_VMMC_MPS_HISTORY_SIZE
                MPS history buffer (default=128 words, maximum=512 words, 0=disable)
                To opimize the memory footprint in RAM, you might want to set the
                buffer size to 0.
+
+endmenu
index 945d5ba..0fa3649 100644 (file)
@@ -26,6 +26,7 @@ define KernelPackage/ifx-vmmc
   DEPENDS:=+kmod-ifx-tapi @BROKEN
   FILES:=$(PKG_BUILD_DIR)/src/drv_vmmc.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,25,drv_vmmc)
+  MENU:=1
 endef
 
 define KernelPackage/ifx-vmmc/description
@@ -33,9 +34,7 @@ define KernelPackage/ifx-vmmc/description
 endef
 
 define KernelPackage/ifx-vmmc/config
-       if PACKAGE_kmod-ifx-vmmc
-               source "$(SOURCE)/Config.in"
-       endif
+       source "$(SOURCE)/Config.in"
 endef
 
 CONFIGURE_ARGS += \
This page took 0.021817 seconds and 4 git commands to generate.