Ignore:
Timestamp:
2011-07-17T21:26:35+02:00 (5 years ago)
Author:
blogic
Message:

reorganize ltq-dsl-app

Add menu options to ltq-dsl-app.

Signed-off-by: Luka Perkov <openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ltq-dsl-app/Makefile

    r27538 r27661  
    1717PKG_MD5SUM:=ee315306626b68794d3d3636dabfe161 
    1818 
     19PKG_CONFIG_DEPENDS:=\ 
     20        CONFIG_LTQ_DSL_ENABLE_CLI \ 
     21        CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING 
     22 
    1923include $(INCLUDE_DIR)/package.mk 
    2024 
     
    2630  DEPENDS:=@TARGET_lantiq_danube +kmod-ltq-dsl +libpthread 
    2731  MAINTAINER:=John Crispin <blogic@openwrt.org>  
     32  MENU:=1 
    2833endef 
    2934 
     
    3237endef 
    3338 
    34 IFX_DSL_MAX_DEVICE=1 
    35 IFX_DSL_LINES_PER_DEVICE=1 
    36 IFX_DSL_CHANNELS_PER_LINE=1 
    37 #CONFIG_IFX_CLI=y 
     39define Package/ltq-dsl-app/config 
     40        source "$(SOURCE)/Config.in" 
     41endef 
     42 
     43LTQ_DSL_MAX_DEVICE=1 
     44LTQ_DSL_LINES_PER_DEVICE=1 
     45LTQ_DSL_CHANNELS_PER_LINE=1 
    3846 
    3947CONFIGURE_ARGS += \ 
    40         --with-max-device="$(IFX_DSL_MAX_DEVICE)" \ 
    41         --with-lines-per-device="$(IFX_DSL_LINES_PER_DEVICE)" \ 
    42         --with-channels-per-line="$(IFX_DSL_CHANNELS_PER_LINE)" \ 
     48        --with-max-device="$(LTQ_DSL_MAX_DEVICE)" \ 
     49        --with-lines-per-device="$(LTQ_DSL_LINES_PER_DEVICE)" \ 
     50        --with-channels-per-line="$(LTQ_DSL_CHANNELS_PER_LINE)" \ 
    4351        --enable-danube \ 
    4452        --enable-driver-include="-I$(STAGING_DIR)/usr/include" \ 
     
    6270        --enable-dsl-pm-optional-parameters 
    6371 
    64 ifeq ($(CONFIG_IFX_CLI),y) 
     72ifeq ($(CONFIG_LTQ_DSL_ENABLE_CLI),y) 
    6573CONFIGURE_ARGS += \ 
    6674        --enable-cli-support \ 
    6775        --enable-soap-support 
     76endif 
     77 
     78ifeq ($(CONFIG_LTQ_DSL_ENABLE_DSL_EVENT_POLLING),y) 
     79CONFIGURE_ARGS += \ 
     80        --enable-dsl-event-polling 
    6881endif 
    6982 
Note: See TracChangeset for help on using the changeset viewer.