From e1d28af9a74329a9f3929ffa23eb70ce1b56bcbd Mon Sep 17 00:00:00 2001
From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 16 Apr 2010 11:09:24 +0000
Subject: yckage/ifx-tapidemo: move configuration in submenu

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20921 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/ifx-tapidemo/Config.in | 3 +++
 package/ifx-tapidemo/Makefile  | 5 ++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/package/ifx-tapidemo/Config.in b/package/ifx-tapidemo/Config.in
index 32594ba9c..42ec5fa1c 100644
--- a/package/ifx-tapidemo/Config.in
+++ b/package/ifx-tapidemo/Config.in
@@ -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
diff --git a/package/ifx-tapidemo/Makefile b/package/ifx-tapidemo/Makefile
index 217d4641a..b294d9d3a 100644
--- a/package/ifx-tapidemo/Makefile
+++ b/package/ifx-tapidemo/Makefile
@@ -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 += \
-- 
cgit v1.2.3