2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
18 PKG_MD5SUM
:=a38a7bf3242aad607f50f57b988bc87c
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/ifx-tapidemo
25 TITLE
:=TAPIdemo application for Lantiq boards
26 URL
:=http
://www.lantiq.com
/
28 DEPENDS
:=+kmod-ifx-tapi
+kmod-ifx-vmmc @BROKEN
32 define Package
/ifx-tapidemo
/description
33 Voice Access mini-PBX Demo Application
36 define Package
/ifx-tapidemo
/config
37 source
"$(SOURCE)/Config.in"
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
) \
50 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712
),y
)
51 CONFIGURE_ARGS
+= --enable-boardname
=EASY50712
53 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712_V3
),y
)
54 CONFIGURE_ARGS
+= --enable-boardname
=EASY50712_V3
56 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY508xx
),y
)
57 CONFIGURE_ARGS
+= --enable-boardname
=EASY508XX
59 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY80910
),y
)
60 CONFIGURE_ARGS
+= --enable-boardname
=EASY508XX
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
69 $(eval
$(call BuildPackage
,ifx-tapidemo
))