diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-03-03 12:47:31 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-03-03 12:47:31 +0000 |
commit | 8798c7386046d5069d84259af251a943935b9367 (patch) | |
tree | bd5efd808c64559099489b862539aa68ed6161cd /target/linux/ramips/rt305x | |
parent | 59ad675ef1c86f6c28a60b78a6c30d02dd22a68d (diff) | |
download | mtk-20170518-8798c7386046d5069d84259af251a943935b9367.zip mtk-20170518-8798c7386046d5069d84259af251a943935b9367.tar.gz mtk-20170518-8798c7386046d5069d84259af251a943935b9367.tar.bz2 |
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>
SVN-Revision: 35853
Diffstat (limited to 'target/linux/ramips/rt305x')
-rw-r--r-- | target/linux/ramips/rt305x/target.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/rt305x/target.mk b/target/linux/ramips/rt305x/target.mk index 2c78756..e355060 100644 --- a/target/linux/ramips/rt305x/target.mk +++ b/target/linux/ramips/rt305x/target.mk @@ -4,6 +4,8 @@ SUBTARGET:=rt305x BOARDNAME:=RT305x based boards +ARCH_PACKAGES:=ramips_24kec +CFLAGS+= -march=24kec define Target/Description Build firmware images for Ralink RT305x based boards. |