1 1.1 bouyer # $NetBSD: std.loongson,v 1.1 2011/08/27 13:42:44 bouyer 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.1 bouyer #makeoptions AFLAGS+="-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop" 25 1.1 bouyer #makeoptions CFLAGS+="-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop" 26 1.1 bouyer #makeoptions CPUFLAGS="-mips3 -mdivide-breaks" # CPU codegen options 27 1.1 bouyer makeoptions CPUFLAGS="-mips3 -mdivide-breaks -Wa,-mfix-loongson2f-btb" # CPU codegen options 28 1.1 bouyer makeoptions DEFTEXTADDR="0x80200000" 29 1.1 bouyer makeoptions BOARDTYPE="loongson" 30 1.1 bouyer 31 1.1 bouyer include "arch/evbmips/conf/files.loongson" 32