freebsd-dev/gnu/usr.bin/binutils/Makefile
Ed Maste 3194293903 Build infrastructure for elftoolchain tools
Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version
of the following tools:

 * addr2line
 * elfcopy (strip / mcs)
 * nm
 * size
 * strings

Reviewed by:	bapt (earlier version)
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1224
2014-12-01 17:49:42 +00:00

30 lines
362 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
SUBDIR= libiberty \
libbfd \
libopcodes \
libbinutils \
${_addr2line} \
as \
ld \
${_nm} \
objcopy \
objdump \
readelf \
${_size} \
${_strings} \
${_strip} \
doc
.if ${MK_ELFTOOLCHAIN_TOOLS} == "no"
_addr2line= addr2line
_nm= nm
_size= size
_strings= strings
_strip= strip
.endif
.include <bsd.subdir.mk>