diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-05-26 16:08:44 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-05-26 16:08:44 +0000 |
commit | ae415c5f809531e1ff6823250f15e15c5e221f34 (patch) | |
tree | 4cfba69d0d9e0510f5310b3a3678bedb836ab238 | |
parent | 252c4793e3f41fd735593d065ef388116f3d12bc (diff) |
compile i386 ramdisk with -Os (conserve size)
-rw-r--r-- | distrib/i386/floppies/ramdisk/Makefile | 7 | ||||
-rw-r--r-- | distrib/ramdisk/Makefile | 6 |
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 |