Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/boot Build a boot_big.net (based at 700...
details: https://anonhg.NetBSD.org/src/rev/c52d9f3aa1f4
branches: trunk
changeset: 494156:c52d9f3aa1f4
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Mon Jul 03 02:04:02 2000 +0000
description:
Build a boot_big.net (based at 700000) in addition to boot.net,
allowing you to netboot a kernel with a ramdisk inside on systems
where memory is laid out to allow this.
diffstat:
sys/arch/sparc/stand/boot/Makefile | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 9f2d0d7e2f4c -r c52d9f3aa1f4 sys/arch/sparc/stand/boot/Makefile
--- a/sys/arch/sparc/stand/boot/Makefile Mon Jul 03 01:49:11 2000 +0000
+++ b/sys/arch/sparc/stand/boot/Makefile Mon Jul 03 02:04:02 2000 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2000/03/13 03:25:20 mycroft Exp $
+# $NetBSD: Makefile,v 1.21 2000/07/03 02:04:02 sommerfeld Exp $
STRIPFLAG=
PROGSOURCE= boot.c net.c netif_sun.c conf.c openfirm.c bootinfo.c vers.c
NEWVERSWHAT= "Secondary Boot"
-FILES= boot.net ${RELOCS:S/^/boot./g}
+FILES= boot.net boot_big.net ${RELOCS:S/^/boot./g}
CLEANFILES:= vers.c ${FILES}
LINKS= ${BINDIR}/boot.${RELOC_DEFAULT} ${BINDIR}/boot
@@ -36,10 +36,15 @@
rm -f ${.TARGET}.tmp
.endfor
-
# conjure up a magic header that is accepted by all Sun PROMS;
# see installboot.c for details.
+
+SUN_MAGIC_HEADER='\01\03\01\07\060\200\0\07\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'
+
boot.net: boot.${RELOC_DEFAULT}
- (printf '\01\03\01\07\060\200\0\07\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'; cat ${.ALLSRC} ) > ${.TARGET}
+ (printf ${SUN_MAGIC_HEADER}; cat ${.ALLSRC} ) > ${.TARGET}
+
+boot_big.net: boot.700000
+ (printf ${SUN_MAGIC_HEADER}; cat ${.ALLSRC} ) > ${.TARGET}
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index