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

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

index 56defb3..e360883 100644 (file)
@@ -1,3 +1,6 @@
+menu "Configuration"
+       depends on PACKAGE_kmod-ifx-tapi
+
 config VOICE_CPE_TAPI_FAX
        bool "fax relay and modem support"
        default n
@@ -69,3 +72,5 @@ config VOICE_CPE_TAPI_TRACES
        help
                enable driver traces with different trace levels to be
                configured dynamically from the application or during insmod
+
+endmenu
index fe91ad0..e463818 100644 (file)
@@ -26,6 +26,7 @@ define KernelPackage/ifx-tapi
   DEPENDS:=+kmod-ifxos @BROKEN
   FILES:=$(PKG_BUILD_DIR)/src/drv_tapi.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,20,drv_tapi)
+  MENU:=1
 endef
 
 define KernelPackage/ifx-tapi/description
@@ -33,9 +34,7 @@ define KernelPackage/ifx-tapi/description
 endef
 
 define KernelPackage/ifx-tapi/config
-       if PACKAGE_kmod-ifx-tapi
-               source "$(SOURCE)/Config.in"
-       endif
+       source "$(SOURCE)/Config.in"
 endef
 
 CONFIGURE_ARGS += \
This page took 0.025611 seconds and 4 git commands to generate.