From 1b27591ddbdd2d359ea6771fa878c8562be98fc5 Mon Sep 17 00:00:00 2001 From: Tony Ambardar Date: Thu, 13 Aug 2020 22:11:22 -0700 Subject: malta: update MIPS64 ISA to R2 Usage of current R1 ISA is inconsistent with the MIPS32 subtarget, little used and has limited utility for testing. Many distros target a minimum R2 ISA. Debian MIPS 32-bit/64-bit ports all use MIPS R2 ISA since Stretch, for example. Fedora's MIPS arch also targets the R2 ISA for 32-bit/64-bit. Widely used MIPS64 platforms like Octeon are based on the MIPS R2 ISA or later, and benefit from having a compatible test platform in OpenWRT. While Linux does support MIPS64 R1 targets, its usefulness for development and testing is limited. As an example, the modern Linux eBPF JIT requires a MIPS R2 ISA or later. Signed-off-by: Tony Ambardar [Refresh config and fix README] Signed-off-by: Hauke Mehrtens --- include/target.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index 93c1c42552..d593a5f0df 100644 --- a/include/target.mk +++ b/include/target.mk @@ -198,6 +198,7 @@ ifeq ($(DUMP),1) CPU_CFLAGS += -mno-branch-likely CPU_CFLAGS_mips32 = -mips32 -mtune=mips32 CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64 + CPU_CFLAGS_mips64r2 = -mips64r2 -mtune=mips64r2 -mabi=64 CPU_CFLAGS_24kc = -mips32r2 -mtune=24kc CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc CPU_CFLAGS_octeonplus = -march=octeon+ -mabi=64 -- cgit v1.2.3