std.loongson revision 1.1
11.1Sbouyer# $NetBSD: std.loongson,v 1.1 2011/08/27 13:42:44 bouyer Exp $
21.1Sbouyer
31.1Sbouyermachine evbmips mips
41.1Sbouyerinclude		"conf/std"	# MI standard options
51.1Sbouyer
61.1Sbouyeroptions 	MIPS3_ENABLE_CLOCK_INTR
71.1Sbouyeroptions 	ENABLE_MIPS_16KB_PAGE
81.1Sbouyer
91.1Sbouyeroptions 	PMON
101.1Sbouyer
111.1Sbouyer# Platform support
121.1Sbouyeroptions		MIPS3_LOONGSON2
131.1Sbouyeroptions		MIPS3
141.1Sbouyeroptions		MIPS3_LOONGSON2F
151.1Sbouyeroptions 	LOONGSON2		# IDT LOONGSON2
161.1Sbouyer
171.1Sbouyermakeoptions	LP64="yes"
181.1Sbouyer
191.1Sbouyeroptions 	EXEC_ELF64
201.1Sbouyeroptions		EXEC_ELF32	# exec ELF32 binaries
211.1Sbouyeroptions		EXEC_SCRIPT	# exec #! scripts
221.1Sbouyeroptions 	COMPAT_NETBSD32
231.1Sbouyer
241.1Sbouyer#makeoptions	AFLAGS+="-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop"
251.1Sbouyer#makeoptions	CFLAGS+="-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop"
261.1Sbouyer#makeoptions	CPUFLAGS="-mips3 -mdivide-breaks" # CPU codegen options
271.1Sbouyermakeoptions	CPUFLAGS="-mips3 -mdivide-breaks -Wa,-mfix-loongson2f-btb" # CPU codegen options
281.1Sbouyermakeoptions	DEFTEXTADDR="0x80200000"
291.1Sbouyermakeoptions	BOARDTYPE="loongson"
301.1Sbouyer
311.1Sbouyerinclude "arch/evbmips/conf/files.loongson"
32