uClibc: fix issues with libpthread vs libc link order on mips
[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.0.1.27
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:=a38a7bf3242aad607f50f57b988bc87c
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ltq-tapidemo
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=TAPIdemo application for Lantiq boards
25 URL:=http://www.lantiq.com/
26 DEPENDS:=+kmod-ltq-tapi +kmod-ltq-vmmc
27 MAINTAINER:=John Crispin <blogic@openwrt.org>
28 MENU:=1
29 endef
30
31 define Package/ltq-tapidemo/description
32 Voice Access mini-PBX Demo Application
33 endef
34
35 define Package/ltq-tapidemo/config
36 source "$(SOURCE)/Config.in"
37 endef
38
39 CONFIGURE_ARGS += \
40 ARCH=$(LINUX_KARCH) \
41 --enable-linux-26 \
42 --enable-kernelincl="$(LINUX_DIR)/include" \
43 --with-drvincl="$(STAGING_DIR)/usr/include" \
44 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPI_QOS,qos) \
45 $(call autoconf_bool,CONFIG_VOICE_CPE_TAPIDEMO_FAX_T,fax-t38) \
46 --enable-trace \
47 --enable-fs
48
49 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712),y)
50 CONFIGURE_ARGS += --enable-boardname=EASY50712
51 endif
52 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY50712_V3),y)
53 CONFIGURE_ARGS += --enable-boardname=EASY50712_V3
54 endif
55 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY508xx),y)
56 CONFIGURE_ARGS += --enable-boardname=EASY508XX
57 endif
58 ifeq ($(CONFIG_VOICE_CPE_TAPIDEMO_BOARD_EASY80910),y)
59 CONFIGURE_ARGS += --enable-boardname=EASY508XX
60 endif
61
62 define Package/ltq-tapidemo/install
63 $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d/
64 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tapidemo $(1)/usr/sbin
65 $(INSTALL_BIN) ./files/bringup_tapidemo $(1)/etc/init.d/tapidemo
66 endef
67
68 $(eval $(call BuildPackage,ltq-tapidemo))
This page took 0.05219 seconds and 5 git commands to generate.