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 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 += \