1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:59:40 +02:00

[lantiq] move ltq-adsl-tool

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34694 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-12-15 02:00:39 +00:00
parent a16192382c
commit 568f5ffa42
4 changed files with 10 additions and 11 deletions

View File

@ -23,25 +23,24 @@ PKG_CONFIG_DEPENDS:=\
CONFIG_LTQ_DSL_ENABLE_SOAP \ CONFIG_LTQ_DSL_ENABLE_SOAP \
CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING
PKG_BUILD_DEPENDS:=TARGET_lantiq_xway:kmod-ltq-adsl-danube TARGET_lantiq_ase:kmod-ltq-adsl-ase
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
PKG_BUILD_DEPENDS:=TARGET_lantiq_danube:kmod-ltq-dsl-danube TARGET_lantiq_ar9:kmod-ltq-dsl-ar9 \ define Package/ltq-adsl-app
TARGET_lantiq_vr9:kmod-ltq-dsl-vr9 TARGET_lantiq_ase:kmod-ltq-dsl-ase
define Package/ltq-dsl-app
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
TITLE:=Lantiq DSL userland tool TITLE:=Lantiq DSL userland tool
URL:=http://www.lantiq.com/ 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 MENU:=1
endef endef
define Package/ltq-dsl-app/description define Package/ltq-adsl-app/description
Infineon DSL CPE API for Amazon SE, Danube and Vinax. Infineon DSL CPE API for Amazon SE, Danube and Vinax.
endef endef
define Package/ltq-dsl-app/config define Package/ltq-adsl-app/config
source "$(SOURCE)/Config.in" source "$(SOURCE)/Config.in"
endef endef
@ -54,7 +53,7 @@ CONFIGURE_ARGS += \
--with-lines-per-device="$(LTQ_DSL_LINES_PER_DEVICE)" \ --with-lines-per-device="$(LTQ_DSL_LINES_PER_DEVICE)" \
--with-channels-per-line="$(LTQ_DSL_CHANNELS_PER_LINE)" \ --with-channels-per-line="$(LTQ_DSL_CHANNELS_PER_LINE)" \
--enable-danube \ --enable-danube \
--enable-driver-include="-I$(STAGING_DIR)/usr/include" \ --enable-driver-include="-I$(STAGING_DIR)/usr/include/adsl/" \
--enable-debug-prints \ --enable-debug-prints \
--enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \ --enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \
--enable-cli-support \ --enable-cli-support \
@ -87,7 +86,7 @@ endif
TARGET_CFLAGS += -I$(LINUX_DIR)/include 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_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/dsl_control $(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 $(INSTALL_BIN) ./files/dsl_notify.sh $(1)/sbin
endef endef
$(eval $(call BuildPackage,ltq-dsl-app)) $(eval $(call BuildPackage,ltq-adsl-app))

View File

@ -297,7 +297,7 @@ start() {
# start CPE dsl daemon in the background # start CPE dsl daemon in the background
service_start /sbin/dsl_cpe_control -i${xtu} \ service_start /sbin/dsl_cpe_control -i${xtu} \
-n /sbin/dsl_notify.sh \ -n /sbin/dsl_notify.sh \
-f /lib/firmware/dsl-fw-${fwannex}.bin -f /lib/firmware/ModemHWE.bin
} }
# #