Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162831970
D28181.id82621.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
6 KB
Referenced Files
None
Subscribers
None
D28181.id82621.diff
View Options
Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -2332,6 +2332,11 @@
${_bt}-usr.bin/localedef: ${_bt}-usr.bin/yacc ${_bt_lex_depend}
.endif
+.if ${MK_ICONV} != "no"
+_mkesdb= usr.bin/mkesdb
+_mkcsmapper= usr.bin/mkcsmapper
+.endif
+
.if ${MK_KERBEROS} != "no"
_kerberos5_bootstrap_tools= \
kerberos5/tools/make-roken \
@@ -2483,6 +2488,8 @@
${_nmtree} \
${_vtfontcvt} \
${_localedef} \
+ ${_mkcsmapper} \
+ ${_mkesdb} \
${LOCAL_BSTOOL_DIRS}
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
@@ -2546,8 +2553,6 @@
${_share} \
usr.bin/awk \
${_libmagic} \
- usr.bin/mkesdb_static \
- usr.bin/mkcsmapper_static \
usr.bin/vi/catalog
build-tools_${_tool}: .PHONY
${_+_}@${ECHODIR} "===> ${_tool} (${_bt_clean:D${_bt_clean},}obj,build-tools)"; \
Index: share/i18n/csmapper/Makefile.inc
===================================================================
--- share/i18n/csmapper/Makefile.inc
+++ share/i18n/csmapper/Makefile.inc
@@ -3,7 +3,5 @@
.include <bsd.own.mk>
CSMAPPERDIR?= /usr/share/i18n/csmapper
-.if ${MK_STAGING} == "yes"
-MKCSMAPPER= ${STAGE_HOST_OBJTOP}/usr/bin/mkcsmapper_static
-.endif
-MKCSMAPPER?= ${.OBJDIR:H:H:H}/usr.bin/mkcsmapper_static/mkcsmapper_static
+# mkcsmapper should have been built as part of bootstrap-tools
+MKCSMAPPER?= ${.OBJDIR:H:H:H:H}/tmp/legacy/usr/bin/mkcsmapper
Index: share/i18n/csmapper/Makefile.part
===================================================================
--- share/i18n/csmapper/Makefile.part
+++ share/i18n/csmapper/Makefile.part
@@ -1,8 +1,6 @@
# $FreeBSD$
# $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}
PARTFILE?= ${.CURDIR}/${CODE}.part
.if exists(${PARTFILE})
Index: share/i18n/esdb/Makefile.inc
===================================================================
--- share/i18n/esdb/Makefile.inc
+++ share/i18n/esdb/Makefile.inc
@@ -5,7 +5,5 @@
.PATH: ${.CURDIR}
ESDBDIR?= /usr/share/i18n/esdb
-.if ${MK_STAGING} == "yes"
-MKESDB= ${STAGE_HOST_OBJTOP}/usr/bin/mkesdb_static
-.endif
-MKESDB?= ${.OBJDIR:H:H:H}/usr.bin/mkesdb_static/mkesdb_static
+# mkesdb should have been built as part of bootstrap-tools
+MKESDB?= ${.OBJDIR:H:H:H:H}/tmp/legacy/usr/bin/mkesdb
Index: share/i18n/esdb/Makefile.part
===================================================================
--- share/i18n/esdb/Makefile.part
+++ share/i18n/esdb/Makefile.part
@@ -1,8 +1,6 @@
# $FreeBSD$
# $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
ALIASFILE?= ${.CURDIR}/${CODE}.alias
.if !defined(NO_SEP)
Index: targets/pseudo/hosttools/Makefile.depend.host
===================================================================
--- targets/pseudo/hosttools/Makefile.depend.host
+++ targets/pseudo/hosttools/Makefile.depend.host
@@ -12,8 +12,8 @@
usr.bin/clang/clang-tblgen \
usr.bin/clang/llvm-tblgen \
usr.bin/localedef \
- usr.bin/mkcsmapper_static \
- usr.bin/mkesdb_static \
+ usr.bin/mkcsmapper \
+ usr.bin/mkesdb \
usr.bin/xinstall \
usr.bin/yacc \
usr.sbin/config \
Index: usr.bin/Makefile
===================================================================
--- usr.bin/Makefile
+++ usr.bin/Makefile
@@ -287,12 +287,6 @@
SUBDIR.${MK_SVNLITE}+= svn
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>
SUBDIR_PARALLEL=
Index: usr.bin/mkcsmapper/Makefile
===================================================================
--- usr.bin/mkcsmapper/Makefile
+++ usr.bin/mkcsmapper/Makefile
@@ -3,6 +3,12 @@
.PATH: ${SRCTOP}/lib/libc/iconv
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
NO_WMISSING_VARIABLE_DECLARATIONS=
Index: usr.bin/mkcsmapper_static/Makefile
===================================================================
--- usr.bin/mkcsmapper_static/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# $FreeBSD$
-
-.PATH: ${SRCTOP}/lib/libc/iconv ${SRCTOP}/usr.bin/mkcsmapper
-
-PROG= mkcsmapper_static
-SRCS= citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \
- citrus_lookup_factory.c citrus_pivot_factory.c
-MAN=
-NO_SHARED= yes
-NO_WMISSING_VARIABLE_DECLARATIONS=
-
-build-tools: mkcsmapper_static
-
-.include "${SRCTOP}/usr.bin/mkcsmapper/Makefile.inc"
-.include <bsd.prog.mk>
-
-${PROG}: ${BUILD_TOOLS_META}
Index: usr.bin/mkcsmapper_static/Makefile.depend
===================================================================
--- usr.bin/mkcsmapper_static/Makefile.depend
+++ /dev/null
@@ -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
Index: usr.bin/mkesdb/Makefile
===================================================================
--- usr.bin/mkesdb/Makefile
+++ usr.bin/mkesdb/Makefile
@@ -3,6 +3,12 @@
.PATH: ${SRCTOP}/lib/libc/iconv
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=
Index: usr.bin/mkesdb_static/Makefile
===================================================================
--- usr.bin/mkesdb_static/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# $FreeBSD$
-
-.PATH: ${SRCTOP}/lib/libc/iconv ${SRCTOP}/usr.bin/mkesdb
-
-PROG= mkesdb_static
-SRCS= citrus_bcs.c citrus_db_factory.c citrus_db_hash.c \
- citrus_lookup_factory.c
-MAN=
-NO_SHARED= yes
-NO_WMISSING_VARIABLE_DECLARATIONS=
-
-build-tools: mkesdb_static
-
-.include "${SRCTOP}/usr.bin/mkesdb/Makefile.inc"
-.include <bsd.prog.mk>
-
-${PROG}: ${BUILD_TOOLS_META}
Index: usr.bin/mkesdb_static/Makefile.depend
===================================================================
--- usr.bin/mkesdb_static/Makefile.depend
+++ /dev/null
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 18, 9:22 AM (14 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35193973
Default Alt Text
D28181.id82621.diff (6 KB)
Attached To
Mode
D28181: Remove mkcsmapper_static and mkesdb_static from build-tools
Attached
Detach File
Event Timeline
Log In to Comment