blob: 69eb149062624499168facac85d9bd9b363476b7 (
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
|
#
# $NetBSD: Makefile.inc,v 1.1.1.1 1995/10/08 23:07:45 gwr Exp $
#
# TOP is assumed to be defined by Makefile including this one.
CBIN?= instbin
COMMONDIR= ${TOP}/common
MOUNT_POINT?= /mnt
BDEV?= /dev/rd0
DISKTYPE?= xxx-disktype
IMAGE?= xxx-${REV}.fs
MDEC= ${DESTDIR}/usr/mdec
LISTS= ${.CURDIR}/list
MTREE= ${.CURDIR}/mtree.conf
fsimage:
newfs -O -m 0 -o space -i 3052 -c 60 ${BDEV} ${DISKTYPE}
mount ${BDEV} ${MOUNT_POINT}
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/Runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""
-umount ${MOUNT_POINT}
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
|