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/boot boot_ufs (primary bootloader) expec...



details:   https://anonhg.NetBSD.org/src/rev/5e91de31a0cf
branches:  trunk
changeset: 452004:5e91de31a0cf
user:      isaki <isaki%NetBSD.org@localhost>
date:      Fri Jun 14 14:15:53 2019 +0000

description:
boot_ufs (primary bootloader) expects /boot OMAGIC a.out.

diffstat:

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

diffs (26 lines):

diff -r 2d6d70d4519f -r 5e91de31a0cf sys/arch/x68k/stand/boot/Makefile
--- a/sys/arch/x68k/stand/boot/Makefile Fri Jun 14 11:50:35 2019 +0000
+++ b/sys/arch/x68k/stand/boot/Makefile Fri Jun 14 14:15:53 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.30 2019/01/02 00:48:13 christos Exp $
+#      $NetBSD: Makefile,v 1.31 2019/06/14 14:15:53 isaki Exp $
 
 NOMAN=         # defined
 
@@ -42,6 +42,7 @@
 #CPPFLAGS+=    -DDEBUG
 CFLAGS=                -Wno-main -Os -m68020-60
 LINKFLAGS=     -N -static -T ${.CURDIR}/../boot/boot.ldscript
+ELF2AOUT_OPTS= -O
 LIBIOCS!=      cd $M/stand/libiocs && ${PRINTOBJDIR}
 LIBSA!=                cd $M/stand/libsa && ${PRINTOBJDIR}
 L=             ${LIBSA}/lib
@@ -55,7 +56,7 @@
        ${_MKTARGET_LINK}
        ${LD} ${LINKFLAGS} -o ${PROG}.sym ${OBJS} ${LDLIBS}
        ${STRIP} ${PROG}.sym -o ${PROG}.strip
-       ${M68K_ELF2AOUT} ${PROG}.strip ${PROG}
+       ${M68K_ELF2AOUT} ${ELF2AOUT_OPTS} ${PROG}.strip ${PROG}
 
 CLEANFILES+=   ${PROG}.sym ${PROG}.strip
 



Home | Main Index | Thread Index | Old Index