summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64/boot1
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-21 02:37:55 +0000
committerobrien <obrien@FreeBSD.org>2002-04-21 02:37:55 +0000
commit76b7ec65d9bf530cbb2c9890b9aa5de886fe49ba (patch)
tree8b0cdfe808848048625f5a692200fea30eccb7f7 /sys/boot/sparc64/boot1
parent734c0c9c89aa23635f5b917b997b4d88a8664ba4 (diff)
downloadFreeBSD-src-76b7ec65d9bf530cbb2c9890b9aa5de886fe49ba.zip
FreeBSD-src-76b7ec65d9bf530cbb2c9890b9aa5de886fe49ba.tar.gz
o Use our own elf2aout now.
o Generalize a little.
Diffstat (limited to 'sys/boot/sparc64/boot1')
-rw-r--r--sys/boot/sparc64/boot1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/sparc64/boot1/Makefile b/sys/boot/sparc64/boot1/Makefile
index bde5360..a77f54e 100644
--- a/sys/boot/sparc64/boot1/Makefile
+++ b/sys/boot/sparc64/boot1/Makefile
@@ -13,10 +13,10 @@ CFLAGS= -W -Wall -I../../ -I../../common/ -Os -ffreestanding -mno-app-regs \
-mcmodel=medlow
boot1.elf: _start.o boot1.o
- ${LD} -N -Ttext ${BOOTBLOCKBASE} -o ${.TARGET} _start.o boot1.o
+ ${LD} -N -Ttext ${BOOTBLOCKBASE} -o ${.TARGET} ${.ALLSRC}
boot1.aout: boot1.elf
- /usr/local/bin/elftoaout -o ${.TARGET} boot1.elf
+ elf2aout -o ${.TARGET} ${.ALLSRC}
# Construct boot1. disklabel expects it to contain zeroed-out space for the
# label, and to be of the correct size.
OpenPOWER on IntegriCloud