Make ramdisk and ne-tbootable ramdisk-based instkernel on pmax.

This commit is contained in:
jonathan 1998-12-05 07:33:13 +00:00
parent 92fda0ceb3
commit d4cce0d780
2 changed files with 32 additions and 0 deletions

5
distrib/pmax/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile.inc,v 1.1 1998/12/05 06:42:55 jonathan Exp
SUBDIR= ramdisk instkernel
.include <bsd.subdir.mk>

View File

@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1 1998/12/05 07:33:13 jonathan Exp $
KERN= ${.CURDIR}/../../../sys/arch/pmax/compile/RAMDISK/netbsd
RAMDISK!=cd ${.CURDIR}/../ramdisk; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
${MAKE} -s -f-
CLEANFILES= netbsd.tmp netbsd.ecoff netbsd.ecoff.gz \
netbsd.aout netbsd.aout.gz
all: netbsd.ram.gz
netbsd.ram.gz: ${KERN} ${RAMDISK}
cp ${KERN} netbsd.tmp
mdsetimage -v netbsd.tmp ${RAMDISK}
elf2ecoff netbsd.tmp netbsd.ecoff
rm -f netbsd.ecoff.gz
gzip netbsd.ecoff
elf2aout netbsd.tmp netbsd.aout
rm -f netbsd.aout.gz
gzip netbsd.aout
clean cleandir distclean:
rm -f ${CLEANFILES}
.include <bsd.own.mk>
.include <bsd.obj.mk>