Remove mkcsmapper_static and mkesdb_static from build-tools
Build them as part of the bootstrap-tools phase instead. Reviewed by: emaste (no objections) Differential Revision: https://reviews.freebsd.org/D28181
This commit is contained in:
parent
8185be3307
commit
2de949cf85
@ -2331,6 +2331,11 @@ _localedef= usr.bin/localedef
|
|||||||
${_bt}-usr.bin/localedef: ${_bt}-usr.bin/yacc ${_bt_lex_depend}
|
${_bt}-usr.bin/localedef: ${_bt}-usr.bin/yacc ${_bt_lex_depend}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_ICONV} != "no"
|
||||||
|
_mkesdb= usr.bin/mkesdb
|
||||||
|
_mkcsmapper= usr.bin/mkcsmapper
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${MK_KERBEROS} != "no"
|
.if ${MK_KERBEROS} != "no"
|
||||||
_kerberos5_bootstrap_tools= \
|
_kerberos5_bootstrap_tools= \
|
||||||
kerberos5/tools/make-roken \
|
kerberos5/tools/make-roken \
|
||||||
@ -2482,6 +2487,8 @@ bootstrap-tools: ${_bt}-links .PHONY
|
|||||||
${_nmtree} \
|
${_nmtree} \
|
||||||
${_vtfontcvt} \
|
${_vtfontcvt} \
|
||||||
${_localedef} \
|
${_localedef} \
|
||||||
|
${_mkcsmapper} \
|
||||||
|
${_mkesdb} \
|
||||||
${LOCAL_BSTOOL_DIRS}
|
${LOCAL_BSTOOL_DIRS}
|
||||||
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE
|
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE
|
||||||
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
|
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
|
||||||
@ -2543,8 +2550,6 @@ _bt_clean= ${CLEANDIR}
|
|||||||
${_share} \
|
${_share} \
|
||||||
usr.bin/awk \
|
usr.bin/awk \
|
||||||
${_libmagic} \
|
${_libmagic} \
|
||||||
usr.bin/mkesdb_static \
|
|
||||||
usr.bin/mkcsmapper_static \
|
|
||||||
usr.bin/vi/catalog
|
usr.bin/vi/catalog
|
||||||
build-tools_${_tool}: .PHONY
|
build-tools_${_tool}: .PHONY
|
||||||
${_+_}@${ECHODIR} "===> ${_tool} (${_bt_clean:D${_bt_clean},}obj,build-tools)"; \
|
${_+_}@${ECHODIR} "===> ${_tool} (${_bt_clean:D${_bt_clean},}obj,build-tools)"; \
|
||||||
|
@ -3,7 +3,5 @@
|
|||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
CSMAPPERDIR?= /usr/share/i18n/csmapper
|
CSMAPPERDIR?= /usr/share/i18n/csmapper
|
||||||
.if ${MK_STAGING} == "yes"
|
# mkcsmapper builds as part of bootstrap-tools and can therefore be found in $PATH
|
||||||
MKCSMAPPER= ${STAGE_HOST_OBJTOP}/usr/bin/mkcsmapper_static
|
MKCSMAPPER?= mkcsmapper
|
||||||
.endif
|
|
||||||
MKCSMAPPER?= ${.OBJDIR:H:H:H}/usr.bin/mkcsmapper_static/mkcsmapper_static
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $NetBSD: Makefile,v 1.13 2007/03/13 16:34:37 tnozaki Exp $
|
# $NetBSD: Makefile,v 1.13 2007/03/13 16:34:37 tnozaki Exp $
|
||||||
|
|
||||||
MKCSMAPPER?= ${.OBJDIR:H:H:H:H}/usr.bin/mkcsmapper_static/mkcsmapper_static
|
|
||||||
|
|
||||||
ESUBDIR?= ${CODE}
|
ESUBDIR?= ${CODE}
|
||||||
PARTFILE?= ${.CURDIR}/${CODE}.part
|
PARTFILE?= ${.CURDIR}/${CODE}.part
|
||||||
.if exists(${PARTFILE})
|
.if exists(${PARTFILE})
|
||||||
|
@ -5,7 +5,5 @@
|
|||||||
.PATH: ${.CURDIR}
|
.PATH: ${.CURDIR}
|
||||||
|
|
||||||
ESDBDIR?= /usr/share/i18n/esdb
|
ESDBDIR?= /usr/share/i18n/esdb
|
||||||
.if ${MK_STAGING} == "yes"
|
# mkesdb builds as part of bootstrap-tools and can therefore be found in $PATH
|
||||||
MKESDB= ${STAGE_HOST_OBJTOP}/usr/bin/mkesdb_static
|
MKESDB?= mkesdb
|
||||||
.endif
|
|
||||||
MKESDB?= ${.OBJDIR:H:H:H}/usr.bin/mkesdb_static/mkesdb_static
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# $NetBSD: Makefile.part,v 1.6 2008/10/25 22:35:36 apb Exp $
|
# $NetBSD: Makefile.part,v 1.6 2008/10/25 22:35:36 apb Exp $
|
||||||
|
|
||||||
MKESDB?= ${.OBJDIR:H:H:H:H}/usr.bin/mkesdb_static/mkesdb_static
|
|
||||||
|
|
||||||
PARTFILE?= ${.CURDIR}/${CODE}.part
|
PARTFILE?= ${.CURDIR}/${CODE}.part
|
||||||
ALIASFILE?= ${.CURDIR}/${CODE}.alias
|
ALIASFILE?= ${.CURDIR}/${CODE}.alias
|
||||||
.if !defined(NO_SEP)
|
.if !defined(NO_SEP)
|
||||||
|
@ -12,8 +12,8 @@ DIRDEPS = \
|
|||||||
usr.bin/clang/clang-tblgen \
|
usr.bin/clang/clang-tblgen \
|
||||||
usr.bin/clang/llvm-tblgen \
|
usr.bin/clang/llvm-tblgen \
|
||||||
usr.bin/localedef \
|
usr.bin/localedef \
|
||||||
usr.bin/mkcsmapper_static \
|
usr.bin/mkcsmapper \
|
||||||
usr.bin/mkesdb_static \
|
usr.bin/mkesdb \
|
||||||
usr.bin/xinstall \
|
usr.bin/xinstall \
|
||||||
usr.bin/yacc \
|
usr.bin/yacc \
|
||||||
usr.sbin/config \
|
usr.sbin/config \
|
||||||
|
@ -283,12 +283,6 @@ SUBDIR.${MK_UTMPX}+= users
|
|||||||
SUBDIR.${MK_UTMPX}+= who
|
SUBDIR.${MK_UTMPX}+= who
|
||||||
SUBDIR.${MK_OFED}+= ofed
|
SUBDIR.${MK_OFED}+= ofed
|
||||||
|
|
||||||
# These are normally only handled for build-tools.
|
|
||||||
.if make(clean*)
|
|
||||||
SUBDIR+= mkcsmapper_static
|
|
||||||
SUBDIR+= mkesdb_static
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.arch.inc.mk>
|
.include <bsd.arch.inc.mk>
|
||||||
|
|
||||||
SUBDIR_PARALLEL=
|
SUBDIR_PARALLEL=
|
||||||
|
@ -3,6 +3,12 @@
|
|||||||
.PATH: ${SRCTOP}/lib/libc/iconv
|
.PATH: ${SRCTOP}/lib/libc/iconv
|
||||||
|
|
||||||
PROG= mkcsmapper
|
PROG= mkcsmapper
|
||||||
|
.if defined(BOOTSTRAPPING)
|
||||||
|
# When bootstrapping, the host libc might not contain these expected symbols
|
||||||
|
# so compile them directly into the binary.
|
||||||
|
SRCS= citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \
|
||||||
|
citrus_lookup_factory.c citrus_pivot_factory.c
|
||||||
|
.endif
|
||||||
LDFLAGS+= -L${SRCTOP}/lib/libc
|
LDFLAGS+= -L${SRCTOP}/lib/libc
|
||||||
|
|
||||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
gnu/lib/csu \
|
|
||||||
include \
|
|
||||||
include/arpa \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
usr.bin/yacc.host \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
@ -3,6 +3,12 @@
|
|||||||
.PATH: ${SRCTOP}/lib/libc/iconv
|
.PATH: ${SRCTOP}/lib/libc/iconv
|
||||||
|
|
||||||
PROG= mkesdb
|
PROG= mkesdb
|
||||||
|
.if defined(BOOTSTRAPPING)
|
||||||
|
# When bootstrapping, the host libc might not contain these expected symbols
|
||||||
|
# so compile them directly into the binary.
|
||||||
|
SRCS= citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \
|
||||||
|
citrus_lookup_factory.c
|
||||||
|
.endif
|
||||||
|
|
||||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||||
|
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
gnu/lib/csu \
|
|
||||||
include \
|
|
||||||
include/arpa \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
usr.bin/yacc.host \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
Loading…
Reference in New Issue
Block a user