mirror of
https://git.freebsd.org/src.git
synced 2026-01-12 06:54:03 +00:00
Rename the existing "elftoolchain" package to "toolchain", and move everything which is gated by MK_TOOLCHAIN (e.g. lex, yacc, ...) to the toolchain package. This means we have one package called "toolchain" which contains all the development-related utilities which are not compilers or already part of some other package (e.g., llvm). Reviewed by: des, emaste Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D50286
22 lines
382 B
Makefile
22 lines
382 B
Makefile
.include <src.opts.mk>
|
|
|
|
PACKAGE= toolchain
|
|
|
|
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
|
|
NMDIR= ${ELFTCDIR}/nm
|
|
|
|
.PATH: ${NMDIR}
|
|
|
|
PROG= nm
|
|
|
|
LIBADD= dwarf elftc elf
|
|
|
|
.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
|
|
LIBADD+= casper
|
|
LIBADD+= cap_fileargs
|
|
CFLAGS+= -DWITH_CASPER
|
|
.endif
|
|
|
|
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
|
|
|
|
.include <bsd.prog.mk>
|