summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/gptboot
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1998-10-13 18:29:18 +0000
committerrnordier <rnordier@FreeBSD.org>1998-10-13 18:29:18 +0000
commit05e05b3c64ac43e018dc6fec7191a4721881b25d (patch)
tree1adccae9f7fe8da1fc077ccc409668b36fc45c72 /sys/boot/i386/gptboot
parent38a03352085d3d1112c9fd65602883d8c04e2d74 (diff)
downloadFreeBSD-src-05e05b3c64ac43e018dc6fec7191a4721881b25d.zip
FreeBSD-src-05e05b3c64ac43e018dc6fec7191a4721881b25d.tar.gz
Don't use an absolute path to objcopy.
Noticed by: Scott Mace <smace@intt.org>
Diffstat (limited to 'sys/boot/i386/gptboot')
-rw-r--r--sys/boot/i386/gptboot/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index b52493f..b83b94d 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -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} \
OpenPOWER on IntegriCloud