Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/stand/mboot Make it output 68000 binary.



details:   https://anonhg.NetBSD.org/src/rev/8bc1e853259f
branches:  trunk
changeset: 968917:8bc1e853259f
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Feb 01 08:08:15 2020 +0000

description:
Make it output 68000 binary.
CFLAGS already has -m68000 but AFLAGS didn't.

This change makes it proceed to next stage1 even if MPU is 68000.
All stage1 bootloader displays an error message if MPU is 68000.

diffstat:

 sys/arch/x68k/stand/mboot/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a60ef4fd44cb -r 8bc1e853259f sys/arch/x68k/stand/mboot/Makefile
--- a/sys/arch/x68k/stand/mboot/Makefile        Sat Feb 01 07:12:40 2020 +0000
+++ b/sys/arch/x68k/stand/mboot/Makefile        Sat Feb 01 08:08:15 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2014/08/08 15:19:51 isaki Exp $
+#      $NetBSD: Makefile,v 1.18 2020/02/01 08:08:15 isaki Exp $
 
 NOMAN=         # defined
 .include <bsd.own.mk>
@@ -24,6 +24,7 @@
 CPPFLAGS+=     -DTEXTADDR="0x${TEXT}" 
 CPPFLAGS+=     -DBOOT=\"${BOOT}\" -DBOOT_VERS=\"${VERSION}\"
 CFLAGS=                -Wno-main -Os -m68000
+AFLAGS+=       -m68000
 
 LINKFLAGS=     -N -static -Ttext ${TEXT}
 LIBIOCS!=      cd ${.CURDIR}/../libiocs && ${PRINTOBJDIR}



Home | Main Index | Thread Index | Old Index