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
This commit is contained in:
Florian Fainelli 2013-04-05 12:36:45 +00:00
parent 5eb8ba7f19
commit 12b925dcbf
5 changed files with 18 additions and 1 deletions

View file

@ -8,7 +8,6 @@ include $(TOPDIR)/rules.mk
BOARD:=malta
BOARDNAME:=MIPS Malta CoreLV board (qemu)
CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
SUBTARGETS:=le be
INITRAMFS_EXTRA_FILES:=
MAINTAINER:=Florian Fainelli <florian@openwrt.org>

View file

@ -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

View file

@ -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

View file

@ -1,2 +1,10 @@
CONFIG_32BIT=y
# CONFIG_64BIT is not set
# CONFIG_CPU_BIG_ENDIAN is not set
CONFIG_CPU_LITTLE_ENDIAN=y
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

View file

@ -3,6 +3,7 @@ ARCH_PACKAGES:=malta_mipsel
SUBTARGET:=le
BOARDNAME:=Little Endian
FEATURES:=ramdisk mips16
CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
define Target/Description
Build LE firmware images for MIPS Malta CoreLV board running in