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>
This commit is contained in:
David E. O'Brien 2012-09-12 13:58:18 +00:00
parent 896fc4638a
commit 72bacdc533
2 changed files with 2 additions and 2 deletions

View File

@ -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 \

View File

@ -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 \