diff --git a/sys/arch/prep/stand/boot/Makefile b/sys/arch/prep/stand/boot/Makefile index 3d6562e1e9b0..75a58e27fc7c 100644 --- a/sys/arch/prep/stand/boot/Makefile +++ b/sys/arch/prep/stand/boot/Makefile @@ -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+= boot.c clock.c com.c conf.c cons.c devopen.c fd.c 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 --git a/sys/arch/prep/stand/common/Makefile b/sys/arch/prep/stand/common/Makefile index 03d57430f598..d8d4646d1688 100644 --- a/sys/arch/prep/stand/common/Makefile +++ b/sys/arch/prep/stand/common/Makefile @@ -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+= -D_STANDALONE CPPFLAGS+= -I. -I${S} -I${.OBJDIR} CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes +CFLAGS+= -ffreestanding + CLEANFILES+= machine powerpc .BEGIN: machine powerpc