NetBSD/gnu
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
..
dist Fix up the bogosity in .y->.cc handling. Don't generate files in $(srcdir), 2001-11-12 17:09:03 +00:00
lib New toolchain files for mipseb. Mainly toolchain2netbsd output with some 2001-11-08 07:21:53 +00:00
libexec Add: 2001-10-26 14:44:13 +00:00
usr.bin Build .y.cc correctly. The .h file is supposed to be "foo_tab.h", not 2001-11-12 17:09:45 +00:00
usr.sbin Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
Makefile Use @true instead of @${TRUE} in includes-foo targets, since there is no 2001-10-12 21:05:08 +00:00
README
toolchain2netbsd Typo -- fix sed substitution to make sure it's actually a version number. 2001-08-14 05:17:59 +00:00

README

src/gnu/README:			<$Revision: 1.3 $>


Organization of Sources:

This directory hierarchy is using a new organization that
separates the GNU sources from the BSD-style infrastructure
used to build the GNU sources.  The GNU sources are kept in
the standard GNU source tree layout under:

	dist/*

The build infrastructure uses the normal BSD way under:

	lib/*
	usr.bin/*

The makefiles in the above hierarchy will "reach over" into
the GNU sources (src/gnu/dist) for everything they need.


Maintenance Strategy:

The sources under src/gnu/dist are generally a combination of
some published distribution plus changes that we submit to the
maintainers and that are not yet published by them.  There are
a few files that are never expected to be submitted to the FSF,
(i.e. BSD-style makefiles and such) and those generally should
stay in src/gnu/lib or src/gnu/usr.bin (the BSD build areas).

Make sure all changes made to the GNU sources are submitted to
the appropriate maintainer, but only after coordinating with the
NetBSD maintainers by sending your proposed submission to the
<tech-toolchain@netbsd.org> mailing list.  Only send the changes
to the third-party maintainers after consensus has been reached.


Maintenance History:

Original GNU sources were imported as follows:	[gwr,1997/09/24]
	dist/gdb	FSF gdb-4-16
	dist/readline	FSF readline-2-1
	dist/(other)	FSF binutils-2-8
Updated dist/(other) to FSF binutils-2-8-1	[gwr,1997/09/24]

Several changes have been integrated since the initial import,
and those will be submitted to the maintainers after this code
has been tested on all NetBSD ports (i.e. after NetBSD 1.3).
Some of the integration was done by importing a file from a
later snapshot.  Please log all such imports here.

Updated these files via import with tags: FSF cygnus970817
	dist/gdb/alpha-tdep.c
	dist/gdb/config/alpha/tm-alpha.h