Centralize the definition of the tool name prefix (i.e. "nb") intobsd.own.mk, as the _TOOL_PREFIX variable.
Move host-mkdep to its own directory. Create and install it beforeeverything else. Now it's possible for the target mkdep to build andinstall like "normal" host-tools do; should remove the functi
Move host-mkdep to its own directory. Create and install it beforeeverything else. Now it's possible for the target mkdep to build andinstall like "normal" host-tools do; should remove the function declwarnings reported by greywolf@starwolf.com on current-users.
show more ...
Work around some braindamage in our "yacc": its generated #line directivesalways name the file "y.tab.c", not what it is really named via "-o".
Add more tolerant script-based implementation of mkdep for host toolcompiles. Based loosely on mkdep.old.compiler (so CSRG license copied),but now uses just one rewrite (awk) process per cpp invoc
Add more tolerant script-based implementation of mkdep for host toolcompiles. Based loosely on mkdep.old.compiler (so CSRG license copied),but now uses just one rewrite (awk) process per cpp invocation anddetermines the proper way to run cpp and awk via a "configure" script.Use HOST_MKDEP in bsd.hostlib/hostprog.mk (defaulting to the old overridevalue of MKDEP), and give it a TOOLDIR equivalent in bsd.own.mk.
Fix use of @.
Add the framework for autoconf-based src/tools/compat structure. This will(after it is more fleshed out) allow the host tools to work more cleanlyon non-NetBSD hosts.
Prefix all target-specific things with `${MACHINE_GNU_PLATFORM}-'.Prefix all non-target-specific things with `nb'.
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 g
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.
Bootstrap toolchain framework, first pass.