aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta/be
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:45 +0000
commit12b925dcbf63591db32c44523b81dad20b46e9a6 (patch)
treea3ac662a190cd9a8904649a677bb08521fd44025 /target/linux/malta/be
parent5eb8ba7f192988669482fe51c68d394ed72cc6ec (diff)
downloadupstream-12b925dcbf63591db32c44523b81dad20b46e9a6.tar.gz
upstream-12b925dcbf63591db32c44523b81dad20b46e9a6.tar.bz2
upstream-12b925dcbf63591db32c44523b81dad20b46e9a6.zip
malta: move 32-bits options to subtarget config
Preliminary change to add support for MIPS64-based malta subtargets. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36210
Diffstat (limited to 'target/linux/malta/be')
-rw-r--r--target/linux/malta/be/config-default8
-rw-r--r--target/linux/malta/be/target.mk1
2 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/malta/be/config-default b/target/linux/malta/be/config-default
index ccc0ba4eb1..ed67d802ae 100644
--- a/target/linux/malta/be/config-default
+++ b/target/linux/malta/be/config-default
@@ -1,2 +1,10 @@
+CONFIG_32BIT=y
+# CONFIG_64BIT is not set
CONFIG_CPU_BIG_ENDIAN=y
# CONFIG_CPU_LITTLE_ENDIAN is not set
+CONFIG_CPU_MIPS32=y
+# CONFIG_CPU_MIPS32_R1 is not set
+CONFIG_CPU_MIPS32_R2=y
+# CONFIG_CPU_MIPS64_R1 is not set
+# CONFIG_CPU_MIPS64_R2 is not set
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
diff --git a/target/linux/malta/be/target.mk b/target/linux/malta/be/target.mk
index 92ae58eb9d..90b655c8d2 100644
--- a/target/linux/malta/be/target.mk
+++ b/target/linux/malta/be/target.mk
@@ -3,6 +3,7 @@ ARCH_PACKAGES:=malta_mips
SUBTARGET:=be
BOARDNAME:=Big Endian
FEATURES:=ramdisk mips16
+CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
define Target/Description
Build BE firmware images for MIPS Malta CoreLV board running in