c79f6538fe
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
16 lines
224 B
Makefile
16 lines
224 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
|
|
|
.PATH: ${ELFTCDIR}/strings
|
|
|
|
PROG= strings
|
|
|
|
LIBADD= elftc elf
|
|
|
|
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
|
|
|
|
.include <bsd.prog.mk>
|