summaryrefslogtreecommitdiff
path: root/etc/etc.wgrisc/Makefile.inc
blob: f29313b98e5f61c612b3ca3f0e532de68946f770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$OpenBSD: Makefile.inc,v 1.3 1997/04/09 09:11:21 pefo Exp $
#
#	etc.wgrisc/Makefile.inc -- wgrisc-specific etc Makefile targets

.ifdef DESTDIR

snap_md: binutils bsd

binutils:
	cd ${DESTDIR} && tar cf - usr/*openbsd* \
	    | ${GZIP} ${GZIPFLAGS} > snapshot/usr.binutils.tar${GZIPEXT}

bsd:
	cd ${.CURDIR}/../sys/arch/wgrisc/conf && config GENERIC
	cd ${.CURDIR}/../sys/arch/wgrisc/compile/GENERIC && \
	    make clean && make depend && make
	cp ${.CURDIR}/../sys/arch/wgrisc/compile/GENERIC/bsd \
	    ${DESTDIR}/snapshot/bsd

.endif