package/uboot-ifxmips: move configuration in submenu
[openwrt.git] / package / ifx-tapidemo / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=tapidemo
13 PKG_VERSION:=5.0.1.27
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
18 PKG_MD5SUM:=a38a7bf3242aad607f50f57b988bc87c
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/ifx-tapidemo
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=TAPIdemo application for Lantiq boards
26 URL:=http://www.lantiq.com/
27 MAINTAINER:=Lantiq
28 DEPENDS:=+kmod-ifx-tapi +kmod-ifx-vmmc @BROKEN
29 endef
30
31 define Package/ifx-tapidemo/description
32 Voice Access mini-PBX Demo Application
33 endef
34
35 define Package/ifx-tapidemo/config
36 if PACKAGE_ifx-tapidemo
37 source "$(SOURCE)/Config.in"
38 endif
39 endef
40
41 CONFIGURE_ARGS += \
42 ARCH=$(LINUX_KARCH) \
43 --enable-linux-26 \
44 --enable-kernelincl="$(LINUX_DIR)/include" \
45 --with-drvincl="$(STAGING_DIR)/usr/include" \
46 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPI_QOS,qos) \
47 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPIDEMO_FAX_T,fax-t38) \
48 --enable-trace \
49 --enable-fs
50
51 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712),y)
52 CONFIGURE_ARGS += --enable-boardname=EASY50712
53 endif
54 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712_V3),y)
55 CONFIGURE_ARGS += --enable-boardname=EASY50712_V3
56 endif
57 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY508xx),y)
58 CONFIGURE_ARGS += --enable-boardname=EASY508XX
59 endif
60 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY80910),y)
61 CONFIGURE_ARGS += --enable-boardname=EASY508XX
62 endif
63
64 define Package/ifx-tapidemo/install
65 $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d/
66 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tapidemo $(1)/usr/sbin
67 $(INSTALL_BIN) ./files/bringup_tapidemo $(1)/etc/init.d/tapidemo
68 endef
69
70 $(eval $(call BuildPackage,ifx-tapidemo))
This page took 0.053223 seconds and 5 git commands to generate.