summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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