Changeset View
Changeset View
Standalone View
Standalone View
head/gnu/usr.bin/binutils/Makefile
Show All 11 Lines | |||||
# GNU as is used on x86 only, for a few files that cannot be assembled by | # 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 | # Clang IAS. Other archs either use Clang IAS for every assembly file, or | ||||
# use external toolchain. | # use external toolchain. | ||||
.if ${TARGET} == "amd64" || ${TARGET} == "i386" | .if ${TARGET} == "amd64" || ${TARGET} == "i386" | ||||
SUBDIR.${MK_BINUTILS}+= as | SUBDIR.${MK_BINUTILS}+= as | ||||
.endif | .endif | ||||
# All archs except powerpc either use lld or require external toolchain. | |||||
# powerpc still needs binutils ld to link 32-bit binaries. | |||||
.if ${TARGET} == "powerpc" | |||||
SUBDIR.${MK_BINUTILS}+=ld | |||||
.endif | |||||
SUBDIR_DEPEND_libbinutils=libbfd # for bfdver.h | SUBDIR_DEPEND_libbinutils=libbfd # for bfdver.h | ||||
SUBDIR_DEPEND_as=libbfd libiberty libopcodes | SUBDIR_DEPEND_as=libbfd libiberty libopcodes | ||||
SUBDIR_DEPEND_ld=libbfd libiberty | SUBDIR_DEPEND_ld=libbfd libiberty | ||||
SUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes | SUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes | ||||
.if !make(install) | .if !make(install) | ||||
SUBDIR_PARALLEL= | SUBDIR_PARALLEL= | ||||
.endif | .endif | ||||
.include <bsd.subdir.mk> | .include <bsd.subdir.mk> |