freebsd-dev/share
Bryan Drewery dbbb03c244 META_MODE: Fix build-tools still sometimes rebuilding during target build.
In a cross-build, the build-tools are native host binaries.  We do not
want to rebuild them when building for the target.  Bmake previously
did not support checking .NOMETA on an existing target, so .NOMETA_CMP
was used here.  However, .NOMETA_CMP still triggers meta mode conditions
if the number of commands or the command changes.  In r312467 the paths
to build ncurses files were modified and thus triggered meta mode to
rebuild the build tools (make_keys, make_hash) in ncurses during the
target build.  Bmake 20160604 committed in r301462 changed .NOMETA to
also skip meta mode logic for an existing .meta file as well, thus it
is now the proper fix here.

I explored moving the build-tools output to WORLDTMP/tools with
relatively good success, but have concerns that doing so would be
problematic for downstream vendors who use LOCAL_TOOL_DIRS and
expect the tools to be in current OBJDIR for the target.  It also
adds more complexity into finding the tools during target build
and handling of where they are for rescue/rescue and
mkcsmapper_static/mkesdb_static which should really not be connected in
build-tools anyway.

MFC after:	2 weeks
Reported by:	many
Sponsored by:	Dell EMC Isilon
2017-04-06 18:21:59 +00:00
..
colldef Remove zh_TW.Big5 locale 2017-03-19 17:52:46 +00:00
ctypedef Remove zh_TW.Big5 locale 2017-03-19 17:52:46 +00:00
dict Add META_MODE support. 2015-06-13 19:20:56 +00:00
doc share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
dtrace Remove redefinitions of some kernel types from mbuf.d. 2016-09-03 20:43:59 +00:00
examples Catch up with Clang 4.0.0. 2017-03-07 19:00:27 +00:00
i18n share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
keys META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
man sbuf(9): add MLINKS for sbuf_{clear,get,set}_flags(9) 2017-04-06 05:02:03 +00:00
me Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc DragonFly BSD 4.8.0 release added. 2017-03-28 09:02:42 +00:00
mk META_MODE: Fix build-tools still sometimes rebuilding during target build. 2017-04-06 18:21:59 +00:00
monetdef Remove zh_TW.Big5 locale 2017-03-19 17:52:46 +00:00
msgdef Remove zh_TW.Big5 locale 2017-03-19 17:52:46 +00:00
numericdef Remove zh_TW.Big5 locale 2017-03-19 17:52:46 +00:00
security META MODE: These need object directories to handle staging. 2015-11-26 01:14:27 +00:00
sendmail share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
skel skel: Remove reference to deleted part in previous commit to this file. 2017-01-24 21:07:13 +00:00
snmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
syscons Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
tabset Add META_MODE support. 2015-06-13 19:20:56 +00:00
termcap Revert r314833 until the problem with INSTALL_RSYMLINKS can be found 2017-03-12 00:37:45 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
timedef Canada adheres to ISO 8601, let's make the locale reflecting that fact 2017-03-19 18:21:35 +00:00
vt Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
zoneinfo share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
Makefile Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
Makefile.inc