Browse Source

put the boot crud in the snapshot

OPENBSD_3_7
deraadt 20 years ago
parent
commit
be0ea31b32
1 changed files with 9 additions and 6 deletions
  1. +9
    -6
      src/etc/etc.zaurus/Makefile.inc

+ 9
- 6
src/etc/etc.zaurus/Makefile.inc View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile.inc,v 1.2 2004/12/31 00:19:56 miod Exp $
# $OpenBSD: Makefile.inc,v 1.3 2005/01/10 00:28:15 deraadt Exp $
# etc.zaurus/Makefile.inc -- zaurus-specific etc Makefile targets # etc.zaurus/Makefile.inc -- zaurus-specific etc Makefile targets
.ifdef DESTDIR .ifdef DESTDIR
snap_md: bsd distrib1
snap_md: bsd notes bootblocks distrib
cp ${.CURDIR}/../sys/arch/zaurus/compile/GENERIC/bsd \ cp ${.CURDIR}/../sys/arch/zaurus/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd ${DESTDIR}/snapshot/bsd
@ -11,10 +11,13 @@ bsd:
cd ${.CURDIR}/../sys/arch/zaurus/compile/GENERIC && \ cd ${.CURDIR}/../sys/arch/zaurus/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE} ${MAKE} clean && ${MAKE} depend && exec ${MAKE}
# knows about bsd.rd
distrib1:
${MAKE} distrib
notes:
cp ${.CURDIR}/etc.i386/INSTALL.* ${DESTDIR}/snapshot
.PHONY: bsd distrib1
bootblocks:
cp ${DESTDIR}/usr/mdec/zboot ${DESTDIR}/snapshot
cp ${DESTDIR}/usr/mdec/zbsdmod.o ${DESTDIR}/snapshot
.PHONY: bsd notes bootblocks
.endif # DESTDIR check .endif # DESTDIR check

Loading…
Cancel
Save