blob: 3631e63e483a76c551c0247d9c213f72f2d9503f (
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 2004/02/01 05:26:50 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
|