2821bdccaa
It's provided by sys.mk so there's no need to derive it from ${.CURDIR}. Suggested by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5998
17 lines
257 B
Makefile
17 lines
257 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
|
|
ADDR2LINEDIR= ${ELFTCDIR}/addr2line
|
|
|
|
.PATH: ${ADDR2LINEDIR}
|
|
|
|
PROG= addr2line
|
|
|
|
LIBADD= elftc dwarf elf
|
|
|
|
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
|
|
|
|
.include <bsd.prog.mk>
|