X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;ds=sidebyside;f=package%2Fltq-dsl-app%2FMakefile;h=f94f3e0b99a0dfc4e7caf39686415773455d1260;hb=f8d8046b51814c906bfca0722b84cda5a9fafc0b;hp=fb3e4ac64437f5593ec3c6f2faaff273a78408e3;hpb=e67a287eaf1bc6c0f5167604e9756e5e344f2c3d;p=openwrt.git diff --git a/package/ltq-dsl-app/Makefile b/package/ltq-dsl-app/Makefile index fb3e4ac644..f94f3e0b99 100644 --- a/package/ltq-dsl-app/Makefile +++ b/package/ltq-dsl-app/Makefile @@ -17,17 +17,20 @@ 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 +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 + define Package/ltq-dsl-app SECTION:=net CATEGORY:=Network TITLE:=Lantiq DSL userland tool URL:=http://www.lantiq.com/ - DEPENDS:=@TARGET_lantiq_danube +kmod-ltq-dsl +libpthread + DEPENDS:=@TARGET_lantiq&&!(TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable) +libpthread MAINTAINER:=John Crispin MENU:=1 endef @@ -52,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 \ @@ -69,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 @@ -84,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))