1# $NetBSD: std.loongson,v 1.2 2017/08/08 12:22:21 maya Exp $
2
3machine evbmips mips
4include		"conf/std"	# MI standard options
5
6options 	MIPS3_ENABLE_CLOCK_INTR
7options 	ENABLE_MIPS_16KB_PAGE
8
9options 	PMON
10
11# Platform support
12options		MIPS3_LOONGSON2
13options		MIPS3
14options		MIPS3_LOONGSON2F
15options 	LOONGSON2		# IDT LOONGSON2
16
17makeoptions	LP64="yes"
18
19options 	EXEC_ELF64
20options		EXEC_ELF32	# exec ELF32 binaries
21options		EXEC_SCRIPT	# exec #! scripts
22options 	COMPAT_NETBSD32
23
24makeoptions	CPUFLAGS="-mips3 -mdivide-breaks -Wa,-mfix-loongson2f-btb -Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop" # CPU codegen options
25makeoptions	DEFTEXTADDR="0x80200000"
26makeoptions	BOARDTYPE="loongson"
27
28include "arch/evbmips/conf/files.loongson"
29