yckage/ifx-tapidemo: move configuration in submenu
authorNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 11:09:24 +0000 (11:09 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 16 Apr 2010 11:09:24 +0000 (11:09 +0000)
SVN-Revision: 20921

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

index 32594ba9cb9d5088d522f80afabc96ece730419f..42ec5fa1c3a194a530eba49bbf5e6712ed8d6784 100644 (file)
@@ -1,3 +1,5 @@
+menu "Configuration"
+       depends on PACKAGE_ifx-tapidemo
 choice
        prompt "board selection"
        default VOICE_CPE_TAPIDEMO_BOARD_EASY50712_V3  if TARGET_ifxmips_platform_danube
@@ -34,3 +36,4 @@ config  VOICE_CPE_TAPIDEMO_FAX_T.38_FW
        help
                enable T.38 fax relay demo.
 
+endmenu
index 217d4641a5159fb8e4b3ef732e2a3c27cdbe081b..b294d9d3a721b3987615a42c74a55160a9e684e1 100644 (file)
@@ -26,6 +26,7 @@ define Package/ifx-tapidemo
   URL:=http://www.lantiq.com/
   MAINTAINER:=Lantiq
   DEPENDS:=+kmod-ifx-tapi +kmod-ifx-vmmc @BROKEN
+  MENU:=1
 endef
 
 define Package/ifx-tapidemo/description
@@ -33,9 +34,7 @@ define Package/ifx-tapidemo/description
 endef
 
 define Package/ifx-tapidemo/config
-       if PACKAGE_ifx-tapidemo
-               source "$(SOURCE)/Config.in"
-       endif
+       source "$(SOURCE)/Config.in"
 endef
 
 CONFIGURE_ARGS += \