summaryrefslogtreecommitdiff
path: root/package/ltq-dsl-app/Makefile
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-24 11:31:23 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-24 11:31:23 +0000
commit39caa68329ed3f33188869183a58b03bc1583642 (patch)
treee7ac366672869c4a613cc7f0c8dfcceeeff3563c /package/ltq-dsl-app/Makefile
parent3ea7ce520057866773484edb1d6928f98665378e (diff)
[lantiq] Initial DSL framework
- Removed ifx_cpe_control_init.sh (the old init script) - Created dsl_control (/etc/init.d) - tidied up start and stop - stop calls dsl_notify before killing daemon - has status and lucistat options to provide detail - copes with daemon not running situation - Updated package makefile to use new init script and to build cli support - Provide a dsl_notify.sh script to cope with line up/down events Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29881 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ltq-dsl-app/Makefile')
-rw-r--r--package/ltq-dsl-app/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/ltq-dsl-app/Makefile b/package/ltq-dsl-app/Makefile
index 981a6a7961..f94f3e0b99 100644
--- a/package/ltq-dsl-app/Makefile
+++ b/package/ltq-dsl-app/Makefile
@@ -17,7 +17,7 @@ PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/
PKG_MD5SUM:=ee315306626b68794d3d3636dabfe161
PKG_CONFIG_DEPENDS:=\
- CONFIG_LTQ_DSL_ENABLE_CLI \
+ CONFIG_LTQ_DSL_ENABLE_SOAP \
CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING
include $(INCLUDE_DIR)/package.mk
@@ -55,6 +55,7 @@ CONFIGURE_ARGS += \
--enable-driver-include="-I$(STAGING_DIR)/usr/include" \
--enable-debug-prints \
--enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \
+ --enable-cli-support \
--enable-cmv-scripts \
--enable-debug-tool-interface \
--enable-adsl-led \
@@ -72,9 +73,8 @@ CONFIGURE_ARGS += \
--enable-dsl-pm-line-thresholds \
--enable-dsl-pm-optional-parameters
-ifeq ($(CONFIG_LTQ_DSL_ENABLE_CLI),y)
+ifeq ($(CONFIG_LTQ_DSL_ENABLE_SOAP),y)
CONFIGURE_ARGS += \
- --enable-cli-support \
--enable-soap-support
endif
@@ -87,10 +87,11 @@ TARGET_CFLAGS += -I$(LINUX_DIR)/include
define Package/ltq-dsl-app/install
$(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_BIN) ./files/ifx_cpe_control_init.sh $(1)/etc/init.d/
+ $(INSTALL_BIN) ./files/dsl_control $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dsl_cpe_control $(1)/sbin
+ $(INSTALL_BIN) ./files/dsl_notify.sh $(1)/sbin
endef
$(eval $(call BuildPackage,ltq-dsl-app))