aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2012-09-12 13:58:18 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2012-09-12 13:58:18 +0000
commit72bacdc533b41c0000f5f631a096c19c0c3993df (patch)
treee857aa88131f0d147829b096a33a2772c72e6a1b
parent896fc4638adead1874e390e3044633f81412d461 (diff)
downloadsrc-72bacdc533b41c0000f5f631a096c19c0c3993df.tar.gz
src-72bacdc533b41c0000f5f631a096c19c0c3993df.zip
Replace a bare use of 'objcopy' with ${OBJCOPY} for easier cross compilation
in environments where 'objcopy' is spelled differently. Submitted by: John Van Horne <jvanhorne@juniper.net>
Notes
Notes: svn path=/head/; revision=240400
-rw-r--r--sys/conf/files.amd642
-rw-r--r--sys/conf/files.i3862
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index d73fc6af5320..0f71560bdaf9 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -79,7 +79,7 @@ acpi_wakecode.o optional acpi \
clean "acpi_wakecode.o"
acpi_wakecode.bin optional acpi \
dependency "acpi_wakecode.o" \
- compile-with "objcopy -S -O binary acpi_wakecode.o ${.TARGET}" \
+ compile-with "${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \
no-obj no-implicit-rule before-depend \
clean "acpi_wakecode.bin"
acpi_wakecode.h optional acpi \
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index bb172626f412..f8a4b5dcfd81 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -369,7 +369,7 @@ acpi_wakecode.o optional acpi \
clean "acpi_wakecode.o"
acpi_wakecode.bin optional acpi \
dependency "acpi_wakecode.o" \
- compile-with "objcopy -S -O binary acpi_wakecode.o ${.TARGET}" \
+ compile-with "${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \
no-obj no-implicit-rule before-depend \
clean "acpi_wakecode.bin"
acpi_wakecode.h optional acpi \