install installation kernel and helper program (pbsdboot.exe).
This commit is contained in:
parent
715cab4ce5
commit
9816e4fe55
|
@ -1,5 +1,39 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 1999/09/16 12:13:17 takemura Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2000/06/12 12:39:20 shin Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <bsd.obj.mk>
|
||||
.include <bsd.kernobj.mk>
|
||||
|
||||
SUBDIR=
|
||||
|
||||
ITARGET= ${RELEASEDIR}/installation
|
||||
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
|
||||
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
|
||||
|
||||
PBSDBOOTDIR = ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
|
||||
PBSDBOOT = ${PBSDBOOTDIR}/pbsdboot.exe
|
||||
PBSDBOOT1 = ${PBSDBOOTDIR}/pbsdboot1.exe
|
||||
|
||||
.ifndef RELEASEDIR
|
||||
release:
|
||||
@echo setenv RELEASEDIR first
|
||||
@false
|
||||
.else
|
||||
MINIROOTDIR = ${.CURDIR}/../miniroot
|
||||
MINIROOTOBJ != cd ${MINIROOTDIR}; make print-objdir
|
||||
|
||||
release:
|
||||
rm -f netbsd netbsd.gz
|
||||
cp ${KERNOBJDIR}/RAMDISK/netbsd .
|
||||
mdsetimage netbsd ${MINIROOTOBJ}/miniroot.fs
|
||||
gzip -9 netbsd
|
||||
${IINST} netbsd.gz ${ITARGET}/.
|
||||
cd ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot; make
|
||||
${IINST} ${PBSDBOOT} ${ITARGET}/.
|
||||
${IINST} ${PBSDBOOT1} ${ITARGET}/.
|
||||
${.CURDIR}/../sets/makesums -t ${ITARGET} '*.gz' '*.exe'
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
|
Loading…
Reference in New Issue