diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-04-05 12:36:48 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-04-05 12:36:48 +0000 |
commit | 495296bba9055cfffcf849228e1b6504cc9bdf34 (patch) | |
tree | 435e618367994e3b98162f81834d78066d3be0fc /target/linux/malta | |
parent | 12b925dcbf63591db32c44523b81dad20b46e9a6 (diff) | |
download | upstream-495296bba9055cfffcf849228e1b6504cc9bdf34.tar.gz upstream-495296bba9055cfffcf849228e1b6504cc9bdf34.tar.bz2 upstream-495296bba9055cfffcf849228e1b6504cc9bdf34.zip |
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: 36211
Diffstat (limited to 'target/linux/malta')
-rw-r--r-- | target/linux/malta/Makefile | 2 | ||||
-rw-r--r-- | target/linux/malta/be64/config-default | 14 | ||||
-rw-r--r-- | target/linux/malta/be64/target.mk | 11 | ||||
-rw-r--r-- | target/linux/malta/le64/config-default | 14 | ||||
-rw-r--r-- | target/linux/malta/le64/target.mk | 11 |
5 files changed, 51 insertions, 1 deletions
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile index eb3c8d3d46..e1e580f3cf 100644 --- a/target/linux/malta/Makefile +++ b/target/linux/malta/Makefile @@ -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> diff --git a/target/linux/malta/be64/config-default b/target/linux/malta/be64/config-default new file mode 100644 index 0000000000..6caac8aac1 --- /dev/null +++ b/target/linux/malta/be64/config-default @@ -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 diff --git a/target/linux/malta/be64/target.mk b/target/linux/malta/be64/target.mk new file mode 100644 index 0000000000..30804f4e1e --- /dev/null +++ b/target/linux/malta/be64/target.mk @@ -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 diff --git a/target/linux/malta/le64/config-default b/target/linux/malta/le64/config-default new file mode 100644 index 0000000000..1c13abf88e --- /dev/null +++ b/target/linux/malta/le64/config-default @@ -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 diff --git a/target/linux/malta/le64/target.mk b/target/linux/malta/le64/target.mk new file mode 100644 index 0000000000..bd5c63619e --- /dev/null +++ b/target/linux/malta/le64/target.mk @@ -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 |