summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-01 18:09:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-01 18:09:18 +0000
commit8f769ee1f795ed9be48cb4147e5c55b6a606d8ba (patch)
tree88cd0e6f3309f7eff63ff493923bc12675912a62 /distrib
parentf5280dd1d48f215456909e9b49aa18a2142ff30c (diff)
build kernel automatically
Diffstat (limited to 'distrib')
-rw-r--r--distrib/i386/floppies/kc/Makefile10
-rw-r--r--distrib/i386/floppies/kc/list4
2 files changed, 10 insertions, 4 deletions
diff --git a/distrib/i386/floppies/kc/Makefile b/distrib/i386/floppies/kc/Makefile
index a8cc2799f10..d42f552a804 100644
--- a/distrib/i386/floppies/kc/Makefile
+++ b/distrib/i386/floppies/kc/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 1996/06/16 11:02:26 deraadt Exp $
+# $Id: Makefile,v 1.7 1996/07/01 18:09:16 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -18,7 +18,13 @@ LIST= ${.CURDIR}/list
CRUNCHCONF= ${.CURDIR}/${CBIN}.conf
MTREE= ${.CURDIR}/mtree.conf
-all: ${CBIN}
+bsd:
+ cd ${.CURDIR}/../../../../sys/arch/i386/conf && config INST
+ cd ${.CURDIR}/../../../../sys/arch/i386/compile/INST && \
+ make clean && make depend && make
+ cp ${.CURDIR}/../../../../sys/arch/i386/compile/INST/bsd bsd
+
+all: ${CBIN} bsd
.ifndef FLOPPY3
.else
.endif
diff --git a/distrib/i386/floppies/kc/list b/distrib/i386/floppies/kc/list
index 600bb787db2..f0c17c843cd 100644
--- a/distrib/i386/floppies/kc/list
+++ b/distrib/i386/floppies/kc/list
@@ -1,7 +1,7 @@
-# $OpenBSD: list,v 1.4 1996/06/21 23:13:34 deraadt Exp $
+# $OpenBSD: list,v 1.5 1996/07/01 18:09:17 deraadt Exp $
# copy the kernel
-COPY ${CURDIR}/../../../../sys/arch/i386/compile/INST/bsd bsd
+COPY ${OBJDIR}/bsd bsd
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/kcbin kcbin