Browse Source

only need one GENERIC kernel

OPENBSD_2_0
deraadt 28 years ago
parent
commit
62b68f4f0f
1 changed files with 12 additions and 26 deletions
  1. +12
    -26
      src/etc/etc.i386/Makefile.inc

+ 12
- 26
src/etc/etc.i386/Makefile.inc View File

@ -1,38 +1,24 @@
# #
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets # etc.i386/Makefile.inc -- i386-specific etc Makefile targets
# #
# $Id: Makefile.inc,v 1.2 1995/11/18 15:44:24 deraadt Exp $
# $Id: Makefile.inc,v 1.3 1996/06/11 10:20:33 deraadt Exp $
.ifdef DESTDIR .ifdef DESTDIR
snap_md: bsd.adp bsd.other
#snap_md: kcadp.fs kcother.fs
snap_md: bsd
#snap_md: kc.fs # too big?
bsd.adp:
cd ${.CURDIR}/../sys/arch/i386/conf && config GENERICADP
cd ${.CURDIR}/../sys/arch/i386/compile/GENERICADP && \
bsd:
cd ${.CURDIR}/../sys/arch/i386/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/i386/compile/GENERIC && \
make clean && make depend && make make clean && make depend && make
cp ${.CURDIR}/../sys/arch/i386/compile/GENERICADP/bsd \
${DESTDIR}/snapshot/bsd.adp
cp ${.CURDIR}/../sys/arch/i386/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
bsd.other:
cd ${.CURDIR}/../sys/arch/i386/conf && config GENERICOTHER
cd ${.CURDIR}/../sys/arch/i386/compile/GENERICOTHER && \
make clean && make depend && make
cp ${.CURDIR}/../sys/arch/i386/compile/GENERICOTHER/bsd \
${DESTDIR}/snapshot/bsd.other
kcadp.fs:
make -f ${.CURDIR}/etc.i386/Makefile.kc \
IMAGE=${DESTDIR}/snapshot/kcadp.fs \
KERNEL=${DESTDIR}/snapshot/bsd.adp || \
make -f ${.CURDIR}/etc.i386/Makefile.kc \
IMAGE=${DESTDIR}/snapshot/kcadp.fs unconfig
kcother.fs:
kc.fs:
make -f ${.CURDIR}/etc.i386/Makefile.kc \ make -f ${.CURDIR}/etc.i386/Makefile.kc \
IMAGE=${DESTDIR}/snapshot/kcother.fs \
KERNEL=${DESTDIR}/snapshot/bsd.other || \
IMAGE=${DESTDIR}/snapshot/kc.fs \
KERNEL=${DESTDIR}/snapshot/bsd || \
make -f ${.CURDIR}/etc.i386/Makefile.kc \ make -f ${.CURDIR}/etc.i386/Makefile.kc \
IMAGE=${DESTDIR}/snapshot/kcother.fs unconfig
IMAGE=${DESTDIR}/snapshot/kc.fs unconfig
.endif # DESTDIR check .endif # DESTDIR check

Loading…
Cancel
Save