From cfc22f890b029b71aced7949e5db0874aa455350 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Wed, 25 Oct 2006 01:47:42 +0000 Subject: more landisk bits. --- etc/etc.landisk/Makefile.inc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 etc/etc.landisk/Makefile.inc (limited to 'etc/etc.landisk/Makefile.inc') diff --git a/etc/etc.landisk/Makefile.inc b/etc/etc.landisk/Makefile.inc new file mode 100644 index 00000000000..045fd9b3c1a --- /dev/null +++ b/etc/etc.landisk/Makefile.inc @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile.inc,v 1.1 2006/10/25 01:47:41 drahn 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/bootxx ${DESTDIR}/snapshot + cp ${DESTDIR}/usr/mdec/boot ${DESTDIR}/snapshot + +.PHONY: bsd bootblocks + +.endif # DESTDIR check -- cgit v1.2.3