Don't use an absolute path to objcopy.

Noticed by: Scott Mace <smace@intt.org>
This commit is contained in:
Robert Nordier 1998-10-13 18:29:18 +00:00
parent 0ad50c1c9d
commit 8f65b6a695
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40308
5 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1998/10/05 19:20:36 rnordier Exp $
# $Id: Makefile,v 1.3 1998/10/09 17:19:51 rnordier Exp $
PROG= boot0
NOMAN=
@ -15,7 +15,7 @@ boot0: boot0.o
dd if=boot0.out of=${.TARGET} ibs=32 skip=1
.else
${LD} -N -e start -Ttext ${ORG} -o boot0.out boot0.o
/usr/libexec/elf/objcopy -S -O binary boot0.out ${.TARGET}
objcopy -S -O binary boot0.out ${.TARGET}
.endif
boot0.o: boot0.m4 boot0.s

View File

@ -1,4 +1,4 @@
# $Id:$
# $Id: Makefile,v 1.1.1.1 1998/10/12 21:16:26 rnordier Exp $
M4?= m4
@ -22,7 +22,7 @@ LDFLAGS=-nostdlib -static -N
all: boot1 boot2
boot1: boot1.out
/usr/libexec/elf/objcopy -S -O binary boot1.out ${.TARGET}
objcopy -S -O binary boot1.out ${.TARGET}
boot1.out: boot1.o
${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} boot1.o
@ -40,7 +40,7 @@ boot2.ldr:
dd if=/dev/zero of=${.TARGET} bs=512 count=1 2>/dev/null
boot2.bin: boot2.out
/usr/libexec/elf/objcopy -S -O binary boot2.out ${.TARGET}
objcopy -S -O binary boot2.out ${.TARGET}
boot2.out: boot2.o
${LD} ${LDFLAGS} -Ttext ${ORG2} -o ${.TARGET} \

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3 1998/09/17 23:52:04 msmith Exp $
# $Id: Makefile,v 1.4 1998/09/25 17:14:15 peter Exp $
M4?= m4
@ -12,7 +12,7 @@ btx: btx.o
dd if=btx.out of=${.TARGET} ibs=32 skip=1
.else
${LD} -N -e start -Ttext ${ORG} -o btx.out btx.o
/usr/libexec/elf/objcopy -S -O binary btx.out ${.TARGET}
objcopy -S -O binary btx.out ${.TARGET}
.endif
btx.o: btx.m4 btx.s

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3 1998/09/17 23:52:04 msmith Exp $
# $Id: Makefile,v 1.4 1998/09/25 17:14:15 peter Exp $
ORG=0x100000
@ -10,7 +10,7 @@ btxldr: btxldr.o
dd if=btxldr.out of=${.TARGET} ibs=32 skip=1
.else
${LD} -N -e start -Ttext ${ORG} -o btxldr.out btxldr.o
/usr/libexec/elf/objcopy -S -O binary btxldr.out ${.TARGET}
objcopy -S -O binary btxldr.out ${.TARGET}
.endif
btxldr.o: btxldr.s

View File

@ -1,4 +1,4 @@
# $Id:$
# $Id: Makefile,v 1.1.1.1 1998/10/12 21:16:26 rnordier Exp $
M4?= m4
@ -22,7 +22,7 @@ LDFLAGS=-nostdlib -static -N
all: boot1 boot2
boot1: boot1.out
/usr/libexec/elf/objcopy -S -O binary boot1.out ${.TARGET}
objcopy -S -O binary boot1.out ${.TARGET}
boot1.out: boot1.o
${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} boot1.o
@ -40,7 +40,7 @@ boot2.ldr:
dd if=/dev/zero of=${.TARGET} bs=512 count=1 2>/dev/null
boot2.bin: boot2.out
/usr/libexec/elf/objcopy -S -O binary boot2.out ${.TARGET}
objcopy -S -O binary boot2.out ${.TARGET}
boot2.out: boot2.o
${LD} ${LDFLAGS} -Ttext ${ORG2} -o ${.TARGET} \