elfcopy: Restore upstream name
ELF Tool Chain's objcopy-equivalent is called elfcopy. Restore the upstream name in our build infrastructure to make it more clear where different binary utility components come from. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49784
This commit is contained in:
+6
-6
@@ -2910,14 +2910,14 @@ _dtrace_tools= cddl/lib/libctf cddl/lib/libspl cddl/usr.bin/ctfconvert \
|
||||
.endif
|
||||
|
||||
.if ${MK_ELFTOOLCHAIN_BOOTSTRAP} != "no"
|
||||
# Some bespoke tools from or based on ELF Tool Chain. objcopy (elfcopy) is
|
||||
# included because llvm-objcopy is currently not capable of translating ELF to
|
||||
# PE32+, which is required for EFI boot programs.
|
||||
# Some bespoke tools from or based on ELF Tool Chain. elfcopy is included
|
||||
# because llvm-objcopy is currently not capable of translating ELF to PE32+,
|
||||
# which is required for EFI boot programs.
|
||||
_elftctools= lib/libelftc \
|
||||
lib/libpe \
|
||||
usr.bin/elfcopy \
|
||||
usr.bin/elfctl \
|
||||
usr.bin/elfdump \
|
||||
usr.bin/objcopy
|
||||
usr.bin/elfdump
|
||||
# If we're given an XNM we don't need to build standard binary utilities.
|
||||
.if ${XNM:M/*} == ""
|
||||
_elftctools+= usr.bin/nm \
|
||||
@@ -3011,7 +3011,7 @@ NXBDIRS+= \
|
||||
usr.bin/cmp \
|
||||
usr.bin/diff \
|
||||
usr.bin/dirname \
|
||||
usr.bin/objcopy \
|
||||
usr.bin/elfcopy \
|
||||
usr.bin/env \
|
||||
usr.bin/fetch \
|
||||
usr.bin/find \
|
||||
|
||||
+2
-2
@@ -263,14 +263,14 @@ SUBDIR.${MK_TOOLCHAIN}+= ctags
|
||||
.if ${MK_LLVM_CXXFILT} == "no"
|
||||
SUBDIR.${MK_TOOLCHAIN}+= cxxfilt
|
||||
.endif
|
||||
# ELF Tool Chain elfcopy required for EFI objects (PR280771)
|
||||
SUBDIR.${MK_TOOLCHAIN}+= elfcopy
|
||||
SUBDIR.${MK_TOOLCHAIN}+= file2c
|
||||
SUBDIR.${MK_TOOLCHAIN}+= gprof
|
||||
SUBDIR.${MK_TOOLCHAIN}+= indent
|
||||
SUBDIR.${MK_TOOLCHAIN}+= lex
|
||||
SUBDIR.${MK_TOOLCHAIN}+= lorder
|
||||
SUBDIR.${MK_TOOLCHAIN}+= mkstr
|
||||
# ELF Tool Chain elfcopy required for EFI objects (PR280771)
|
||||
SUBDIR.${MK_TOOLCHAIN}+= objcopy
|
||||
SUBDIR.${MK_TOOLCHAIN}+= rpcgen
|
||||
SUBDIR.${MK_TOOLCHAIN}+= unifdef
|
||||
SUBDIR.${MK_TOOLCHAIN}+= xstr
|
||||
|
||||
Reference in New Issue
Block a user