Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk For mips64, build kmodules using N64 ABI
details: https://anonhg.NetBSD.org/src/rev/f75028a29d93
branches: trunk
changeset: 337894:f75028a29d93
user: matt <matt%NetBSD.org@localhost>
date: Sat May 02 18:18:13 2015 +0000
description:
For mips64, build kmodules using N64 ABI
diffstat:
share/mk/bsd.kmodule.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 09908e386b77 -r f75028a29d93 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk Sat May 02 18:16:17 2015 +0000
+++ b/share/mk/bsd.kmodule.mk Sat May 02 18:18:13 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kmodule.mk,v 1.52 2014/11/13 02:31:24 christos Exp $
+# $NetBSD: bsd.kmodule.mk,v 1.53 2015/05/02 18:18:13 matt Exp $
# We are not building this with PIE
MKPIE=no
@@ -37,6 +37,12 @@
CFLAGS+= -fno-pic
.elif ${MACHINE_CPU} == "riscv"
CFLAGS+= -fPIC -Wa,-fno-pic
+.elif ${MACHINE_ARCH} == "mips64eb"
+CFLAGS+= -mabi=64
+LDFLAGS+= -Wl,-m,elf64btsmip
+.elif ${MACHINE_ARCH} == "mips64el"
+CFLAGS+= -mabi=64
+LDFLAGS+= -Wl,-m,elf64ltsmip
.endif
.if ${MACHINE_CPU} == "sparc64"
Home |
Main Index |
Thread Index |
Old Index