Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/vax Use ${PRINTOBJDIR}. Install boot.fs
details: https://anonhg.NetBSD.org/src/rev/f6903393a7c1
branches: trunk
changeset: 504546:f6903393a7c1
user: matt <matt%NetBSD.org@localhost>
date: Sun Mar 04 20:33:03 2001 +0000
description:
Use ${PRINTOBJDIR}. Install boot.fs
diffstat:
distrib/vax/Makefile | 11 ++++++-----
distrib/vax/ramdisk-kernel/Makefile | 9 ++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diffs (62 lines):
diff -r 4287cdfe9fb0 -r f6903393a7c1 distrib/vax/Makefile
--- a/distrib/vax/Makefile Sun Mar 04 20:28:50 2001 +0000
+++ b/distrib/vax/Makefile Sun Mar 04 20:33:03 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/09/12 16:06:55 matt Exp $
+# $NetBSD: Makefile,v 1.8 2001/03/04 20:33:03 matt Exp $
.include <bsd.own.mk> # Use /etc/mk.conf.
@@ -6,7 +6,7 @@
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
-SUBDIR= ramdisk ramdisk-kernel #inst tk50 rx50 rx33
+SUBDIR= ramdisk ramdisk-kernel floppy #inst tk50 rx50 rx33
.include <bsd.subdir.mk>
@@ -15,10 +15,11 @@
@echo setenv RELEASEDIR first
@false
.else
-INSTKERNOBJ != cd ${.CURDIR}/ramdisk-kernel; ${MAKE} print-objdir
-BOOTOBJ != cd ${.CURDIR}/../../sys/arch/vax/boot/boot; ${MAKE} print-objdir
+INSTKERNOBJ != cd ${.CURDIR}/ramdisk-kernel && ${PRINTOBJDIR}
+FLOPPYOBJ != cd ${.CURDIR}/floppy && ${PRINTOBJDIR}
release:
- ${IINST} ${BOOTOBJ}/boot.mop ${ITARGET}/netboot/
+ ${IINST} ${DESTDIR}/usr/mdec/boot.mop ${ITARGET}/netboot/
${IINST} ${INSTKERNOBJ}/netbsd.INSTALL.gz ${ITARGET}/netboot/netbsd.ram.gz
+ ${IINST} ${FLOPPYOBJ}/boot.fs ${ITARGET}/bootfs/
.endif
diff -r 4287cdfe9fb0 -r f6903393a7c1 distrib/vax/ramdisk-kernel/Makefile
--- a/distrib/vax/ramdisk-kernel/Makefile Sun Mar 04 20:28:50 2001 +0000
+++ b/distrib/vax/ramdisk-kernel/Makefile Sun Mar 04 20:33:03 2001 +0000
@@ -1,21 +1,20 @@
-# $NetBSD: Makefile,v 1.1 2000/05/23 18:34:58 matt Exp $
+# $NetBSD: Makefile,v 1.2 2001/03/04 20:33:03 matt Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
+.include <bsd.own.mk>
.include <bsd.kernobj.mk>
MDEC= ${DESTDIR}/usr/mdec
STRIP?= strip
-RAMDISK!= cd $(.CURDIR)/../ramdisk/; \
- printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
- ${MAKE} -s -f-
+RAMDISK!= cd ${.CURDIR}/../ramdisk/ && ${PRINTOBJDIR}
.for kernel in INSTALL
netbsd.${kernel}.gz: .NOTMAIN ${KERNOBJDIR}/${kernel}/netbsd ${RAMDISK}
cp ${KERNOBJDIR}/${kernel}/netbsd netbsd.tmp
- ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
+ ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}/ramdisk.fs
${STRIP} netbsd.tmp
gzip -9 netbsd.tmp
mv netbsd.tmp.gz ${.TARGET}
Home |
Main Index |
Thread Index |
Old Index