Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/i386/floppies Add PS/2 bootfloppy, to be used for in...
details: https://anonhg.NetBSD.org/src/rev/0144f71d6bea
branches: trunk
changeset: 513018:0144f71d6bea
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Jul 21 14:46:08 2001 +0000
description:
Add PS/2 bootfloppy, to be used for installation on IBM PS/2 machines.
diffstat:
distrib/i386/floppies/Makefile | 3 ++-
distrib/i386/floppies/bootfloppy-ps2/Makefile | 16 ++++++++++++++++
distrib/i386/floppies/kernel-ramdisk/Makefile | 16 +++++++++++++---
3 files changed, 31 insertions(+), 4 deletions(-)
diffs (69 lines):
diff -r ce767151fa82 -r 0144f71d6bea distrib/i386/floppies/Makefile
--- a/distrib/i386/floppies/Makefile Sat Jul 21 13:48:40 2001 +0000
+++ b/distrib/i386/floppies/Makefile Sat Jul 21 14:46:08 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2000/12/14 22:27:29 jmc Exp $
+# $NetBSD: Makefile,v 1.24 2001/07/21 14:46:08 jdolecek Exp $
SUBDIR= ramdisk-big
SUBDIR+= ramdisk-small
@@ -8,6 +8,7 @@
SUBDIR+= fdset-com
SUBDIR+= fdset-laptop
SUBDIR+= bootfloppy-big
+SUBDIR+= bootfloppy-ps2
SUBDIR+= bootfloppy-small
SUBDIR+= bootfloppy-tiny
diff -r ce767151fa82 -r 0144f71d6bea distrib/i386/floppies/bootfloppy-ps2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/i386/floppies/bootfloppy-ps2/Makefile Sat Jul 21 14:46:08 2001 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2001/07/21 14:46:09 jdolecek Exp $
+
+TOP= ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
+
+IMAGE= boot-ps2.fs
+KERN!= cd $(.CURDIR)/../kernel-ramdisk/; \
+ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/netbsd.INSTALL_PS2.gz\n" | \
+ ${MAKE} -s -f-
+
+DISKTYPE= floppy
+DISKSIZE= 2880
+BLOCK8K= 149
+
+.include "${TOP}/bootfloppy-common/Makefile.inc"
diff -r ce767151fa82 -r 0144f71d6bea distrib/i386/floppies/kernel-ramdisk/Makefile
--- a/distrib/i386/floppies/kernel-ramdisk/Makefile Sat Jul 21 13:48:40 2001 +0000
+++ b/distrib/i386/floppies/kernel-ramdisk/Makefile Sat Jul 21 14:46:08 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/11/13 21:10:57 fvdl Exp $
+# $NetBSD: Makefile,v 1.5 2001/07/21 14:46:09 jdolecek Exp $
TOP= ${.CURDIR}/..
@@ -54,10 +54,20 @@
gzip -9 netbsd.tmp
mv netbsd.tmp.gz ${.TARGET}
+netbsd.INSTALL_PS2.gz: .NOTMAIN ${KERNOBJDIR}/INSTALL_PS2/netbsd ${RAMDISK_S}
+ cp ${KERNOBJDIR}/INSTALL_PS2/netbsd netbsd.tmp
+ gdb --write -batch -x ${.CURDIR}/nocluster.gdb netbsd.tmp </dev/null
+ ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK_S}
+ nm netbsd.tmp > netbsd.INSTALL_PS2.symbols
+ ${STRIP} netbsd.tmp
+ gzip -9 netbsd.tmp
+ mv netbsd.tmp.gz ${.TARGET}
+
KERNELS=netbsd.INSTALL.gz netbsd.INSTALL_TINY.gz netbsd.INSTALL_SMALL.gz \
- netbsd.INSTALL_LAPTOP.gz
+ netbsd.INSTALL_LAPTOP.gz netbsd.INSTALL_PS2.gz
KERNELSYMS=netbsd.INSTALL.symbols netbsd.INSTALL_TINY.symbols \
- netbsd.INSTALL_SMALL.symbols netbsd.INSTALL_LAPTOP.symbols
+ netbsd.INSTALL_SMALL.symbols netbsd.INSTALL_LAPTOP.symbols \
+ netbsd.INSTALL_PS2.symbols
all: ${KERNELS}
Home |
Main Index |
Thread Index |
Old Index