summaryrefslogtreecommitdiff
path: root/distrib/i386/floppies/ramdisk
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-05-26 16:08:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-05-26 16:08:44 +0000
commitae415c5f809531e1ff6823250f15e15c5e221f34 (patch)
tree4cfba69d0d9e0510f5310b3a3678bedb836ab238 /distrib/i386/floppies/ramdisk
parent252c4793e3f41fd735593d065ef388116f3d12bc (diff)
compile i386 ramdisk with -Os (conserve size)
Diffstat (limited to 'distrib/i386/floppies/ramdisk')
-rw-r--r--distrib/i386/floppies/ramdisk/Makefile7
1 files changed, 5 insertions, 2 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