From 8798c7386046d5069d84259af251a943935b9367 Mon Sep 17 00:00:00 2001 From: Gabor Juhos 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 SVN-Revision: 35853 --- target/linux/ramips/rt288x/target.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ramips/rt288x') diff --git a/target/linux/ramips/rt288x/target.mk b/target/linux/ramips/rt288x/target.mk index cb3b719..f826eab 100644 --- a/target/linux/ramips/rt288x/target.mk +++ b/target/linux/ramips/rt288x/target.mk @@ -4,6 +4,7 @@ SUBTARGET:=rt288x BOARDNAME:=RT288x based boards +CFLAGS+= -mips32r2 -mtune=mips32r2 define Target/Description Build firmware images for Ralink RT288x based boards. -- cgit v1.1