summaryrefslogtreecommitdiff
path: root/sys/arch/mips/conf/std.octeon
blob: 082588f395be402ab561bf7716e1284b05a5a311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#	$NetBSD: std.octeon,v 1.6 2021/05/11 09:21:24 simonb Exp $

machine evbmips mips
include 	"conf/std"	# MI standard options

options 	MIPS64_OCTEON

options 	MIPS3_ENABLE_CLOCK_INTR

makeoptions	LP64="yes"

options 	MIPS64R2
options 	NOFPU		# No FPU
options 	EXEC_ELF32	# exec ELF32 binaries
options 	EXEC_ELF64	# exec ELF64 binaries
options 	COMPAT_NETBSD32
options 	EXEC_SCRIPT	# exec #! scripts

makeoptions	CFLAGS+="-mips64r2 -march=octeon+"
makeoptions	AFLAGS+="-mips64r2 -march=octeon+"
# There is uboot's boot info around 0x100000.
makeoptions	DEFTEXTADDR="0x80200000"
makeoptions	BOARDTYPE="octeon"

include 	"arch/mips/conf/files.octeon"