summaryrefslogtreecommitdiff
path: root/distrib/i386/floppies/kc/list
blob: 600bb787db2ed87529bb7043e81257c67a105444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#	$OpenBSD: list,v 1.4 1996/06/21 23:13:34 deraadt Exp $

# copy the kernel
COPY	${CURDIR}/../../../../sys/arch/i386/compile/INST/bsd	bsd

# copy the crunched binary, link to it, and kill it
COPY	${OBJDIR}/kcbin	kcbin
LINK	kcbin		bin/cp
LINK	kcbin		bin/dd
LINK	kcbin		bin/sh
LINK	kcbin		bin/test
LINK	kcbin		bin/[
LINK	kcbin		sbin/disklabel
LINK	kcbin		sbin/fsck_ffs
LINK	kcbin		sbin/fsck
LINK	kcbin		sbin/halt
LINK	kcbin		sbin/init
LINK	kcbin		sbin/mount
LINK	kcbin		sbin/mount_ffs
LINK	kcbin		sbin/reboot
LINK	kcbin		sbin/umount
SPECIAL	/bin/rm kcbin

# copy the MAKEDEV script and make some devices
COPY	${CURDIR}/../../../../etc/etc.i386/MAKEDEV	dev/MAKEDEV
SPECIAL	cd dev; sh MAKEDEV floppy
SPECIAL	/bin/rm dev/MAKEDEV

# we need the contents of /usr/mdec
COPYDIR	${DESTDIR}/usr/mdec	usr/mdec

# copy the common kc-floppy tools
COPY	${CURDIR}/dot.profile		.profile
COPY	${CURDIR}/copy_kernel.sh	copy_kernel
SPECIAL	chmod 755 copy_kernel