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.
This commit is contained in:
isaki 2020-02-01 08:08:15 +00:00
parent b3ed1ce596
commit c0c8907c33
1 changed files with 2 additions and 1 deletions

View File

@ -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+= -I${.CURDIR}/../libiocs
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}