]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Makefile.inc1: push /usr/libexec into the BPATH/TMPPATH
authorKyle Evans <kevans@FreeBSD.org>
Sun, 12 Jan 2020 04:18:36 +0000 (04:18 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sun, 12 Jan 2020 04:18:36 +0000 (04:18 +0000)
commit4f47920e9c33368c746bc45b26383ccd2ce5cdb2
tree9ec7b85dde44cd872ccfa3d7a9fc93901b87dd4a
parent89476f9c99c03fa261d3f19bdfaf978ad5ac0453
Makefile.inc1: push /usr/libexec into the BPATH/TMPPATH

${WORLDTMP}/legacy/usr/libexec will only have libexec/ bits that we've
pushed as bootstrap tools, so this is generally safe to include prior to
PATH. The following are the ramifications of this change:

- BPATH addition gets us at least bootstrap flua in WMAKEENV path for
  buildenv, for those earlier systems where it's bootstrapped still

- Reworked the sysent target to just set PATH and let it get worked out in
  src.lua.mk or individual sysent makefiles -- this gives us back the
  ability to overwrite LUA_CMD and use a different/external lua for these
  targets.  sysent can also now work cleanly in buildenv.

- tools/build/Makefile will now symlink the host flua into build's host
  tools so that the above can work without needing to add the host's
  /usr/libexec explicitly into TMPPATH.

Reviewed by: arichardson, brooks, imp (all slightly earlier version)
Differential Revision: https://reviews.freebsd.org/D22464
Makefile.inc1
tools/build/Makefile