mirror of
https://github.com/opnsense/src.git
synced 2026-04-07 10:25:46 -04:00
Now that LLD 10 is out, and required patches have landed, we are now ready to finally switch away from the ancient in-tree ld.bfd. Special thanks to Fangrui Song for many hours of work on getting the 32-bit powerpc lld ready for prime-time. Reviewed by: emaste (earlier revision), jhibbits Relnotes: yes Differential Revision: https://reviews.freebsd.org/D24111
29 lines
694 B
Makefile
29 lines
694 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= libiberty \
|
|
libbfd \
|
|
libopcodes
|
|
|
|
SUBDIR.${MK_BINUTILS}+= doc
|
|
SUBDIR.${MK_BINUTILS}+= libbinutils
|
|
SUBDIR.${MK_BINUTILS}+= objdump
|
|
|
|
# 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_libbinutils=libbfd # for bfdver.h
|
|
SUBDIR_DEPEND_as=libbfd libiberty libopcodes
|
|
SUBDIR_DEPEND_ld=libbfd libiberty
|
|
SUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes
|
|
|
|
.if !make(install)
|
|
SUBDIR_PARALLEL=
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|