svn commit: r240400 - head/sys/conf

David E. O'Brien obrien at FreeBSD.org
Wed Sep 12 13:58:19 UTC 2012


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 <jvanhorne at 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				\


More information about the svn-src-all mailing list