2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
15 PKG_SOURCE
:=drv_kpi2udp-
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
17 PKG_MD5SUM
:=af3855609554c7f3d2c3df8c597f50a7
19 include $(INCLUDE_DIR
)/package.mk
21 define KernelPackage
/ltq-kpi2udp
22 SUBMENU
:=Voice over IP
23 TITLE
:=TAPI KPI2UDP plug-in
24 URL
:=http
://www.lantiq.com
/
25 DEPENDS
:=+kmod-ltq-tapi @TARGET_lantiq
26 FILES
:=$(PKG_BUILD_DIR
)/drv_kpi2udp.ko
27 AUTOLOAD
:=$(call AutoLoad
,26,drv_kpi2udp
)
28 MAINTAINER
:=John Crispin
<blogic@openwrt.org
>
31 define KernelPackage
/ltq-kpi2udp
/description
32 RTP packet path accelleration into IP stack
(strongly recommended
)
35 CONFIGURE_ARGS
+= --enable-kernelincl
="$(LINUX_DIR)/include" \
36 --enable-tapiincl
="$(STAGING_DIR)/usr/include/drv_tapi" \
37 --with-ifxos-incl
=$(STAGING_DIR
)/usr
/include/ifxos \
40 --enable-kernelbuild
="$(LINUX_DIR)" \
43 define Build
/Configure
44 (cd
$(PKG_BUILD_DIR
); aclocal
&& autoconf
&& automake
)
45 $(call Build
/Configure
/Default
)
48 $(eval
$(call KernelPackage
,ltq-kpi2udp
))