Commit Graph

12 Commits

Author SHA1 Message Date
christos 747508ddb1 no man pages for tools build. 2013-03-16 22:32:50 +00:00
christos 64e869fe87 Fix the real problem, Makefile.host was included before the HOST_MKDEP
setup so it prevented correct CPPFLAGS from being used.
2013-03-16 02:51:25 +00:00
christos 6a49e1d8c8 Create a manifest on windows if the filename requires it, so that it does
not need UAC to execute.
2013-02-17 00:36:40 +00:00
apb f996a13f4f In tools/binstall/Makefile, explicitly use the uninstalled copy
of libnbcompat, not the version that's installed under TOOLDIR.
2012-12-02 12:39:55 +00:00
apb 3b5482ec3a Teach tools/binstall/Makefile to use an uninstalled copy of
host-mkdep from the.OBJDIR of tools/host-mkdep.  This is
in preparation for building all three of tools/host-mkdep,
tools/compat, and tools/binstall, before installing any of them.
2012-12-02 12:18:16 +00:00
joerg dbfc63fcce Rename nbinstall to ${MACHINE_GNU_PLATFORM}-install as it calls the
target strip. Don't pass down strip as it is not needed any longer.
2007-07-03 16:29:24 +00:00
joerg 12929bba43 - When compiling nbinstall for the tool chain, use the target strip
and not /usr/bin/strip. This makes nbinstall usable for
  cross-compiling in pkgsrc.
- Fix a typo in a comment.
- Fix strip() in the context of (v)fork:
  - Build the argument string first using asprintf (simpler) and
    avoid leaking memory from the child in the parent.
  - Don't use warn in the child, as stdio should be avoided.

OK christos@, tested on Solaris by dmcmahill@.
2007-06-28 19:05:55 +00:00
dogcow 2b33ff3b97 cross (and native) building works again. woo. 2006-10-29 06:17:08 +00:00
thorpej c4a72b6436 Centralize the definition of the tool name prefix (i.e. "nb") into
bsd.own.mk, as the _TOOL_PREFIX variable.
2002-12-08 20:19:56 +00:00
tv d21f3d4a13 Prefix all target-specific things with `${MACHINE_GNU_PLATFORM}-'.
Prefix all non-target-specific things with `nb'.
2001-11-14 22:13:39 +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
tv c5d597ce98 Bootstrap toolchain framework, first pass. 2001-08-14 11:01:55 +00:00