blob: 4d23ed2edded395314bd0489376293c0753bc7ba (
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
|
# $OpenBSD: Makefile.inc,v 1.17 2002/05/13 07:22:42 espie Exp $
# etc.hp300/Makefile.inc -- hp300-specific etc Makefile targets
.ifdef DESTDIR
snap_md: bsd bsd.dl bootblocks distrib
cp ${.CURDIR}/../sys/arch/hp300/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
cp ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS/bsd \
${DESTDIR}/snapshot/bsd.dl
bsd:
cd ${.CURDIR}/../sys/arch/hp300/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/hp300/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
bsd.dl:
cd ${.CURDIR}/../sys/arch/hp300/conf && config DISKLESS
cd ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
bootblocks:
cp ${DESTDIR}/usr/mdec/uboot.lif ${DESTDIR}/snapshot/SYS_UBOOT
cp ${DESTDIR}/usr/mdec/cdboot.lif ${DESTDIR}/snapshot/SYS_CDBOOT
.PHONY: bsd bsd.dl bootblocks
.endif # DESTDIR check
|