Now that we have support in ofwboot to correctly guess the right kernel,
produce a CD that works on both the 7044 and the pegasos.
This commit is contained in:
parent
daadf5acef
commit
9e09960721
@ -1,13 +1,24 @@
|
||||
# $NetBSD: Makefile,v 1.2 2008/01/02 11:39:01 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2008/01/24 20:08:39 garbled Exp $
|
||||
|
||||
CDBASE= ofppccd # gives ${CDBASE}.iso
|
||||
CDRELEASE= true # include $RELEASEDIR/$MACHINE
|
||||
CDKERNELS+= netbsd-INSTALL.gz netbsd.ofppc
|
||||
CDKERNELS+= netbsd-INSTALL.gz netbsd
|
||||
CDKERNELS+= netbsd-INSTALL_B64.gz netbsd64
|
||||
CDINSTKERNEL= ../../instkernel
|
||||
|
||||
.include <bsd.kernobj.mk> # For KERNSRCDIR
|
||||
DISTRIBVERS!= ${HOST_SH} ${KERNSRCDIR}/conf/osrelease.sh
|
||||
|
||||
prepare_md_post:
|
||||
# install ofwboot as ofwboot.ofppc
|
||||
${HOST_INSTALL_FILE} -m ${BINMODE} ${DESTDIR}/usr/mdec/ofwboot \
|
||||
${.OBJDIR}/cdrom/ofwboot.ofppc
|
||||
${MKDIR} ${.OBJDIR}/cdrom/nbsd
|
||||
${MKDIR} ${.OBJDIR}/cdrom/ppc
|
||||
${HOST_INSTALL_FILE} -m ${BINMODE} ${DESTDIR}/usr/mdec/ofwboot \
|
||||
${.OBJDIR}/cdrom/nbsd/ofwboot
|
||||
${DESTDIR}/usr/mdec/mkbootinfo "NetBSD/${MACHINE} ${DISTRIBVERS}" \
|
||||
"1,\nbsd\ofwboot" ${.OBJDIR}/cdrom/ppc/bootinfo.txt \
|
||||
${DESTDIR}/usr/mdec/netbsd.chrp
|
||||
|
||||
.include "${.CURDIR}/../../../common/Makefile.bootcd"
|
||||
|
Loading…
Reference in New Issue
Block a user