aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/i386/pxeldr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/pxeldr/Makefile')
-rw-r--r--sys/boot/i386/pxeldr/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/i386/pxeldr/Makefile b/sys/boot/i386/pxeldr/Makefile
index e7988247a0ef..6ba21a37c337 100644
--- a/sys/boot/i386/pxeldr/Makefile
+++ b/sys/boot/i386/pxeldr/Makefile
@@ -43,13 +43,8 @@ ${LOADER}: ${LOADERBIN} ${BTXLDR} ${BTXKERN} ${BTXCRT}
-b ${BTXKERN} ${LOADERBIN}
${LDR}: ${LDR}.o
-.if ${OBJFORMAT} == aout
- ${LD} -nostdlib -N -s -T ${ORG} -o ${LDR}.out ${LDR}.o
- dd if=${LDR}.out of=${.TARGET} ibs=32 skip=1
-.else
${LD} -N -e start -Ttext ${ORG} -o ${LDR}.out ${LDR}.o
objcopy -S -O binary ${LDR}.out ${.TARGET}
-.endif
${LDR}.o: ${LDR}.s
(cd ${.CURDIR}; ${M4} ${M4FLAGS} ${LDR}.s) | \