Commit Graph

7 Commits

Author SHA1 Message Date
rillig c5b23e2249 lint: make path to lint data configurable
This is needed for strict bool mode, to make the custom header stdbool.h
available when lint is run as part of build.sh.
2021-01-24 16:55:09 +00:00
rillig 568ebf3743 lint: fix path to installed stdbool.h for strict bool mode 2021-01-24 16:22:55 +00:00
christos e2e1ee60e1 Install lint's custom stdbool.h and make lint search for it in the right place. 2021-01-24 15:43:09 +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
thorpej 14b9a21526 Avoid some annoying pitfalls of HOST_CPPFLAGS:=... in Makefile.host. 2001-10-25 02:23:21 +00:00
thorpej d5b1b00eaa Add $MACHINE_GNU_PLATFORM- prefixes to lint(1)'s front and back
ends, thereby properly making this a cross-tool.  This addresses
bin/14280.
2001-10-24 02:32:56 +00:00
tv c5d597ce98 Bootstrap toolchain framework, first pass. 2001-08-14 11:01:55 +00:00