[package] libpcap: explicitely disable libnl support to prevent different build resul...
[openwrt.git] / package / ltq-tapidemo / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=tapidemo
12 PKG_VERSION:=5.1.0.53
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
17 PKG_MD5SUM:=c970becc46b2935fb9e18f795d4e8469
18
19 PKG_FIXUP:=autoreconf
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/ltq-tapidemo
24 SUBMENU:=Telephony
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=TAPIdemo application for Lantiq boards
28 URL:=http://www.lantiq.com/
29 DEPENDS:=+kmod-ltq-tapi +kmod-ltq-vmmc
30 MAINTAINER:=John Crispin <blogic@openwrt.org>
31 MENU:=1
32 endef
33
34 define Package/ltq-tapidemo/description
35 Voice Access mini-PBX Demo Application
36 endef
37
38 define Package/ltq-tapidemo/config
39 source "$(SOURCE)/Config.in"
40 endef
41
42 CONFIGURE_ARGS += \
43 ARCH=$(LINUX_KARCH) \
44 --enable-linux-26 \
45 --enable-kernelincl="$(LINUX_DIR)/include" \
46 --with-drvincl="$(STAGING_DIR)/usr/include" \
47 --with-ifxos-incl=$(STAGING_DIR)/usr/include/ifxos \
48 --with-ifxos-lib=$(STAGING_DIR)/usr/lib \
49 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPI_QOS,qos) \
50 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPIDEMO_FAX_T,fax-t38) \
51 --enable-trace \
52 --enable-fs
53
54 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712),y)
55 CONFIGURE_ARGS += --enable-boardname=EASY50712
56 endif
57 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712_V3),y)
58 CONFIGURE_ARGS += --enable-boardname=EASY50712_V3
59 endif
60 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY508xx),y)
61 CONFIGURE_ARGS += --enable-boardname=EASY508XX
62 endif
63 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY80910),y)
64 CONFIGURE_ARGS += --enable-boardname=EASY508XX
65 endif
66 ifneq ($(CONFIG_VOICE_CPE_TAPIDEMO_FW_FILE),)
67 CONFIGURE_ARGS += --with-fw-file="$(strip $(subst ",, $(CONFIG_VOICE_CPE_TAPIDEMO_FW_FILE)))"
68 endif
69 ifneq ($(CONFIG_VOICE_CPE_TAPIDEMO_BBD_FILE), "")
70 CONFIGURE_ARGS += --with-bbd-file="$(strip $(subst ",, $(CONFIG_VOICE_CPE_TAPIDEMO_BBD_FILE)))"
71 endif
72
73 define Package/ltq-tapidemo/install
74 $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d/
75 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tapidemo $(1)/usr/sbin
76 $(INSTALL_BIN) ./files/bringup_tapidemo $(1)/etc/init.d/tapidemo
77 endef
78
79 $(eval $(call BuildPackage,ltq-tapidemo))
This page took 0.062719 seconds and 5 git commands to generate.