mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 19:05:20 -05:00
The in-tree binutils is old and will not be updated. It does not support all archs supported by FreeBSD, and for the archs it does support not all CPU features are supported. Other tools have migrated to copyfree alternatives. Although llvm-objdump is nearly a drop-in replacement for GNU objdump it is missing a few options and has some differences in output format. For now just remove GNU objdump; ports and developers can use a contemporary, maintained version from ports or packages. We can revisit installing llvm-objdump as objdump in the future. PR: 212319 [exp-run] Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7338
24 lines
481 B
Makefile
24 lines
481 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= libiberty \
|
|
libbfd \
|
|
libopcodes
|
|
|
|
SUBDIR.${MK_BINUTILS}+= doc
|
|
|
|
# GNU as is used on x86 only, for a few files that cannot be assembled by
|
|
# Clang IAS. Other archs either use Clang IAS for every assembly file, or
|
|
# use external toolchain.
|
|
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
|
|
SUBDIR.${MK_BINUTILS}+= as
|
|
.endif
|
|
|
|
SUBDIR_DEPEND_as=libbfd libiberty libopcodes
|
|
|
|
.if !make(install)
|
|
SUBDIR_PARALLEL=
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|