Browse Source

Kill mac68k *SBC kernels. Instead, build kernels with both sbc scsi flavours

compiled in, but one disabled, and use config -e to swap them and build
the other kernels; saves valuable compile time.
Add ramdisks into the build (at release time). Since we are moving to a
bsd.rd installation, it is not necessary to put kernels in .tgz files
anymore, so don't bother, and adjust installation script sets information
accordingly.
OPENBSD_3_7
miod 19 years ago
parent
commit
b3aa3d915e
1 changed files with 9 additions and 14 deletions
  1. +9
    -14
      src/etc/etc.mac68k/Makefile.inc

+ 9
- 14
src/etc/etc.mac68k/Makefile.inc View File

@ -1,23 +1,18 @@
# $OpenBSD: Makefile.inc,v 1.8 2002/10/30 21:37:37 miod Exp $
# $OpenBSD: Makefile.inc,v 1.9 2004/12/03 06:37:51 miod Exp $
# etc.mac68k/Makefile.inc -- mac68k-specific etc Makefile targets
.ifdef DESTDIR
snap_md: bsd-generic bsd-genericsbc
(cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC; \
tar cf - bsd \
| ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd.tgz)
(cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC; \
tar cf - bsd \
| ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd-sbc.tgz)
bsd-generic:
snap_md: bsd distrib
cp ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
printf "disable ncrscsi\nenable sbc\nquit" | config -e \
-o ${DESTDIR}/snapshot/bsdsbc ${DESTDIR}/snapshot/bsd
bsd:
cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
bsd-genericsbc:
cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERICSBC
cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
.PHONY: bsd-generic bsd-genericsbc
.PHONY: bsd
.endif # DESTDIR check

Loading…
Cancel
Save