Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src For atari install disk:



details:   https://anonhg.NetBSD.org/src/rev/b98700196eea
branches:  trunk
changeset: 366036:b98700196eea
user:      rin <rin%NetBSD.org@localhost>
date:      Wed May 11 10:36:52 2022 +0000

description:
For atari install disk:

- Drop FD support from installboot(8). Reduce ~0.5KB.
- Drop primary boot loaders for FD (2 files, 0.5KB each).

Note that we continue to support these features in base.

OK tsutsui@

diffstat:

 distrib/atari/floppies/install/list       |  9 ++++++---
 sys/arch/atari/stand/installboot/Makefile |  4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r 770fd3aa318f -r b98700196eea distrib/atari/floppies/install/list
--- a/distrib/atari/floppies/install/list       Wed May 11 10:31:12 2022 +0000
+++ b/distrib/atari/floppies/install/list       Wed May 11 10:36:52 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.23 2020/06/18 18:14:06 tsutsui Exp $
+#      $NetBSD: list,v 1.24 2022/05/11 10:36:52 rin Exp $
 
 PROG   bin/cat
 PROG   bin/chmod
@@ -67,7 +67,6 @@
 
 COPY   ${DESTDIR}/usr/mdec/std/bootxx          usr/mdec/std/bootxx
 COPY   ${DESTDIR}/usr/mdec/std/boot.atari      usr/mdec/std/boot.atari 
-COPY   ${DESTDIR}/usr/mdec/std/fdboot          usr/mdec/std/fdboot             
 COPY   ${DESTDIR}/usr/mdec/std/sdboot          usr/mdec/std/sdboot             
 COPY   ${DESTDIR}/usr/mdec/std/wdboot          usr/mdec/std/wdboot             
 COPY   ${DESTDIR}/usr/mdec/std/sdb00t.ahdi     usr/mdec/std/sdb00t.ahdi        
@@ -75,8 +74,12 @@
 COPY   ${DESTDIR}/usr/mdec/std/xxboot.ahdi     usr/mdec/std/xxboot.ahdi        
 COPY   ${DESTDIR}/usr/mdec/milan/bootxx        usr/mdec/milan/bootxx           
 COPY   ${DESTDIR}/usr/mdec/milan/boot.atari    usr/mdec/milan/boot.atari       
-COPY   ${DESTDIR}/usr/mdec/milan/fdboot        usr/mdec/milan/fdboot           
 COPY   ${DESTDIR}/usr/mdec/milan/sdboot        usr/mdec/milan/sdboot           
 LINK   usr/mdec/milan/sdboot                   usr/mdec/milan/wdboot
 COPY   ${DESTDIR}/usr/mdec/milan/sdb00t.ahdi   usr/mdec/milan/sdb00t.ahdi      
 COPY   ${DESTDIR}/usr/mdec/milan/xxboot.ahdi   usr/mdec/milan/xxboot.ahdi      
+
+# If you want to revive FD support, enable -DSUPPORT_FD for SMALLPROG in
+# sys/arch/stand/atari/installboot/Makefile.
+#COPY  ${DESTDIR}/usr/mdec/std/fdboot          usr/mdec/std/fdboot
+#COPY  ${DESTDIR}/usr/mdec/milan/fdboot        usr/mdec/milan/fdboot
diff -r 770fd3aa318f -r b98700196eea sys/arch/atari/stand/installboot/Makefile
--- a/sys/arch/atari/stand/installboot/Makefile Wed May 11 10:31:12 2022 +0000
+++ b/sys/arch/atari/stand/installboot/Makefile Wed May 11 10:36:52 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2015/08/12 17:59:51 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.10 2022/05/11 10:36:52 rin Exp $
 
 WARNS= 4
 PROG=  installboot
@@ -6,7 +6,7 @@
 SRCS=  installboot.c disklabel.c
 BINDIR=        /usr/mdec
 .ifndef SMALLPROG
-CPPFLAGS+=     -DCHECK_OS_BOOTVERSION -DNO_USAGE
+CPPFLAGS+=     -DCHECK_OS_BOOTVERSION -DNO_USAGE -DSUPPORT_FD
 LDADD= -lkvm
 .endif
 



Home | Main Index | Thread Index | Old Index