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