firmware-utils/mkzynfw: add support for the NBG460N board
[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 MENU:=1
30 endef
31
32 define Package/ifx-tapidemo/description
33 Voice Access mini-PBX Demo Application
34 endef
35
36 define Package/ifx-tapidemo/config
37 source "$(SOURCE)/Config.in"
38 endef
39
40 CONFIGURE_ARGS += \
41 ARCH=$(LINUX_KARCH) \
42 --enable-linux-26 \
43 --enable-kernelincl="$(LINUX_DIR)/include" \
44 --with-drvincl="$(STAGING_DIR)/usr/include" \
45 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPI_QOS,qos) \
46 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPIDEMO_FAX_T,fax-t38) \
47 --enable-trace \
48 --enable-fs
49
50 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712),y)
51 CONFIGURE_ARGS += --enable-boardname=EASY50712
52 endif
53 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712_V3),y)
54 CONFIGURE_ARGS += --enable-boardname=EASY50712_V3
55 endif
56 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY508xx),y)
57 CONFIGURE_ARGS += --enable-boardname=EASY508XX
58 endif
59 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY80910),y)
60 CONFIGURE_ARGS += --enable-boardname=EASY508XX
61 endif
62
63 define Package/ifx-tapidemo/install
64 $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d/
65 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tapidemo $(1)/usr/sbin
66 $(INSTALL_BIN) ./files/bringup_tapidemo $(1)/etc/init.d/tapidemo
67 endef
68
69 $(eval $(call BuildPackage,ifx-tapidemo))
This page took 0.047746 seconds and 5 git commands to generate.