summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 02:00:39 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 02:00:39 +0000
commit568f5ffa42a69bf880d454edbf2a5a3d98b166c9 (patch)
treed20da566a2193c47bc32443cf65ebbc484ad7a85 /package
parenta16192382cba6631d70f4c1c58123e988a18e070 (diff)
[lantiq] move ltq-adsl-tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34694 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 728fe65b3..728fe65b3 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 37a72ee33..92445e558 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 79961aaed..c3c712db8 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 5e9f3964e..5e9f3964e 100644
--- a/package/network/config/ltq-dsl-app/files/dsl_notify.sh
+++ b/package/platform/lantiq/ltq-adsl-app/files/dsl_notify.sh