Commit Graph

19 Commits

Author SHA1 Message Date
wiz e691fec026 Remove duplicate 'files'. From Ryo HAYASAKA in toolchain/17674. 2002-07-22 09:49:05 +00:00
lukem 7d134e662e add "-M makeobjdirprefix" to build.sh 2002-05-13 01:44:34 +00:00
lukem d918d8f74f Move the METALOG from ${_SRC_TOP_OBJ_} to ${DESTDIR}.
There were too many synchronisation problems with using the former;
including situations such as a "make clean" performed between two
installs to the same DESTDIR would result in a truncated METALOG and
the resultant sets would be missing stuff such as include files that
don't get reinstalled if they haven't changed, even with !UPDATE.
2002-05-03 08:58:45 +00:00
sommerfeld 965e0acae4 Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN
Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1),
which inherits it cooperatively through the build tree.  Fix
documentation so that it's shown to be deprecated.

If you use build -jN, please save full build logs so that errors due
to missing dependancies can be analyzed and corrected.
2002-05-02 22:13:30 +00:00
thorpej e4732a956b Add a -B option to set the BUILDID for the build. This also causes
the make(1) wrapper script to be named "nbmake-MACHINE-BUILDID".
2002-03-14 18:33:04 +00:00
lukem 29fbf34d9a document various supported environment variables, including MAKEOBJDIRPREFIX 2002-03-05 01:15:51 +00:00
lukem bce57f4638 document:
- make's UNPRIVED support
- build.sh's -U support
- the build system currently needs to build onto a file system with
  long file name and hard link support
2002-03-04 02:10:02 +00:00
thorpej 876398b40f Document the -d option to build.sh 2001-11-25 18:40:34 +00:00
tv f2054f0743 Note only <bsd.own.mk> as the authority for determining whether the new
BUILDING instructions should be used.
2001-11-15 16:20:37 +00:00
tv 6c2c072164 Turn off host-specific objdirs by default. Set MKHOSTOBJ=yes to enable. 2001-11-14 22:29:23 +00:00
tv b5cd2489b2 Major overhaul of src/tools and host toolchain. Summary of changes:
* Rewrite src/tools Make logic to work like the rest of the tree wrt
  "dependall" and "install".  The old "make build" hack is gone.

* Remove the MKTOOLS logic.  This was linked to the "make build" hack,
  and was only needed because TOOLDIR originally had no writable default.

* Redo the GNU configure/make logic to make it fit reasonably in a
  BSD make wrapper.  Use new ${.ALLTARGETS} variable to scan for
  targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.

* Only build cross tools in src/tools; remove some messy logic in
  src/usr.* and src/gnu/usr.* that would do target filename rewriting
  (improves consistency and readability).

* Add the ability to build cross gdb at tool build time by setting
  MKCROSSGDB (default no) to "yes" in mk.conf.

* Add src/tools/groff and set up paths to work with this cross groff.
2001-11-12 23:16:17 +00:00
wiz f456b88410 Remove mention of BUILDLING.html, and follow rename of BUILDING.txt to
BUILDING.
Noted by Love <lha@stacken.kth.se> on tech-toolchain.
2001-11-08 21:29:06 +00:00
tv 3980e269f9 By popular demand, one preformatted version of BUILDING, plaintext, no CRs. 2001-11-01 16:34:21 +00:00
thorpej f6614f977b Document build.sh -t 2001-11-01 00:14:45 +00:00
tv 44c7a1639c Document new build.sh options, and remove the temporary note on USETOOLS
("no" functions as documented now).
2001-10-31 23:20:34 +00:00
wiz 44f309a116 Drop some unnecessary whitespace, sort sections as in man pages, and
fix an xref and a formatting nit.
2001-10-30 16:22:40 +00:00
tv 0bcfd3ca58 Fix quote characters (" does not work; nor does \*(Lq and \*(Rq in HTML). 2001-10-30 14:40:24 +00:00
tv 2a4e0f9e0b Fix the names of the BUILDING files in the description of the source tree
layout.
2001-10-29 20:02:01 +00:00
tv 82d72faa94 First public revision of the new toolchain build documentation. 2001-10-29 19:46:47 +00:00