Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2018 14:28:20 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335482 - in head: . usr.bin usr.bin/elfcopy usr.bin/objcopy
Message-ID:  <201806211428.w5LESKkp042345@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Jun 21 14:28:20 2018
New Revision: 335482
URL: https://svnweb.freebsd.org/changeset/base/335482

Log:
  Rename usr.bin/elfcopy to usr.bin/objcopy
  
  We always install ELF Tool Chain's elfcopy as objcopy, so to avoid
  confusion rename the src directory containing our reach-over Makefile
  to match.
  
  Requested by:	jhb
  Sponsored by:	The FreeBSD Foundation

Added:
  head/usr.bin/objcopy/
     - copied from r335481, head/usr.bin/elfcopy/
Deleted:
  head/usr.bin/elfcopy/
Modified:
  head/Makefile.inc1
  head/usr.bin/Makefile

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Thu Jun 21 14:26:43 2018	(r335481)
+++ head/Makefile.inc1	Thu Jun 21 14:28:20 2018	(r335482)
@@ -2182,7 +2182,7 @@ _binutils=	gnu/usr.bin/binutils
 .if ${MK_ELFTOOLCHAIN_BOOTSTRAP} != "no"
 _elftctools=	lib/libelftc \
 		lib/libpe \
-		usr.bin/elfcopy \
+		usr.bin/objcopy \
 		usr.bin/nm \
 		usr.bin/size \
 		usr.bin/strings
@@ -2195,7 +2195,7 @@ _elftctools+=	usr.bin/addr2line
 # the target (for at least crunchide).
 _elftctools=	lib/libelftc \
 		lib/libpe \
-		usr.bin/elfcopy
+		usr.bin/objcopy
 .endif
 
 .if ${MK_CLANG_BOOTSTRAP} != "no"
@@ -2280,7 +2280,7 @@ NXBDIRS+= \
     usr.bin/cmp \
     usr.bin/diff \
     usr.bin/dirname \
-    usr.bin/elfcopy \
+    usr.bin/objcopy \
     usr.bin/env \
     usr.bin/fetch \
     usr.bin/find \

Modified: head/usr.bin/Makefile
==============================================================================
--- head/usr.bin/Makefile	Thu Jun 21 14:26:43 2018	(r335481)
+++ head/usr.bin/Makefile	Thu Jun 21 14:28:20 2018	(r335482)
@@ -264,7 +264,7 @@ SUBDIR.${MK_TOOLCHAIN}+=	c89
 SUBDIR.${MK_TOOLCHAIN}+=	c99
 SUBDIR.${MK_TOOLCHAIN}+=	ctags
 SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
-SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
+SUBDIR.${MK_TOOLCHAIN}+=	objcopy
 SUBDIR.${MK_TOOLCHAIN}+=	file2c
 # ARM64TODO gprof does not build
 # RISCVTODO gprof does not build



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