Author: obrien
Date: Wed Sep 12 13:58:18 2012
New Revision: 240400
URL: http://svn.freebsd.org/changeset/base/240400

Log:
  Replace a bare use of 'objcopy' with ${OBJCOPY} for easier cross compilation
  in environments where 'objcopy' is spelled differently.
  
  Submitted by: John Van Horne <jvanho...@juniper.net>

Modified:
  head/sys/conf/files.amd64
  head/sys/conf/files.i386

Modified: head/sys/conf/files.amd64
==============================================================================
--- head/sys/conf/files.amd64   Wed Sep 12 13:43:42 2012        (r240399)
+++ head/sys/conf/files.amd64   Wed Sep 12 13:58:18 2012        (r240400)
@@ -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                    
\

Modified: head/sys/conf/files.i386
==============================================================================
--- head/sys/conf/files.i386    Wed Sep 12 13:43:42 2012        (r240399)
+++ head/sys/conf/files.i386    Wed Sep 12 13:58:18 2012        (r240400)
@@ -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                           
\
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to