summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/i386/floppies/ramdisk/Makefile7
-rw-r--r--distrib/ramdisk/Makefile6
2 files changed, 9 insertions, 4 deletions
diff --git a/distrib/i386/floppies/ramdisk/Makefile b/distrib/i386/floppies/ramdisk/Makefile
index 2f6a5233dfa..a17a610b28b 100644
--- a/distrib/i386/floppies/ramdisk/Makefile
+++ b/distrib/i386/floppies/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.32 1999/04/10 02:16:13 deraadt Exp $
+# $OpenBSD: Makefile,v 1.33 1999/05/26 16:08:43 espie Exp $
TOP= ${.CURDIR}/..
@@ -58,10 +58,13 @@ bsd.rd: ${IMAGE} bsd rdsetroot
cp bsd bsd.rd
${.OBJDIR}/rdsetroot bsd.rd < ${IMAGE}
+
bsd:
cd ${.CURDIR}/../../../../sys/arch/i386/conf && config RAMDISK
cd ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK && \
- make clean && make
+ make clean && COPTS=-Os make
+# cd ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK && \
+# make clean && make
cp ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK/bsd bsd
${IMAGE}: ${CBIN} rd_setup do_files rd_teardown
diff --git a/distrib/ramdisk/Makefile b/distrib/ramdisk/Makefile
index c0073065e5f..4554866e0cf 100644
--- a/distrib/ramdisk/Makefile
+++ b/distrib/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 1998/06/27 20:52:11 todd Exp $
+# $OpenBSD: Makefile,v 1.15 1999/05/26 16:08:43 espie Exp $
REV= ${OSrev}
@@ -74,7 +74,9 @@ ${FLOPPY}: bsd.gz ${BOOT} ${BOOTXX}
bsd:
cd ${.CURDIR}/../../sys/arch/${MACHINE}/conf && config ${KERNEL}
cd ${.CURDIR}/../../sys/arch/${MACHINE}/compile/${KERNEL} && \
- make depend && make clean && make
+ make depend && make clean && COPTS=-Os make
+# cd ${.CURDIR}/../../sys/arch/${MACHINE}/compile/${KERNEL} && \
+# make depend && make clean && make
cp ${.CURDIR}/../../sys/arch/${MACHINE}/compile/${KERNEL}/bsd bsd
bsd.rd: bsd ${IMAGE} rdsetroot