From f80c6bae0924999e130f5651a1fd58bd2351f12c Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 3 Mar 2013 12:47:31 +0000 Subject: ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension All known rt305x and rt3883 implementations support at least the 24kec instruction set which includes the DSP extension. For rt288x, the previous value mips32r2 is kept. The cpu target is now set per sub-archtecture, according to cpu-feature-overrides.h of each SoC family. [juhosg: define ARCH_PACKAGES variable for rt305x/rt3883 in order to differentiate the packages compiled with the 24Kec option.] Signed-off-by: Daniel Golle Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35853 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/Makefile') diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile index 039a57c08d..b02c8016ed 100644 --- a/target/linux/ramips/Makefile +++ b/target/linux/ramips/Makefile @@ -10,7 +10,7 @@ ARCH:=mipsel BOARD:=ramips BOARDNAME:=Ralink RT288x/RT3xxx SUBTARGETS:=rt288x rt305x rt3883 -CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely +CFLAGS:=-Os -pipe -fno-caller-saves -mno-branch-likely FEATURES:=squashfs LINUX_VERSION:=3.7.9 -- cgit v1.2.3