Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/stand Move CFLAGS and CPPFLAGS to {bootxx, of...



details:   https://anonhg.NetBSD.org/src/rev/0a8786126997
branches:  trunk
changeset: 481837:0a8786126997
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Mon Feb 07 16:26:59 2000 +0000

description:
Move CFLAGS and CPPFLAGS to {bootxx,ofwboot}/Makefile to compile installboot
without -D_STANDALONE.

diffstat:

 sys/arch/macppc/stand/Makefile.inc     |  6 +-----
 sys/arch/macppc/stand/bootxx/Makefile  |  5 +++--
 sys/arch/macppc/stand/ofwboot/Makefile |  8 ++++++--
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (54 lines):

diff -r 4f180dd330fc -r 0a8786126997 sys/arch/macppc/stand/Makefile.inc
--- a/sys/arch/macppc/stand/Makefile.inc        Mon Feb 07 14:36:42 2000 +0000
+++ b/sys/arch/macppc/stand/Makefile.inc        Mon Feb 07 16:26:59 2000 +0000
@@ -1,7 +1,3 @@
-#      $NetBSD: Makefile.inc,v 1.2 1998/05/22 12:56:36 drochner Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2000/02/07 16:26:59 tsubai Exp $
 
 BINDIR=                /usr/mdec
-
-CPPFLAGS+=     -D_STANDALONE
-
-CFLAGS+=       -msoft-float
diff -r 4f180dd330fc -r 0a8786126997 sys/arch/macppc/stand/bootxx/Makefile
--- a/sys/arch/macppc/stand/bootxx/Makefile     Mon Feb 07 14:36:42 2000 +0000
+++ b/sys/arch/macppc/stand/bootxx/Makefile     Mon Feb 07 16:26:59 2000 +0000
@@ -1,11 +1,12 @@
-#      $NetBSD: Makefile,v 1.3 1999/05/06 01:04:48 wrstuden Exp $
+#      $NetBSD: Makefile,v 1.4 2000/02/07 16:27:00 tsubai Exp $
 
 PROG= bootxx
 MKMAN= no
 STRIPFLAG=
 BINMODE=444
 
-CFLAGS=-O2 -Wall
+CFLAGS= -O2 -Wall -msoft-float
+CPPFLAGS+= -D_STANDALONE
 
 ${PROG}: ${PROG}.o
        ${LD} -o bootxx -x -N -Ttext 4000 -e _start ${PROG}.o
diff -r 4f180dd330fc -r 0a8786126997 sys/arch/macppc/stand/ofwboot/Makefile
--- a/sys/arch/macppc/stand/ofwboot/Makefile    Mon Feb 07 14:36:42 2000 +0000
+++ b/sys/arch/macppc/stand/ofwboot/Makefile    Mon Feb 07 16:26:59 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2000/01/23 17:04:05 mycroft Exp $
+#      $NetBSD: Makefile,v 1.9 2000/02/07 16:27:00 tsubai Exp $
 
 S=     ${.CURDIR}/../../../..
 
@@ -7,9 +7,13 @@
 SRCS=          Locore.c boot.c ofdev.c net.c netif_of.c alloc.c
 XCOFFXTRA=     Xcoffxtra.c
 XCOFFXTRAOBJ=  Xcoffxtra.o
+CFLAGS+=       -msoft-float
+#CFLAGS+=      -DDEBUG -DNETIF_DEBUG
+CPPFLAGS+=     -D_STANDALONE
+
 .PATH:         ${S}/arch/powerpc/powerpc
 SRCS+=         ofwmagic.S
-#CFLAGS+=      -DDEBUG -DNETIF_DEBUG
+
 MKMAN=         no
 STRIPFLAG=
 BINMODE=       444



Home | Main Index | Thread Index | Old Index