Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sparc/bootfs Use ${OBJCOPY} instead of objcopy direc...



details:   https://anonhg.NetBSD.org/src/rev/2b7db2366829
branches:  trunk
changeset: 516342:2b7db2366829
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sun Oct 21 23:21:53 2001 +0000

description:
Use ${OBJCOPY} instead of objcopy directly.

diffstat:

 distrib/sparc/bootfs/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8cb3d37a6f8c -r 2b7db2366829 distrib/sparc/bootfs/Makefile
--- a/distrib/sparc/bootfs/Makefile     Sun Oct 21 23:20:05 2001 +0000
+++ b/distrib/sparc/bootfs/Makefile     Sun Oct 21 23:21:53 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.27 2001/02/19 06:25:39 jmc Exp $
+#      $NetBSD: Makefile,v 1.28 2001/10/21 23:21:53 jmc Exp $
 #
 # boot.fs is the image for disk 1 of the two-set floppy based installation
 # method.
@@ -27,6 +27,7 @@
 FD_RDEV=       /dev/r${FD}a
 IMAGE?=                boot.fs
 MDEC=          ${DESTDIR}/usr/mdec
+OBJCOPY?=      objcopy
 
 LISTS=         ${.CURDIR}/list
 RAMDISK!=      cd ${TOP}/ramdisk/; \
@@ -80,7 +81,7 @@
 SUN_MAGIC_HEADER='\01\03\01\07\060\200\0\07\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'
 
 netbsd.ram.aout: netbsd.ram
-       objcopy -O binary ${.ALLSRC} netbsd.ram.raw
+       ${OBJCOPY} -O binary ${.ALLSRC} netbsd.ram.raw
        (printf ${SUN_MAGIC_HEADER}; cat netbsd.ram.raw)  > ${.TARGET}
        rm -f netbsd.ram.raw
 



Home | Main Index | Thread Index | Old Index