blob: 5582b6efcc48bd25bb1281ebd705ec58b837ddb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $OpenBSD: Makefile.inc,v 1.1 2003/10/31 03:56:54 drahn Exp $
# etc.macppc/Makefile.inc -- macppc-specific etc Makefile targets
.ifdef DESTDIR
snap_md: bsd distrib1
cp ${.CURDIR}/../sys/arch/pegasos/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
bsd:
cd ${.CURDIR}/../sys/arch/pegasos/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/pegasos/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
# knows about bsd.rd
distrib1:
cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/ofwboot
${MAKE} distrib
gzip -9 ${DESTDIR}/snapshot/bsd.rd
mv ${DESTDIR}/snapshot/bsd.rd.gz ${DESTDIR}/snapshot/bsd.rd
.PHONY: bsd distrib1
.endif # DESTDIR check
|