Remove ${OBJDUMP} as it is not used by the base system
It was added to sys.mk relatively recently (r274503) for EFI builds but is no longer used by the base system. The in-tree binutils are outdated, will not be updated, and will be removed in the future. Remove it from the toolchain build now to slightly simplify the build and make sure we don't grow an accidental dependency. Note that this affects only the toolchain build, and does not affect /usr/bin/objdump in the built world. Reviewed by: bdrewery Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6460
This commit is contained in:
parent
18c23dffac
commit
fd406aa3de
@ -178,7 +178,7 @@ CROSS_BINUTILS_PREFIX=/usr/local/${TARGET_ARCH}-freebsd/bin/
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
XBINUTILS= AS AR LD NM OBJCOPY OBJDUMP RANLIB SIZE STRINGS
|
||||
XBINUTILS= AS AR LD NM OBJCOPY RANLIB SIZE STRINGS
|
||||
.for BINUTIL in ${XBINUTILS}
|
||||
.if defined(CROSS_BINUTILS_PREFIX) && \
|
||||
exists(${CROSS_BINUTILS_PREFIX}${${BINUTIL}})
|
||||
@ -539,7 +539,7 @@ HMAKE+= PATH=${TMPPATH} METALOG=${METALOG} -DNO_ROOT
|
||||
CROSSENV+= CC="${XCC} ${XCFLAGS}" CXX="${XCXX} ${XCXXFLAGS} ${XCFLAGS}" \
|
||||
CPP="${XCPP} ${XCFLAGS}" \
|
||||
AS="${XAS}" AR="${XAR}" LD="${XLD}" NM=${XNM} \
|
||||
OBJDUMP=${XOBJDUMP} OBJCOPY="${XOBJCOPY}" \
|
||||
OBJCOPY="${XOBJCOPY}" \
|
||||
RANLIB=${XRANLIB} STRINGS=${XSTRINGS} \
|
||||
SIZE="${XSIZE}"
|
||||
|
||||
|
@ -222,7 +222,7 @@ WITH_META_STATS= t
|
||||
.if ${MACHINE} == "host"
|
||||
MK_SHARED_TOOLCHAIN= no
|
||||
.endif
|
||||
TOOLCHAIN_VARS= AS AR CC CLANG_TBLGEN CXX CPP LD NM OBJDUMP OBJCOPY RANLIB \
|
||||
TOOLCHAIN_VARS= AS AR CC CLANG_TBLGEN CXX CPP LD NM OBJCOPY RANLIB \
|
||||
STRINGS SIZE LLVM_TBLGEN
|
||||
_toolchain_bin_CLANG_TBLGEN= /usr/bin/clang-tblgen
|
||||
_toolchain_bin_LLVM_TBLGEN= /usr/bin/llvm-tblgen
|
||||
|
@ -237,8 +237,6 @@ OBJCFLAGS ?= ${OBJCINCLUDES} ${CFLAGS} -Wno-import
|
||||
|
||||
OBJCOPY ?= objcopy
|
||||
|
||||
OBJDUMP ?= objdump
|
||||
|
||||
PC ?= pc
|
||||
PFLAGS ?=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user