From ae415c5f809531e1ff6823250f15e15c5e221f34 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Wed, 26 May 1999 16:08:44 +0000 Subject: compile i386 ramdisk with -Os (conserve size) --- distrib/i386/floppies/ramdisk/Makefile | 7 +++++-- distrib/ramdisk/Makefile | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'distrib') 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 -- cgit v1.2.3