diff options
Diffstat (limited to 'sys/boot/i386/boot2')
-rw-r--r-- | sys/boot/i386/boot2/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index 7f3e2f7..05567c1 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -24,7 +24,6 @@ BTX= ${.OBJDIR}/../btx BTX= ${.CURDIR}/../btx .endif -REL1= 0x700 ORG1= 0x7c00 ORG2= 0x1000 @@ -69,8 +68,7 @@ boot2.o: boot2.c ${.CURDIR}/../../common/ufsread.c boot2.h: boot1.out ${NM} -t d ${.ALLSRC} | awk '/([0-9])+ T xread/ \ - { x = $$1 - ORG1; \ - printf("#define XREADORG %#x\n", REL1 + x) }' \ + { x = $$1 - ORG1; printf("#define XREADORG 0x7%x\n", x) }' \ ORG1=`printf "%d" ${ORG1}` > boot2.h boot2: boot2.ldr boot2.bin ${BTX}/btx/btx |