ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
authorGabor Juhos <juhosg@openwrt.org>
Sun, 3 Mar 2013 12:47:31 +0000 (12:47 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 3 Mar 2013 12:47:31 +0000 (12:47 +0000)
commitba05322e57bbac3c018258113c553b085141b0fc
treec19c3ffcf37bf44ecc5c79e4bdda676ebbbc1d85
parent1720de28720e3695df6db783de009ed8a116e54d
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 <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35853 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/Makefile
target/linux/ramips/rt288x/target.mk
target/linux/ramips/rt305x/target.mk
target/linux/ramips/rt3883/target.mk