You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.6 KiB
99 lines
2.6 KiB
![]()
14 years ago
|
#
|
||
![]()
12 years ago
|
# Copyright (C) 2011-2012 OpenWrt.org
|
||
![]()
14 years ago
|
#
|
||
|
# This is free software, licensed under the GNU General Public License v2.
|
||
|
# See /LICENSE for more information.
|
||
|
#
|
||
|
|
||
|
include $(TOPDIR)/rules.mk
|
||
|
include $(INCLUDE_DIR)/kernel.mk
|
||
|
|
||
![]()
13 years ago
|
PKG_NAME:=dsl_cpe_control_danube
|
||
![]()
14 years ago
|
PKG_VERSION:=3.24.4.4
|
||
![]()
12 years ago
|
PKG_RELEASE:=2
|
||
![]()
13 years ago
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||
![]()
14 years ago
|
PKG_BUILD_DIR:=$(BUILD_DIR)/dsl_cpe_control-$(PKG_VERSION)
|
||
|
PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/
|
||
|
PKG_MD5SUM:=ee315306626b68794d3d3636dabfe161
|
||
![]()
12 years ago
|
PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
|
||
![]()
14 years ago
|
|
||
![]()
12 years ago
|
PKG_FIXUP:=autoreconf
|
||
|
|
||
![]()
13 years ago
|
PKG_CONFIG_DEPENDS:=\
|
||
![]()
13 years ago
|
CONFIG_LTQ_DSL_ENABLE_SOAP \
|
||
![]()
13 years ago
|
CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING
|
||
|
|
||
![]()
12 years ago
|
PKG_BUILD_DEPENDS:=TARGET_lantiq_xway:kmod-ltq-adsl-danube TARGET_lantiq_ase:kmod-ltq-adsl-ase
|
||
![]()
14 years ago
|
|
||
![]()
12 years ago
|
include $(INCLUDE_DIR)/package.mk
|
||
![]()
13 years ago
|
|
||
![]()
12 years ago
|
define Package/ltq-adsl-app
|
||
![]()
14 years ago
|
SECTION:=net
|
||
|
CATEGORY:=Network
|
||
|
TITLE:=Lantiq DSL userland tool
|
||
|
URL:=http://www.lantiq.com/
|
||
![]()
12 years ago
|
DEPENDS:=@(TARGET_lantiq_xway||TARGET_lantiq_ase) +libpthread
|
||
![]()
13 years ago
|
MENU:=1
|
||
![]()
14 years ago
|
endef
|
||
|
|
||
![]()
12 years ago
|
define Package/ltq-adsl-app/description
|
||
![]()
14 years ago
|
Infineon DSL CPE API for Amazon SE, Danube and Vinax.
|
||
|
endef
|
||
|
|
||
![]()
12 years ago
|
define Package/ltq-adsl-app/config
|
||
![]()
13 years ago
|
source "$(SOURCE)/Config.in"
|
||
|
endef
|
||
|
|
||
|
LTQ_DSL_MAX_DEVICE=1
|
||
|
LTQ_DSL_LINES_PER_DEVICE=1
|
||
|
LTQ_DSL_CHANNELS_PER_LINE=1
|
||
![]()
14 years ago
|
|
||
|
CONFIGURE_ARGS += \
|
||
![]()
13 years ago
|
--with-max-device="$(LTQ_DSL_MAX_DEVICE)" \
|
||
|
--with-lines-per-device="$(LTQ_DSL_LINES_PER_DEVICE)" \
|
||
|
--with-channels-per-line="$(LTQ_DSL_CHANNELS_PER_LINE)" \
|
||
![]()
14 years ago
|
--enable-danube \
|
||
![]()
12 years ago
|
--enable-driver-include="-I$(STAGING_DIR)/usr/include/adsl/" \
|
||
![]()
14 years ago
|
--enable-debug-prints \
|
||
|
--enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \
|
||
![]()
13 years ago
|
--enable-cli-support \
|
||
![]()
14 years ago
|
--enable-cmv-scripts \
|
||
|
--enable-debug-tool-interface \
|
||
|
--enable-adsl-led \
|
||
|
--enable-dsl-ceoc \
|
||
|
--enable-script-notification \
|
||
|
--enable-dsl-pm \
|
||
|
--enable-dsl-pm-total \
|
||
|
--enable-dsl-pm-history \
|
||
|
--enable-dsl-pm-showtime \
|
||
|
--enable-dsl-pm-channel-counters \
|
||
|
--enable-dsl-pm-datapath-counters \
|
||
|
--enable-dsl-pm-line-counters \
|
||
|
--enable-dsl-pm-channel-thresholds \
|
||
|
--enable-dsl-pm-datapath-thresholds \
|
||
|
--enable-dsl-pm-line-thresholds \
|
||
|
--enable-dsl-pm-optional-parameters
|
||
|
|
||
![]()
13 years ago
|
ifeq ($(CONFIG_LTQ_DSL_ENABLE_SOAP),y)
|
||
![]()
14 years ago
|
CONFIGURE_ARGS += \
|
||
|
--enable-soap-support
|
||
|
endif
|
||
|
|
||
![]()
13 years ago
|
ifeq ($(CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING),y)
|
||
|
CONFIGURE_ARGS += \
|
||
|
--enable-dsl-event-polling
|
||
|
endif
|
||
|
|
||
![]()
14 years ago
|
TARGET_CFLAGS += -I$(LINUX_DIR)/include
|
||
|
|
||
![]()
12 years ago
|
define Package/ltq-adsl-app/install
|
||
![]()
14 years ago
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||
![]()
13 years ago
|
$(INSTALL_BIN) ./files/dsl_control $(1)/etc/init.d/
|
||
![]()
14 years ago
|
|
||
|
$(INSTALL_DIR) $(1)/sbin
|
||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dsl_cpe_control $(1)/sbin
|
||
![]()
13 years ago
|
$(INSTALL_BIN) ./files/dsl_notify.sh $(1)/sbin
|
||
![]()
14 years ago
|
endef
|
||
|
|
||
![]()
12 years ago
|
$(eval $(call BuildPackage,ltq-adsl-app))
|