Tune the XWAY subtarget cflags.

This patch sets the cflags -mtune=34kc -mdsp only in XWAY subtarget, while the 
others remain with mtune=mips32r2.
Although the Danube has a Mips 24KEc core performs well with the above cflags.

Signed-off-by: José Vázquez Fernández <ppvazquez...@gmail.com>


Index: target/linux/lantiq/svip_be/target.mk
===================================================================
--- target/linux/lantiq/svip_be/target.mk       (revisión: 36913)
+++ target/linux/lantiq/svip_be/target.mk       (copia de trabajo)
@@ -3,6 +3,7 @@
 BOARDNAME:=SVIP Big Endian
 FEATURES:=squashfs
 DEVICE_TYPE:=other
+CFLAGS+= -mtune=mips32r2
 
 DEFAULT_PACKAGES+= uboot-svip hostapd-mini
 
Index: target/linux/lantiq/xway/target.mk
===================================================================
--- target/linux/lantiq/xway/target.mk  (revisión: 36913)
+++ target/linux/lantiq/xway/target.mk  (copia de trabajo)
@@ -2,6 +2,7 @@
 SUBTARGET:=xway
 BOARDNAME:=XWAY
 FEATURES:=squashfs atm
+CFLAGS+= -mtune=34kc -mdsp
 
 DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug
 
Index: target/linux/lantiq/svip_le/target.mk
===================================================================
--- target/linux/lantiq/svip_le/target.mk       (revisión: 36913)
+++ target/linux/lantiq/svip_le/target.mk       (copia de trabajo)
@@ -3,6 +3,7 @@
 BOARDNAME:=SVIP Little Endian
 FEATURES:=squashfs
 DEVICE_TYPE:=other
+CFLAGS+= -mtune=mips32r2
 
 DEFAULT_PACKAGES+= uboot-svip hostapd-mini
 
Index: target/linux/lantiq/falcon/target.mk
===================================================================
--- target/linux/lantiq/falcon/target.mk        (revisión: 36913)
+++ target/linux/lantiq/falcon/target.mk        (copia de trabajo)
@@ -3,6 +3,7 @@
 BOARDNAME:=Falcon
 FEATURES:=squashfs
 DEVICE_TYPE:=other
+CFLAGS+= -mtune=mips32r2
 
 DEFAULT_PACKAGES+= kmod-ifxos gpon-base-files kmod-leds-gpio 
kmod-ledtrig-heartbeat \
        kmod-gpon-optic-drv gpon-optic-drv kmod-gpon-onu-drv gpon-onu-drv \
Index: target/linux/lantiq/ase/target.mk
===================================================================
--- target/linux/lantiq/ase/target.mk   (revisión: 36913)
+++ target/linux/lantiq/ase/target.mk   (copia de trabajo)
@@ -2,6 +2,7 @@
 SUBTARGET:=ase
 BOARDNAME:=Amazon-SE
 FEATURES:=squashfs atm
+CFLAGS+= -mtune=mips32r2
 
 DEFAULT_PACKAGES+=kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl 
kmod-ltq-dsl-ase ltq-dsl-app
 
Index: target/linux/lantiq/Makefile
===================================================================
--- target/linux/lantiq/Makefile        (revisión: 36913)
+++ target/linux/lantiq/Makefile        (copia de trabajo)
@@ -13,7 +13,7 @@
 
 LINUX_VERSION:=3.8.13
 
-CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely
+CFLAGS=-Os -pipe -mips32r2 -fno-caller-saves -mno-branch-likely
 
 define Target/Description
        Build firmware images for Lantiq SoC


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to