Commit Graph

19 Commits

Author SHA1 Message Date
enami a28fcd776c Make mtree a host tool and use it when appropriate. 2001-10-09 05:19:03 +00:00
tv 822fbb0675 Prevent parallelism problemswhen recursing into the GNU makefiles by
disabling parallelism in those builds.
2001-10-08 22:43:56 +00:00
tv 17f50da79a Move the setting of DESTDIR from the environment to the command line, deals
with DESTDIR being set on the command line at the top level (as per MAKEFLAGS
propagation in newer make(1) sources).
2001-10-08 22:19:55 +00:00
bjh21 fe71d89d58 Blank MACHINE in the environment when building the toolchain. This is
necessary to prevent ELF linker scripts' being built incorrectly, and
parallels rev 1.5 of gnu/usr.bin/binutils/ld/Makefile.
2001-10-06 16:38:04 +00:00
tv 848b7208e8 Clear DESTDIR from the environment when invoking make on the toolchain's
GNU makefiles.  Some of these tools are (amazingly) DESTDIR aware, but
we don't want that handling for host tools.

Fixes PR bin/14079.
2001-10-04 17:52:27 +00:00
tv 4748eedac5 Recurse properly; just add "build" to TARGETS (fixes reported problem where
"make clean" doesn't work at the src/tools level).
2001-10-04 16:33:05 +00:00
tv 63e11416cf Add STRIP to the environment of binstall, to use proper strip at install
time.  Noted by <jepeway@blasted-health.com>.
2001-09-25 01:43:35 +00:00
tv 9998046745 Work around "make obj" lossage in tools/. Dunno why this is happening
just yet; will investigate this evening.
2001-09-22 12:29:22 +00:00
tv aea7f2e0d5 Move the definitions of host tools from Makefile.tools to <bsd.own.mk>.
Turn on USE_NEW_TOOLCHAIN explicitly on i386.  (See current-users or
tech-toolchain for the heads up announcement and tech details.)
2001-09-22 05:45:50 +00:00
tv e704f6d2ea Move <bsd.hostprog.mk> to the right place so TOOLDIR can be set in mk.conf. 2001-09-22 05:02:13 +00:00
tv 14e39089db Add lorder to TOOLDIR host tools.
Only descend into directories if USE_NEW_TOOLCHAIN is set (allows top level
Makefile to use "-m ${.CURDIR}/share/mk" to get the "correct" <bsd.own.mk>
when descending into src/tools/Makefile).
2001-09-22 04:15:19 +00:00
tv 772c71ae08 Revert previous. The dependency strategy used in "tools" is not the same as
in the rest of the source tree, for reasons that will be documented separately.

Short story: host tools that are out of date need to be rebuilt
*from scratch* to avoid our common `source skew accidents'.
2001-09-22 04:12:33 +00:00
mrg 158c241b62 add UPDATE/NOCLEANDIR support. 2001-09-22 01:19:11 +00:00
tv 5242e768a7 Add compile_et to TOOLDIR host tools. 2001-09-21 23:01:08 +00:00
tv d27286ce34 - Create a real cpp binary.
- Set CC properly in environment for mkdep and lint.
- Add compile_et to TOOLDIR host tools.
2001-09-21 23:00:35 +00:00
tv 001747f623 Do a cleandir also before building when a timestamp demands it (not just on
MKTOOLS=always).
2001-08-14 13:55:57 +00:00
tv b4b99a2b55 Remove USE_NEW_TOOLCHAIN definition; this will go in bsd.own.mk. 2001-08-14 12:36:34 +00:00
tv c516c1badc Make MKTOOLS tri-state; add "always" to dictate that the host tools are to
be rebuilt on every build.
2001-08-14 12:36:10 +00:00
tv c5d597ce98 Bootstrap toolchain framework, first pass. 2001-08-14 11:01:55 +00:00