Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/stand/boot LUNA's firmware requires OMAGIC ...
details: https://anonhg.NetBSD.org/src/rev/e1a8a0b5cd1f
branches: trunk
changeset: 999202:e1a8a0b5cd1f
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri May 24 15:52:35 2019 +0000
description:
LUNA's firmware requires OMAGIC a.out.
diffstat:
sys/arch/luna68k/stand/boot/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 11cfd4603a48 -r e1a8a0b5cd1f sys/arch/luna68k/stand/boot/Makefile
--- a/sys/arch/luna68k/stand/boot/Makefile Fri May 24 15:50:59 2019 +0000
+++ b/sys/arch/luna68k/stand/boot/Makefile Fri May 24 15:52:35 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2019/01/02 00:50:02 christos Exp $
+# $NetBSD: Makefile,v 1.17 2019/05/24 15:52:35 tsutsui Exp $
# @(#)Makefile 8.2 (Berkeley) 8/15/93
NOMAN= # defined
@@ -32,6 +32,8 @@
LDSCRIPT= ${.CURDIR}/boot.ldscript
LINKFORMAT= -static -N -Ttext ${TEXTADDR} -T ${LDSCRIPT}
+ELF2AOUT_OPTS= -O # LUNA's firmware requires OMAGIC a.out
+
SRCS= locore.S
SRCS+= init_main.c autoconf.c
SRCS+= trap.c
@@ -80,7 +82,7 @@
${PROG}: ${LDSCRIPT} ${OBJS} ${LIBS}
${_MKTARGET_LINK}
${LD} ${LINKFORMAT} -x -o ${PROG}.elf ${OBJS} ${LIBS}
- ${M68K_ELF2AOUT} ${PROG}.elf ${PROG}.aout
+ ${M68K_ELF2AOUT} ${ELF2AOUT_OPTS} ${PROG}.elf ${PROG}.aout
mv ${PROG}.aout ${PROG}
CLEANFILES+= ${PROG}.aout ${PROG}.elf
Home |
Main Index |
Thread Index |
Old Index