package/ifx-tapi: move configuration in submenu
authorNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 11:08:54 +0000 (11:08 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 11:08:54 +0000 (11:08 +0000)
SVN-Revision: 20920

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

index 56defb3dd11e9a4dc772585fcfeccc9bfba7df4f..e360883fd4e209e34b42648c22954d2400e726cc 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 fe91ad015c3118b326db9f2fd100d1c913e57853..e4638186e2ae0aab377f093ea60f60536fbeb177 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 += \