Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 13:58:18 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240400 - head/sys/conf
Message-ID:  <201209121358.q8CDwImU081370@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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				\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209121358.q8CDwImU081370>