mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Handle bootstrapping for host
This commit is contained in:
parent
5633315ba3
commit
f44c355924
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=266236
@ -40,9 +40,18 @@ CXXFLAGS+= -fno-exceptions -fno-rtti
|
||||
|
||||
.PATH: ${LLVM_SRCS}/${SRCDIR}
|
||||
|
||||
.if ${MACHINE} == "host" && defined(EARLY_BUILD)
|
||||
.if !empty(LEGACY_TOOLS) && exists(${LEGACY_TOOLS}/usr/bin/tblgen)
|
||||
TOOLSDIR= ${LEGACY_TOOLS}
|
||||
.endif
|
||||
.endif
|
||||
.if ${MK_STAGING} == "yes"
|
||||
TBLGEN= ${STAGE_HOST_OBJTOP}/usr/bin/tblgen
|
||||
CLANG_TBLGEN= ${STAGE_HOST_OBJTOP}/usr/bin/clang-tblgen
|
||||
TOOLSDIR?= ${STAGE_HOST_OBJTOP}
|
||||
.endif
|
||||
TOOLSDIR?=
|
||||
.if !empty(TOOLSDIR)
|
||||
TBLGEN= ${TOOLSDIR}/usr/bin/tblgen
|
||||
CLANG_TBLGEN= ${TOOLSDIR}/usr/bin/clang-tblgen
|
||||
.endif
|
||||
TBLGEN?= tblgen
|
||||
CLANG_TBLGEN?= clang-tblgen
|
||||
|
Loading…
Reference in New Issue
Block a user