aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-04-11 14:49:13 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-04-11 14:49:13 +0000
commit2cb6d95d480fa1ed3880d01e3e6aefefd0d16b52 (patch)
tree590a8378596114b765d3671b001bf3daab0c10b5 /sys/boot
parent199b1670eb8293cc235ec52ad3c11ab8b99d1174 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot2/Makefile2
-rw-r--r--sys/boot/i386/gptboot/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index b27780bfaf12..5f523bb54cce 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -49,7 +49,7 @@ boot1.o: boot1.m4 boot1.s
(cd ${.CURDIR}; ${M4} -DFLAGS=${B1FLAGS} boot1.m4 boot1.s) | \
${AS} ${AFLAGS} -o ${.TARGET}
-boot2: boot2.ldr boot2.bin
+boot2: boot2.ldr boot2.bin ${BTX}/btx/btx
btxld -v -E ${ORG2} -f bin -b ${BTX}/btx/btx -l boot2.ldr \
-o boot2.ld -P 1 boot2.bin
@ls -l boot2.ld | awk '{ x = 7680 - $$5; \
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index b27780bfaf12..5f523bb54cce 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -49,7 +49,7 @@ boot1.o: boot1.m4 boot1.s
(cd ${.CURDIR}; ${M4} -DFLAGS=${B1FLAGS} boot1.m4 boot1.s) | \
${AS} ${AFLAGS} -o ${.TARGET}
-boot2: boot2.ldr boot2.bin
+boot2: boot2.ldr boot2.bin ${BTX}/btx/btx
btxld -v -E ${ORG2} -f bin -b ${BTX}/btx/btx -l boot2.ldr \
-o boot2.ld -P 1 boot2.bin
@ls -l boot2.ld | awk '{ x = 7680 - $$5; \