aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-12-15 02:00:39 +0000
committerJohn Crispin <john@openwrt.org>2012-12-15 02:00:39 +0000
commit06c9170a7c3742598d915486c40724c64bf988ea (patch)
treed3b5bb38efa108b1f761f900b940b39729562bbf
parent1d0a9d0c0470f774056e015431ae43e0175d2266 (diff)
downloadupstream-06c9170a7c3742598d915486c40724c64bf988ea.tar.gz
upstream-06c9170a7c3742598d915486c40724c64bf988ea.tar.bz2
upstream-06c9170a7c3742598d915486c40724c64bf988ea.zip
move ltq-adsl-tool
SVN-Revision: 34694
-rw-r--r--package/platform/lantiq/ltq-adsl-app/Config.in (renamed from package/network/config/ltq-dsl-app/Config.in)0
-rw-r--r--package/platform/lantiq/ltq-adsl-app/Makefile (renamed from package/network/config/ltq-dsl-app/Makefile)19
-rw-r--r--package/platform/lantiq/ltq-adsl-app/files/dsl_control (renamed from package/network/config/ltq-dsl-app/files/dsl_control)2
-rw-r--r--package/platform/lantiq/ltq-adsl-app/files/dsl_notify.sh (renamed from package/network/config/ltq-dsl-app/files/dsl_notify.sh)0
4 files changed, 10 insertions, 11 deletions
diff --git a/package/network/config/ltq-dsl-app/Config.in b/package/platform/lantiq/ltq-adsl-app/Config.in
index 728fe65b31..728fe65b31 100644
--- a/package/network/config/ltq-dsl-app/Config.in
+++ b/package/platform/lantiq/ltq-adsl-app/Config.in
diff --git a/package/network/config/ltq-dsl-app/Makefile b/package/platform/lantiq/ltq-adsl-app/Makefile
index 37a72ee336..92445e5580 100644
--- a/package/network/config/ltq-dsl-app/Makefile
+++ b/package/platform/lantiq/ltq-adsl-app/Makefile
@@ -23,25 +23,24 @@ PKG_CONFIG_DEPENDS:=\
CONFIG_LTQ_DSL_ENABLE_SOAP \
CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING
-include $(INCLUDE_DIR)/package.mk
+PKG_BUILD_DEPENDS:=TARGET_lantiq_xway:kmod-ltq-adsl-danube TARGET_lantiq_ase:kmod-ltq-adsl-ase
-PKG_BUILD_DEPENDS:=TARGET_lantiq_danube:kmod-ltq-dsl-danube TARGET_lantiq_ar9:kmod-ltq-dsl-ar9 \
- TARGET_lantiq_vr9:kmod-ltq-dsl-vr9 TARGET_lantiq_ase:kmod-ltq-dsl-ase
+include $(INCLUDE_DIR)/package.mk
-define Package/ltq-dsl-app
+define Package/ltq-adsl-app
SECTION:=net
CATEGORY:=Network
TITLE:=Lantiq DSL userland tool
URL:=http://www.lantiq.com/
- DEPENDS:=@TARGET_lantiq&&!(TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable) +libpthread
+ DEPENDS:=@(TARGET_lantiq_xway||TARGET_lantiq_ase) +libpthread
MENU:=1
endef
-define Package/ltq-dsl-app/description
+define Package/ltq-adsl-app/description
Infineon DSL CPE API for Amazon SE, Danube and Vinax.
endef
-define Package/ltq-dsl-app/config
+define Package/ltq-adsl-app/config
source "$(SOURCE)/Config.in"
endef
@@ -54,7 +53,7 @@ CONFIGURE_ARGS += \
--with-lines-per-device="$(LTQ_DSL_LINES_PER_DEVICE)" \
--with-channels-per-line="$(LTQ_DSL_CHANNELS_PER_LINE)" \
--enable-danube \
- --enable-driver-include="-I$(STAGING_DIR)/usr/include" \
+ --enable-driver-include="-I$(STAGING_DIR)/usr/include/adsl/" \
--enable-debug-prints \
--enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \
--enable-cli-support \
@@ -87,7 +86,7 @@ endif
TARGET_CFLAGS += -I$(LINUX_DIR)/include
-define Package/ltq-dsl-app/install
+define Package/ltq-adsl-app/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/dsl_control $(1)/etc/init.d/
@@ -96,4 +95,4 @@ define Package/ltq-dsl-app/install
$(INSTALL_BIN) ./files/dsl_notify.sh $(1)/sbin
endef
-$(eval $(call BuildPackage,ltq-dsl-app))
+$(eval $(call BuildPackage,ltq-adsl-app))
diff --git a/package/network/config/ltq-dsl-app/files/dsl_control b/package/platform/lantiq/ltq-adsl-app/files/dsl_control
index 79961aaed7..c3c712db8a 100644
--- a/package/network/config/ltq-dsl-app/files/dsl_control
+++ b/package/platform/lantiq/ltq-adsl-app/files/dsl_control
@@ -297,7 +297,7 @@ start() {
# start CPE dsl daemon in the background
service_start /sbin/dsl_cpe_control -i${xtu} \
-n /sbin/dsl_notify.sh \
- -f /lib/firmware/dsl-fw-${fwannex}.bin
+ -f /lib/firmware/ModemHWE.bin
}
#
diff --git a/package/network/config/ltq-dsl-app/files/dsl_notify.sh b/package/platform/lantiq/ltq-adsl-app/files/dsl_notify.sh
index 5e9f3964e8..5e9f3964e8 100644
--- a/package/network/config/ltq-dsl-app/files/dsl_notify.sh
+++ b/package/platform/lantiq/ltq-adsl-app/files/dsl_notify.sh