From d4cce0d780354fa3f62333f76258028e63c2eff2 Mon Sep 17 00:00:00 2001 From: jonathan Date: Sat, 5 Dec 1998 07:33:13 +0000 Subject: [PATCH] Make ramdisk and ne-tbootable ramdisk-based instkernel on pmax. --- distrib/pmax/Makefile | 5 +++++ distrib/pmax/instkernel/Makefile | 27 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 distrib/pmax/Makefile create mode 100644 distrib/pmax/instkernel/Makefile diff --git a/distrib/pmax/Makefile b/distrib/pmax/Makefile new file mode 100644 index 000000000000..3c887c12c30e --- /dev/null +++ b/distrib/pmax/Makefile @@ -0,0 +1,5 @@ +# $NetBSD: Makefile.inc,v 1.1 1998/12/05 06:42:55 jonathan Exp + +SUBDIR= ramdisk instkernel + +.include diff --git a/distrib/pmax/instkernel/Makefile b/distrib/pmax/instkernel/Makefile new file mode 100644 index 000000000000..301c8d9ff5f3 --- /dev/null +++ b/distrib/pmax/instkernel/Makefile @@ -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 +.include