[package] ppp: don't die on malformed PADS frames that might appear on instable DSL...
[openwrt.git] / package / lqdsl-app / Makefile
1 #
2 # Copyright (C) 2009-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 # ralph / blogic
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_BASE_NAME:=dsl_cpe_control_danube
13 PKG_VERSION:=3.24.4.4
14 PKG_RELEASE:=1
15 PKG_SOURCE:=$(PKG_BASE_NAME)-$(PKG_VERSION).tar.gz
16 PKG_BUILD_DIR:=$(BUILD_DIR)/dsl_cpe_control-$(PKG_VERSION)
17 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/
18 PKG_MD5SUM:=ee315306626b68794d3d3636dabfe161
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/lqdsl-app
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=Lantiq DSL userland tool
26 URL:=http://www.lantiq.com/
27 MAINTAINER:=Lantiq
28 DEPENDS:=@TARGET_lantiq_xway +kmod-lqdsl +libpthread
29 endef
30
31 define Package/lqdsl-app/description
32 Infineon DSL CPE API for Amazon SE, Danube and Vinax.
33 endef
34
35 IFX_DSL_MAX_DEVICE=1
36 IFX_DSL_LINES_PER_DEVICE=1
37 IFX_DSL_CHANNELS_PER_LINE=1
38 #CONFIG_IFX_CLI=y
39
40 CONFIGURE_ARGS += \
41 --with-max-device="$(IFX_DSL_MAX_DEVICE)" \
42 --with-lines-per-device="$(IFX_DSL_LINES_PER_DEVICE)" \
43 --with-channels-per-line="$(IFX_DSL_CHANNELS_PER_LINE)" \
44 --enable-danube \
45 --enable-driver-include="-I$(STAGING_DIR)/usr/include" \
46 --enable-debug-prints \
47 --enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \
48 --enable-cmv-scripts \
49 --enable-debug-tool-interface \
50 --enable-adsl-led \
51 --enable-dsl-ceoc \
52 --enable-script-notification \
53 --enable-dsl-pm \
54 --enable-dsl-pm-total \
55 --enable-dsl-pm-history \
56 --enable-dsl-pm-showtime \
57 --enable-dsl-pm-channel-counters \
58 --enable-dsl-pm-datapath-counters \
59 --enable-dsl-pm-line-counters \
60 --enable-dsl-pm-channel-thresholds \
61 --enable-dsl-pm-datapath-thresholds \
62 --enable-dsl-pm-line-thresholds \
63 --enable-dsl-pm-optional-parameters
64
65 ifeq ($(CONFIG_IFX_CLI),y)
66 CONFIGURE_ARGS += \
67 --enable-cli-support \
68 --enable-soap-support
69 endif
70
71 TARGET_CFLAGS += -I$(LINUX_DIR)/include
72
73 define Package/lqdsl-app/install
74 $(INSTALL_DIR) $(1)/etc/init.d
75 $(INSTALL_BIN) ./files/ifx_cpe_control_init.sh $(1)/etc/init.d/
76
77 $(INSTALL_DIR) $(1)/sbin
78 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dsl_cpe_control $(1)/sbin
79 endef
80
81 $(eval $(call BuildPackage,lqdsl-app))
This page took 0.051854 seconds and 5 git commands to generate.