source: branches/backfire/package/ifx-tapidemo/Makefile @ 21092

Last change on this file since 21092 was 21092, checked in by nico, 7 years ago

[backfire] merge [20906:20912], [20914:20922] & [20972]

File size: 1.8 KB
Line 
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
9include $(TOPDIR)/rules.mk
10include $(INCLUDE_DIR)/kernel.mk
11
12PKG_NAME:=tapidemo
13PKG_VERSION:=5.0.1.27
14PKG_RELEASE:=1
15
16PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
18PKG_MD5SUM:=a38a7bf3242aad607f50f57b988bc87c
19
20include $(INCLUDE_DIR)/package.mk
21
22define 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
30endef
31
32define Package/ifx-tapidemo/description
33        Voice Access mini-PBX Demo Application
34endef
35
36define Package/ifx-tapidemo/config
37        source "$(SOURCE)/Config.in"
38endef
39
40CONFIGURE_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
50ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712),y)
51  CONFIGURE_ARGS += --enable-boardname=EASY50712
52endif
53ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712_V3),y)
54  CONFIGURE_ARGS += --enable-boardname=EASY50712_V3
55endif
56ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY508xx),y)
57  CONFIGURE_ARGS += --enable-boardname=EASY508XX
58endif
59ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY80910),y)
60  CONFIGURE_ARGS += --enable-boardname=EASY508XX
61endif
62
63define 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
67endef
68
69$(eval $(call BuildPackage,ifx-tapidemo))
Note: See TracBrowser for help on using the repository browser.