blob: 52e713043ce746d2c50dc23cc6ea0e4396016622 (
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
26
27
28
|
# $NetBSD: std.loongson,v 1.2 2017/08/08 12:22:21 maya Exp $
machine evbmips mips
include "conf/std" # MI standard options
options MIPS3_ENABLE_CLOCK_INTR
options ENABLE_MIPS_16KB_PAGE
options PMON
# Platform support
options MIPS3_LOONGSON2
options MIPS3
options MIPS3_LOONGSON2F
options LOONGSON2 # IDT LOONGSON2
makeoptions LP64="yes"
options EXEC_ELF64
options EXEC_ELF32 # exec ELF32 binaries
options EXEC_SCRIPT # exec #! scripts
options COMPAT_NETBSD32
makeoptions CPUFLAGS="-mips3 -mdivide-breaks -Wa,-mfix-loongson2f-btb -Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop" # CPU codegen options
makeoptions DEFTEXTADDR="0x80200000"
makeoptions BOARDTYPE="loongson"
include "arch/evbmips/conf/files.loongson"
|