mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
3194293903
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
17 lines
264 B
Makefile
17 lines
264 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
|
ADDR2LINEDIR= ${ELFTCDIR}/addr2line
|
|
|
|
.PATH: ${ADDR2LINEDIR}
|
|
|
|
PROG= addr2line
|
|
|
|
LIBADD= elftc dwarf elf
|
|
|
|
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
|
|
|
|
.include <bsd.prog.mk>
|