summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/cdboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/cdboot/Makefile')
-rw-r--r--sys/boot/i386/cdboot/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/i386/cdboot/Makefile b/sys/boot/i386/cdboot/Makefile
index 18ca69f..9e8e813 100644
--- a/sys/boot/i386/cdboot/Makefile
+++ b/sys/boot/i386/cdboot/Makefile
@@ -10,13 +10,8 @@ STRIP=
BINDIR?= /boot
${PROG}: ${PROG}.o
-.if ${OBJFORMAT} == aout
- ${LD} -nostdlib -N -s -T ${ORG} -o ${PROG}.out ${PROG}.o
- dd if=${PROG}.out of=${.TARGET} ibs=32 skip=1
-.else
${LD} -N -e start -Ttext ${ORG} -o ${PROG}.out ${PROG}.o
objcopy -S -O binary ${PROG}.out ${.TARGET}
-.endif
CLEANFILES+= ${PROG}.o ${PROG}.out
OpenPOWER on IntegriCloud