Sat Jul 26 17:24:04 2014 UTC ()
Move sun3 bootloader address to allow loading growing GENERIC kernels.


(tsutsui)
diff -r1.24 -r1.25 src/sys/arch/sun68k/stand/Makefile.inc

cvs diff -r1.24 -r1.25 src/sys/arch/sun68k/stand/Makefile.inc (expand / switch to unified diff)

--- src/sys/arch/sun68k/stand/Makefile.inc 2014/01/12 15:26:31 1.24
+++ src/sys/arch/sun68k/stand/Makefile.inc 2014/07/26 17:24:04 1.25
@@ -1,30 +1,34 @@ @@ -1,30 +1,34 @@
1# $NetBSD: Makefile.inc,v 1.24 2014/01/12 15:26:31 tsutsui Exp $ 1# $NetBSD: Makefile.inc,v 1.25 2014/07/26 17:24:04 tsutsui Exp $
2 2
3# Must have S=/usr/src/sys (or equivalent) 3# Must have S=/usr/src/sys (or equivalent)
4# But note: this is w.r.t. a subdirectory 4# But note: this is w.r.t. a subdirectory
5S= ${.CURDIR}/../../../.. 5S= ${.CURDIR}/../../../..
6 6
7.if defined(SA_PROG) 7.if defined(SA_PROG)
8 8
9.include <bsd.own.mk> 9.include <bsd.own.mk>
10 10
11WARNS?= 2 11WARNS?= 2
12 12
13LIBSA!=cd ${.CURDIR}/../libsa && ${PRINTOBJDIR} 13LIBSA!=cd ${.CURDIR}/../libsa && ${PRINTOBJDIR}
14 14
15MDEC_DIR?=/usr/mdec 15MDEC_DIR?=/usr/mdec
16 16
 17.if ${MACHINE} == "sun3"
 18RELOC?= 280000
 19.else
17RELOC?= 240000 20RELOC?= 240000
 21.endif
18DEFS?= -Dsun3 -D_STANDALONE -D__daddr_t=int32_t 22DEFS?= -Dsun3 -D_STANDALONE -D__daddr_t=int32_t
19INCL?= -I. -I${.CURDIR} -I${.CURDIR}/../libsa -I${S}/lib/libsa -I${S} 23INCL?= -I. -I${.CURDIR} -I${.CURDIR}/../libsa -I${S}/lib/libsa -I${S}
20 24
21.if defined(HAVE_GCC) && ${HAVE_GCC} >= 48 25.if defined(HAVE_GCC) && ${HAVE_GCC} >= 48
22# gcc 4.8 convers -mc68000 to -mcpu=68000 and that breaks gas 26# gcc 4.8 convers -mc68000 to -mcpu=68000 and that breaks gas
23# which works for -march=68010 but breaks for -mcpu=68010 27# which works for -march=68010 but breaks for -mcpu=68010
24CPUFLAGS= -march=68010 28CPUFLAGS= -march=68010
25.else 29.else
26CPUFLAGS= -mc68000 -Wa,-mc68010 30CPUFLAGS= -mc68000 -Wa,-mc68010
27.endif 31.endif
28COPTS= -Os -fno-defer-pop -ffreestanding -fno-unwind-tables 32COPTS= -Os -fno-defer-pop -ffreestanding -fno-unwind-tables
29CFLAGS= -msoft-float 33CFLAGS= -msoft-float
30CPPFLAGS= ${DEFS} ${DEBUG} ${INCL} 34CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}