mirror of https://github.com/hak5/openwrt-owl.git
malta: add le64 and be64 sub targets
These two subtargets are used to build a 64-bit malta kernel along with 64-bit userland support. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36211owl
parent
12b925dcbf
commit
495296bba9
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
BOARD:=malta
|
||||
BOARDNAME:=MIPS Malta CoreLV board (qemu)
|
||||
SUBTARGETS:=le be
|
||||
SUBTARGETS:=le be le64 be64
|
||||
INITRAMFS_EXTRA_FILES:=
|
||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
CONFIG_64BIT=y
|
||||
# CONFIG_32BIT is not set
|
||||
CONFIG_MIPS32_COMPAT=y
|
||||
CONFIG_MIPS32_O32=y
|
||||
CONFIG_MIPS32_N32=y
|
||||
# CONFIG_HUGETLBFS 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 is not set
|
||||
CONFIG_CPU_MIPS64_R1=y
|
||||
# CONFIG_CPU_MIPS64_R2 is not set
|
||||
CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
|
|
@ -0,0 +1,11 @@
|
|||
ARCH:=mips64
|
||||
ARCH_PACKAGES:=malta_mips64
|
||||
SUBTARGET:=be64
|
||||
BOARDNAME:=Big Endian (64-bits)
|
||||
CFLAGS:=-Os -pipe -mips64 -mtune=mips64 -fno-caller-saves
|
||||
FEATURES:=ramdisk
|
||||
|
||||
define Target/Description
|
||||
Build BE firmware images for MIPS Malta CoreLV board running in
|
||||
big-endian and 64-bits mode
|
||||
endef
|
|
@ -0,0 +1,14 @@
|
|||
CONFIG_64BIT=y
|
||||
# CONFIG_32BIT is not set
|
||||
CONFIG_MIPS32_COMPAT=y
|
||||
CONFIG_MIPS32_O32=y
|
||||
CONFIG_MIPS32_N32=y
|
||||
# CONFIG_HUGETLBFS is not set
|
||||
# CONFIG_CPU_BIG_ENDIAN is not set
|
||||
CONFIG_CPU_LITTLE_ENDIAN=y
|
||||
CONFIG_CPU_MIPS64=y
|
||||
# CONFIG_CPU_MIPS32_R1 is not set
|
||||
# CONFIG_CPU_MIPS32_R2 is not set
|
||||
CONFIG_CPU_MIPS64_R1=y
|
||||
# CONFIG_CPU_MIPS64_R2 is not set
|
||||
CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
|
|
@ -0,0 +1,11 @@
|
|||
ARCH:=mips64el
|
||||
ARCH_PACKAGES:=malta_mipsel64
|
||||
SUBTARGET:=le64
|
||||
BOARDNAME:=Little Endian (64-bits)
|
||||
CFLAGS:=-Os -pipe -mips64 -mtune=mips64 -fno-caller-saves
|
||||
FEATURES:=ramdisk
|
||||
|
||||
define Target/Description
|
||||
Build LE firmware images for MIPS Malta CoreLV board running in
|
||||
little-endian and 64-bits mode.
|
||||
endef
|
Loading…
Reference in New Issue