lantiq: ltq-vdsl-app: cleanup Makefile

- CONFIG_IFX_CLI is unused, couldn't find any reference to this config variable
- use disable-feature instead of enable-feature=no
- reorder configure args to have depending args together
- remove configure args which set the default value
- group enable-model and configure args which enable or disable features that
  are covered by the feature set

The config.log contains the same values as before. The vdsl_cpe_control binary
has the same checksum as before.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47888
This commit is contained in:
Felix Fietkau 2015-12-13 17:04:12 +00:00
parent d984e3836f
commit be00acca5a

View file

@ -34,31 +34,25 @@ define Package/ltq-vdsl-app/description
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--with-max-device="1" \
--with-lines-per-device="1" \
--with-channels-per-line="1" \
--enable-vrx \ --enable-vrx \
--enable-vrx-device=vr9 \
--enable-driver-include="-I$(STAGING_DIR)/usr/include/drv_vdsl_cpe_api" \ --enable-driver-include="-I$(STAGING_DIR)/usr/include/drv_vdsl_cpe_api" \
--enable-device-driver-include="-I$(STAGING_DIR)/usr/include/vdsl/" \ --enable-device-driver-include="-I$(STAGING_DIR)/usr/include/vdsl/" \
--enable-add-appl-cflags="-DMAX_CLI_PIPES=1" \
--enable-ifxos \ --enable-ifxos \
--enable-ifxos-include="-I$(STAGING_DIR)/usr/include/ifxos" \ --enable-ifxos-include="-I$(STAGING_DIR)/usr/include/ifxos" \
--enable-ifxos-library="-I$(STAGING_DIR)/usr/lib" \ --enable-ifxos-library="-I$(STAGING_DIR)/usr/lib" \
--enable-dsl-ceoc=no \ --enable-add-appl-cflags="-DMAX_CLI_PIPES=1" \
--enable-vrx-device=vr9 \
--disable-dti \
--enable-debug \ --enable-debug \
--enable-dsl-pm-showtime --disable-dti \
--with-channels-per-line="1" \
ifeq ($(CONFIG_IFX_CLI),y)
CONFIGURE_ARGS += \
--enable-cli-support
endif
#CONFIGURE_ARGS += --enable-model=full #CONFIGURE_ARGS += --enable-model=full
#CONFIGURE_ARGS += --enable-model=lite #CONFIGURE_ARGS += --enable-model=lite
#CONFIGURE_ARGS += --enable-model=footprint #CONFIGURE_ARGS += --enable-model=footprint
CONFIGURE_ARGS += --enable-model=typical CONFIGURE_ARGS += \
--enable-model=typical \
--enable-dsl-pm-showtime \
--disable-dsl-ceoc
#CONFIGURE_ARGS += --enable-model=debug #CONFIGURE_ARGS += --enable-model=debug
define Package/ltq-vdsl-app/install define Package/ltq-vdsl-app/install