Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun2/conf Updated for ELF support.
details: https://anonhg.NetBSD.org/src/rev/392759f7cebe
branches: trunk
changeset: 511813:392759f7cebe
user: fredette <fredette%NetBSD.org@localhost>
date: Wed Jun 27 17:03:10 2001 +0000
description:
Updated for ELF support.
diffstat:
sys/arch/sun2/conf/Makefile.sun2 | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 5da17fc6daa9 -r 392759f7cebe sys/arch/sun2/conf/Makefile.sun2
--- a/sys/arch/sun2/conf/Makefile.sun2 Wed Jun 27 16:59:57 2001 +0000
+++ b/sys/arch/sun2/conf/Makefile.sun2 Wed Jun 27 17:03:10 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun2,v 1.3 2001/05/29 02:20:26 mrg Exp $
+# $NetBSD: Makefile.sun2,v 1.4 2001/06/27 17:03:10 fredette Exp $
# Makefile for NetBSD
#
@@ -46,13 +46,13 @@
.endif
SUN2= $S/arch/sun2
-TEXTADDR=0000C000
+TEXTADDR=00006000
# Override CPP defaults entirely, so cross-compilation works.
# Keep -nostdinc before all -I flags, similar for -undef ...
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -nostdinc -I. -I$S/arch -I$S
-XDEFS= -undef -D__NetBSD__ -Dm68k -Dmc68000
+XDEFS= -undef -D__NetBSD__ -Dm68k -Dmc68000 -D__ELF__
DEFINES= -D_KERNEL -D_KERNEL_OPT -Dsun2
CPPFLAGS= ${INCLUDES} ${XDEFS} ${DEFINES} ${IDENT} ${PARAM}
# Make it easy to override this on the command line...
@@ -74,6 +74,8 @@
### find out what to use for libkern
KERN_AS= obj
+# XXX lib/libkern/arch/m68k/Makefile.inc needs to know that
+# XXX our MACHINE_ARCH is m68000, and not m68k. --fredette
KERNMISCMAKEFLAGS= MACHINE_ARCH=${MACHINE_ARCH}
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
Home |
Main Index |
Thread Index |
Old Index