Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Change to support OR1K
details: https://anonhg.NetBSD.org/src/rev/0777e944ee61
branches: trunk
changeset: 331979:0777e944ee61
user: matt <matt%NetBSD.org@localhost>
date: Wed Sep 03 19:22:53 2014 +0000
description:
Change to support OR1K
diffstat:
share/mk/bsd.endian.mk | 3 ++-
share/mk/bsd.own.mk | 14 +++++++++++---
share/mk/bsd.sys.mk | 5 +++--
3 files changed, 16 insertions(+), 6 deletions(-)
diffs (81 lines):
diff -r 09af7409de7b -r 0777e944ee61 share/mk/bsd.endian.mk
--- a/share/mk/bsd.endian.mk Wed Sep 03 19:11:24 2014 +0000
+++ b/share/mk/bsd.endian.mk Wed Sep 03 19:22:53 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.endian.mk,v 1.20 2014/08/10 05:57:31 matt Exp $
+# $NetBSD: bsd.endian.mk,v 1.21 2014/09/03 19:22:53 matt Exp $
.if !defined(_BSD_ENDIAN_MK_)
_BSD_ENDIAN_MK_=1
@@ -19,6 +19,7 @@
${MACHINE_ARCH} == "hppa" || \
${MACHINE_ARCH} == "m68000" || \
${MACHINE_ARCH} == "m68k" || \
+ ${MACHINE_ARCH} == "or1k" || \
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "powerpc64" || \
${MACHINE_ARCH} == "sparc" || \
diff -r 09af7409de7b -r 0777e944ee61 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Wed Sep 03 19:11:24 2014 +0000
+++ b/share/mk/bsd.own.mk Wed Sep 03 19:22:53 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.833 2014/08/23 02:26:36 matt Exp $
+# $NetBSD: bsd.own.mk,v 1.834 2014/09/03 19:22:53 matt Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -14,7 +14,7 @@
#
# CPU model, derived from MACHINE_ARCH
#
-MACHINE_CPU= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:C/arm.*/arm/:C/earm.*/arm/:S/earm/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/}
+MACHINE_CPU=
${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:C/arm.*/arm/:C/earm.*/arm/:S/earm/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/:S/or1knd/or1k/}
#
# Subdirectory used below ${RELEASEDIR} when building a release
@@ -711,6 +711,13 @@
# No GDB support for aarch64
MKGDB.aarch64= no
+MKGDB.or1k= no
+
+# No kernel modules for or1k (yet)
+MKKMOD.or1k= no
+
+# No profiling for or1k (yet)
+MKPROFILE.or1k= no
#
# The m68000 port is incomplete.
@@ -901,10 +908,11 @@
# arm is always softfloat unless it isn't
# emips is always softfloat.
# coldfire is always softfloat
+# or1k is always softfloat
#
.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el" || \
(${MACHINE_CPU} == "arm" && ${MACHINE_ARCH:M*hf*} == "") || \
- ${MACHINE_ARCH} == "coldfire" || \
+ ${MACHINE_ARCH} == "coldfire" || ${MACHINE_CPU} == "or1k" || \
${MACHINE} == "emips"
MKSOFTFLOAT?= yes
.endif
diff -r 09af7409de7b -r 0777e944ee61 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Wed Sep 03 19:11:24 2014 +0000
+++ b/share/mk/bsd.sys.mk Wed Sep 03 19:22:53 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.244 2014/08/14 18:39:38 joerg Exp $
+# $NetBSD: bsd.sys.mk,v 1.245 2014/09/03 19:22:53 matt Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -116,7 +116,8 @@
.if "${ACTIVE_CC}" == "gcc" && "${HAVE_GCC}" == "48" && \
( ${MACHINE_CPU} == "sh3" || \
${MACHINE_ARCH} == "vax" || \
- ${MACHINE_CPU} == "m68k" )
+ ${MACHINE_CPU} == "m68k" || \
+ ${MACHINE_CPU} == "or1k" )
COPTS+= -Wno-error=stack-protector
.endif
Home |
Main Index |
Thread Index |
Old Index