Browse Source

add Makefile.inc for tar'ing also the binutils tree (/usr/*-openbsd-*)

then making a snapshot - also add a target for creating and copying
the GENERIC kernel
OPENBSD_2_1
graichen 28 years ago
parent
commit
28446efa7d
2 changed files with 63 additions and 0 deletions
  1. +21
    -0
      src/etc/etc.alpha/Makefile.inc
  2. +42
    -0
      src/etc/etc.pmax/Makefile.inc

+ 21
- 0
src/etc/etc.alpha/Makefile.inc View File

@ -0,0 +1,21 @@
#
# etc.alpha/Makefile.inc -- alpha-specific etc Makefile targets
#
# $Id: Makefile.inc,v 1.1 1997/01/19 22:29:23 graichen Exp $
.ifdef DESTDIR
# XXX - bsd will come then we have a GENERIC kernel
snap_md: binutils
binutils:
cd ${DESTDIR} && tar cf - usr/*openbsd* \
| ${SNAP_GZIP_CMD} > snapshot/usr.binutils.tar${SNAP_GZIP_EXT}
bsd:
cd ${.CURDIR}/../sys/arch/alpha/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/alpha/compile/GENERIC && \
make clean && make depend && make
cp ${.CURDIR}/../sys/arch/alpha/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
.endif # DESTDIR check

+ 42
- 0
src/etc/etc.pmax/Makefile.inc View File

@ -0,0 +1,42 @@
#
# etc.pmax/Makefile.inc -- pmax-specific etc Makefile targets
#
# $Id: Makefile.inc,v 1.1 1997/01/19 22:29:15 graichen Exp $
.ifdef DESTDIR
snap_md: binutils bsd
binutils:
cd ${DESTDIR} && tar cf - usr/*openbsd* \
| ${SNAP_GZIP_CMD} > snapshot/usr.binutils.tar${SNAP_GZIP_EXT}
bsd:
cd ${.CURDIR}/../sys/arch/pmax/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/pmax/compile/GENERIC && \
make clean && make depend && make
cp ${.CURDIR}/../sys/arch/pmax/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
.endif # DESTDIR check
#
# etc.alpha/Makefile.inc -- alpha-specific etc Makefile targets
#
# $Id: Makefile.inc,v 1.1 1997/01/19 22:29:15 graichen Exp $
.ifdef DESTDIR
# XXX - bsd will come then we have a GENERIC kernel
snap_md: binutils
binutils:
cd ${DESTDIR} && tar cf - usr/*openbsd* \
| ${SNAP_GZIP_CMD} > snapshot/usr.binutils.tar${SNAP_GZIP_EXT}
bsd:
cd ${.CURDIR}/../sys/arch/alpha/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/alpha/compile/GENERIC && \
make clean && make depend && make
cp ${.CURDIR}/../sys/arch/alpha/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
.endif # DESTDIR check

Loading…
Cancel
Save