b5cd2489b2
* 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. |
||
---|---|---|
.. | ||
dist | ||
lib | ||
libexec | ||
usr.bin | ||
usr.sbin | ||
Makefile | ||
README | ||
toolchain2netbsd |
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