Tue May 19 07:08:21 2015 UTC ()
Let the compiler/assembler know we compiling for octeon.


(matt)
diff -r1.1 -r1.2 src/sys/arch/mips/conf/std.octeon

cvs diff -r1.1 -r1.2 src/sys/arch/mips/conf/std.octeon (expand / switch to unified diff)

--- src/sys/arch/mips/conf/std.octeon 2015/04/29 08:32:00 1.1
+++ src/sys/arch/mips/conf/std.octeon 2015/05/19 07:08:21 1.2
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: std.octeon,v 1.1 2015/04/29 08:32:00 hikaru Exp $ 1# $NetBSD: std.octeon,v 1.2 2015/05/19 07:08:21 matt Exp $
2 2
3machine evbmips mips 3machine evbmips mips
4include "conf/std" # MI standard options 4include "conf/std" # MI standard options
5 5
6options MIPS64_OCTEON 6options MIPS64_OCTEON
7 7
8options MIPS3_ENABLE_CLOCK_INTR 8options MIPS3_ENABLE_CLOCK_INTR
9 9
10makeoptions LP64="yes" 10makeoptions LP64="yes"
11 11
12options MIPS64 12options MIPS64
13options NOFPU # No FPU 13options NOFPU # No FPU
14options EXEC_ELF32 # exec ELF32 binaries 14options EXEC_ELF32 # exec ELF32 binaries
15options EXEC_ELF64 # exec ELF64 binaries 15options EXEC_ELF64 # exec ELF64 binaries
16options COMPAT_NETBSD32 16options COMPAT_NETBSD32
17options EXEC_SCRIPT # exec #! scripts 17options EXEC_SCRIPT # exec #! scripts
18 18
19makeoptions CFLAGS+="-mips64r2" 19makeoptions CFLAGS+="-mips64r2 -march=octeon"
20makeoptions AFLAGS+="-mips64r2" 20makeoptions AFLAGS+="-mips64r2 -march=octeon"
21# There is uboot's boot info around 0x100000. 21# There is uboot's boot info around 0x100000.
22makeoptions DEFTEXTADDR="0x80200000" 22makeoptions DEFTEXTADDR="0x80200000"
23makeoptions BOARDTYPE="octeon" 23makeoptions BOARDTYPE="octeon"
24 24
25include "arch/mips/conf/files.octeon" 25include "arch/mips/conf/files.octeon"