Add lldb-tblgen tool.
This commit is contained in:
parent
5c1533a86d
commit
560bf0c7df
@ -6,6 +6,10 @@ SUBDIR+= clang
|
||||
SUBDIR+= clang-tblgen
|
||||
SUBDIR+= llvm-tblgen
|
||||
|
||||
.if ${MK_LLDB} != "no"
|
||||
SUBDIR+= lldb-tblgen
|
||||
.endif
|
||||
|
||||
.if !defined(TOOLS_PREFIX)
|
||||
SUBDIR+= llvm-ar
|
||||
SUBDIR+= llvm-nm
|
||||
|
10
usr.bin/clang/lldb-tblgen/Makefile
Normal file
10
usr.bin/clang/lldb-tblgen/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG_CXX= lldb-tblgen
|
||||
MAN=
|
||||
|
||||
SRCDIR= tools/lldb/utils/TableGen
|
||||
SRCS+= LLDBOptionDefEmitter.cpp
|
||||
SRCS+= LLDBTableGen.cpp
|
||||
|
||||
.include "../llvm.prog.mk"
|
@ -8,7 +8,8 @@ CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
|
||||
|
||||
# Special case for the bootstrap-tools phase.
|
||||
.if (defined(TOOLS_PREFIX) || ${MACHINE} == "host") && \
|
||||
(${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "llvm-tblgen")
|
||||
(${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "lldb-tblgen" || \
|
||||
${PROG_CXX} == "llvm-tblgen")
|
||||
LIBDEPS+= llvmminimal
|
||||
.else
|
||||
LIBDEPS+= llvm
|
||||
|
Loading…
Reference in New Issue
Block a user