aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/pc98/btx/btxldr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/pc98/btx/btxldr/Makefile')
-rw-r--r--sys/boot/pc98/btx/btxldr/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/pc98/btx/btxldr/Makefile b/sys/boot/pc98/btx/btxldr/Makefile
index 35964cee3aa2..f88004bf588a 100644
--- a/sys/boot/pc98/btx/btxldr/Makefile
+++ b/sys/boot/pc98/btx/btxldr/Makefile
@@ -10,13 +10,8 @@ M4FLAGS+= -DBTXLDR_VERBOSE
all: btxldr
btxldr: btxldr.o
-.if ${OBJFORMAT} == aout
- ${LD} -nostdlib -N -s -T ${LOADER_ADDRESS} -o btxldr.out btxldr.o
- dd if=btxldr.out of=${.TARGET} ibs=32 skip=1
-.else
${LD} -N -e start -Ttext ${LOADER_ADDRESS} -o btxldr.out btxldr.o
objcopy -S -O binary btxldr.out ${.TARGET}
-.endif
btxldr.o: btxldr.s
(cd ${.CURDIR}; ${M4} ${M4FLAGS} btxldr.s ) | \