diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2006-10-25 01:47:42 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2006-10-25 01:47:42 +0000 |
commit | cfc22f890b029b71aced7949e5db0874aa455350 (patch) | |
tree | 0035a90eada8be6d77fa157b1bdddb666686376c /etc/etc.landisk/Makefile.inc | |
parent | 0fcca8c5e86ef19b4563e9f7f53ced9d5c5bab66 (diff) |
more landisk bits.
Diffstat (limited to 'etc/etc.landisk/Makefile.inc')
-rw-r--r-- | etc/etc.landisk/Makefile.inc | 21 |
1 files changed, 21 insertions, 0 deletions
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 |