Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/prep/stand Add -ffreestanding



details:   https://anonhg.NetBSD.org/src/rev/ba4640816b0a
branches:  trunk
changeset: 552695:ba4640816b0a
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Sep 30 18:58:39 2003 +0000

description:
Add -ffreestanding

diffstat:

 sys/arch/prep/stand/boot/Makefile   |  3 ++-
 sys/arch/prep/stand/common/Makefile |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 8f6f81a1499b -r ba4640816b0a sys/arch/prep/stand/boot/Makefile
--- a/sys/arch/prep/stand/boot/Makefile Tue Sep 30 15:59:53 2003 +0000
+++ b/sys/arch/prep/stand/boot/Makefile Tue Sep 30 18:58:39 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2001/12/12 12:24:25 lukem Exp $
+#      $NetBSD: Makefile,v 1.9 2003/09/30 18:58:39 matt Exp $
 
 NOMAN= # defined
 
@@ -21,6 +21,7 @@
 SRCS+= filesystem.c inkernel.c io.c tgets.c prf.c monitor.c
 SRCS+= kbd.c ns16550.c vers.c vreset.c vga.c video.c
 
+CFLAGS+= -ffreestanding
 AFLAGS= -x assembler-with-cpp -traditional-cpp
 
 CPPFLAGS= -nostdinc -I${.OBJDIR} -I${.CURDIR}/../mkbootimage -I${S}
diff -r 8f6f81a1499b -r ba4640816b0a sys/arch/prep/stand/common/Makefile
--- a/sys/arch/prep/stand/common/Makefile       Tue Sep 30 15:59:53 2003 +0000
+++ b/sys/arch/prep/stand/common/Makefile       Tue Sep 30 18:58:39 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2001/12/12 01:49:50 tv Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/30 18:58:39 matt Exp $
 
 S= ${.CURDIR}/../../../..
 
@@ -8,6 +8,8 @@
 CPPFLAGS+= -I. -I${S} -I${.OBJDIR}
 CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
 
+CFLAGS+= -ffreestanding
+
 CLEANFILES+= machine powerpc
 
 .BEGIN: machine powerpc



Home | Main Index | Thread Index | Old Index