Make ramdisk and ne-tbootable ramdisk-based instkernel on pmax.
This commit is contained in:
parent
92fda0ceb3
commit
d4cce0d780
5
distrib/pmax/Makefile
Normal file
5
distrib/pmax/Makefile
Normal 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>
|
27
distrib/pmax/instkernel/Makefile
Normal file
27
distrib/pmax/instkernel/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user