OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # |
2 | # Copyright (C) 2011-2012 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:=dsl_cpe_control_danube |
||
12 | PKG_VERSION:=3.24.4.4 |
||
13 | PKG_RELEASE:=6 |
||
14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
||
15 | PKG_BUILD_DIR:=$(BUILD_DIR)/dsl_cpe_control-$(PKG_VERSION) |
||
16 | PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/ |
||
17 | PKG_HASH:=af0bdf45cc7a62e2b38d39aad4924dd83c24fae170ae5bbd8190c2a3d9106257 |
||
18 | PKG_MAINTAINER:=John Crispin <john@phrozen.org> |
||
19 | PKG_LICENSE:=BSD-3-Clause |
||
20 | |||
21 | PKG_FIXUP:=autoreconf |
||
22 | |||
23 | PKG_CONFIG_DEPENDS:=\ |
||
24 | CONFIG_LTQ_DSL_ENABLE_SOAP \ |
||
25 | CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING |
||
26 | |||
27 | PKG_BUILD_DEPENDS:=ltq-adsl |
||
28 | |||
29 | PKG_FLAGS:=nonshared |
||
30 | |||
31 | include $(INCLUDE_DIR)/package.mk |
||
32 | |||
33 | define Package/ltq-adsl-app |
||
34 | SECTION:=net |
||
35 | CATEGORY:=Network |
||
36 | TITLE:=Lantiq DSL userland tool |
||
37 | URL:=http://www.lantiq.com/ |
||
38 | DEPENDS:=@(TARGET_lantiq_xway||TARGET_lantiq_xway_legacy||TARGET_lantiq_ase) +libpthread |
||
39 | MENU:=1 |
||
40 | endef |
||
41 | |||
42 | define Package/ltq-adsl-app/description |
||
43 | Infineon DSL CPE API for Amazon SE, Danube and Vinax. |
||
44 | endef |
||
45 | |||
46 | LTQ_DSL_MAX_DEVICE=1 |
||
47 | LTQ_DSL_LINES_PER_DEVICE=1 |
||
48 | LTQ_DSL_CHANNELS_PER_LINE=1 |
||
49 | |||
50 | CONFIGURE_ARGS += \ |
||
51 | --with-max-device="$(LTQ_DSL_MAX_DEVICE)" \ |
||
52 | --with-lines-per-device="$(LTQ_DSL_LINES_PER_DEVICE)" \ |
||
53 | --with-channels-per-line="$(LTQ_DSL_CHANNELS_PER_LINE)" \ |
||
54 | --enable-danube \ |
||
55 | --enable-driver-include="-I$(STAGING_DIR)/usr/include/adsl/" \ |
||
56 | --enable-debug-prints \ |
||
57 | --enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \ |
||
58 | --enable-cli-support \ |
||
59 | --enable-cmv-scripts \ |
||
60 | --enable-debug-tool-interface \ |
||
61 | --enable-adsl-led \ |
||
62 | --enable-dsl-ceoc \ |
||
63 | --enable-script-notification \ |
||
64 | --enable-dsl-pm \ |
||
65 | --enable-dsl-pm-total \ |
||
66 | --enable-dsl-pm-history \ |
||
67 | --enable-dsl-pm-showtime \ |
||
68 | --enable-dsl-pm-channel-counters \ |
||
69 | --enable-dsl-pm-datapath-counters \ |
||
70 | --enable-dsl-pm-line-counters \ |
||
71 | --enable-dsl-pm-channel-thresholds \ |
||
72 | --enable-dsl-pm-datapath-thresholds \ |
||
73 | --enable-dsl-pm-line-thresholds \ |
||
74 | --enable-dsl-pm-optional-parameters |
||
75 | |||
76 | TARGET_CFLAGS += -I$(LINUX_DIR)/include |
||
77 | |||
78 | define Package/ltq-adsl-app/install |
||
79 | $(INSTALL_DIR) $(1)/etc/init.d $(1)/sbin $(1)/etc/hotplug.d/dsl |
||
80 | $(INSTALL_BIN) ./files/dsl_control $(1)/etc/init.d/ |
||
81 | $(INSTALL_BIN) ./files/10_atm.sh $(1)/etc/hotplug.d/dsl |
||
82 | $(INSTALL_BIN) ./files/10_ptm.sh $(1)/etc/hotplug.d/dsl |
||
83 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dsl_cpe_control $(1)/sbin |
||
84 | endef |
||
85 | |||
86 | $(eval $(call BuildPackage,ltq-adsl-app)) |