lantiq: debloat the ltq-vdsl-app binary
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Dec 2015 20:26:17 +0000 (20:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 4 Dec 2015 20:26:17 +0000 (20:26 +0000)
Use the 'typical' compile configuration instead of 'full', which most
notably excludes the soap support.

/sbin/vdsl_cpe_control shrinks down to ~50%, from 178kb(!) to 90kb.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 47769

package/network/config/ltq-vdsl-app/Makefile

index db4e0bbd4e580c6cad33bc13c559e4e99f7871dd..da2451b8bce8c1bae8d736e9ff63d74f63d20f5c 100644 (file)
@@ -54,10 +54,10 @@ CONFIGURE_ARGS += \
        --enable-cli-support
 endif
 
        --enable-cli-support
 endif
 
-CONFIGURE_ARGS += --enable-model=full
+#CONFIGURE_ARGS += --enable-model=full
 #CONFIGURE_ARGS += --enable-model=lite
 #CONFIGURE_ARGS += --enable-model=footprint
 #CONFIGURE_ARGS += --enable-model=lite
 #CONFIGURE_ARGS += --enable-model=footprint
-#CONFIGURE_ARGS += --enable-model=typical
+CONFIGURE_ARGS += --enable-model=typical
 #CONFIGURE_ARGS += --enable-model=debug
 
 define Package/ltq-vdsl-app/install
 #CONFIGURE_ARGS += --enable-model=debug
 
 define Package/ltq-vdsl-app/install