blob: 8e2df705da404d4fa28db0cfdd4b3c1038e0eddb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $OpenBSD: Makefile.inc,v 1.2 2006/11/12 21:45:19 deraadt Exp $
.ifdef DESTDIR
snap_md: bsd bootblocks distrib
cp ${.CURDIR}/../sys/arch/landisk/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
bsd:
cd ${.CURDIR}/../sys/arch/landisk/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/landisk/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
# probably will be replaced by procedure to build 'miniroot' image
bootblocks:
cp ${DESTDIR}/usr/mdec/mbr ${DESTDIR}/snapshot
cp ${DESTDIR}/usr/mdec/xxboot ${DESTDIR}/snapshot
cp ${DESTDIR}/usr/mdec/boot ${DESTDIR}/snapshot
.PHONY: bsd bootblocks
.endif # DESTDIR check
|