Commit Graph

4802 Commits

Author SHA1 Message Date
tv 25c34dba0d Move host program overrides of INSTALL and MKDEP to <bsd.hostprog.mk>. 2001-11-13 17:36:14 +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 7745da0f1c Set CFLAGS and CPPFLAGS for the benefit of <bsd.dep.mk>, and move the
inclusion of <bsd.sys.mk> to the top to get defaults.  (Dependency handling
needs a cleanup, and will get one soon....)
2001-11-12 22:06:41 +00:00
tv 300ea65311 MAKEFLAGS isn't accessible from a conditional during parse; use .MAKEFLAGS
instead.
2001-11-12 20:11:21 +00:00
tv d35dc81716 "true" doesn't output anything; use "echo" instead. 2001-11-12 20:05:15 +00:00
tv 84935b4037 Make PRINTOBJDIR use "${MAKE} -V .OBJDIR" so it will work correctly with
<bsd.obj.mk> rewrites of ${.OBJDIR}.  Add a failsafe (checking for the
-V option in MAKEFLAGS) to prevent infinite recursion.
2001-11-12 20:03:44 +00:00
tv 777bc9f06a Use ${__curdir} consistently. 2001-11-12 18:49:12 +00:00
gmcgarry 63a43ab235 Clarify some chipset models. 2001-11-12 07:33:40 +00:00
tv c2c66c6e5c Also handle the USR_OBJMACHINE case for OBJHOSTMACHINE. 2001-11-11 23:22:19 +00:00
tv 2e00400b7f Affix the ${HOST_OSTYPE} info to the end of the objdir name if OBJMACHINE
is set (and MAKEOBJDIR[PREFIX] is not in use).  This permits multiple hosts
to compile hostprogs (not just src/tools) for a given target without
colliding with each other.

Currently restricted only to new toolchain builds, as this requires a new
make(1) in order to function properly.
2001-11-11 23:19:14 +00:00
tv e7e8f27d5f Fix variable concatenation in previous. 2001-11-11 23:07:26 +00:00
tv fcc9c62259 Make the BSDSRCDIR/BSDOBJDIR symlink based objdir system work for the top
source directory.  This will use BSDOBJDIR of OBJMACHINE is unset, and will
create a directory '.MACHINE' inside BSDOBJDIR if OBJMACHINE is set.

MAKEOBJDIR and MAKEOBJDIRPREFIX based objdirs already cope with the top
level directory just fine.
2001-11-11 22:39:23 +00:00
tv 80d11d2c09 Provide defaults for MDSETIMAGE and CRUNCHGEN. 2001-11-11 21:41:00 +00:00
itohy adb46cd666 fix ascii art 2001-11-11 14:02:18 +00:00
tsutsui 2cf8d764c2 Note DC-390UW as well as DC-390U/F (to use siop(4) for them). 2001-11-11 05:24:45 +00:00
perry 06ccd5c20e make a couple of comments reflect termios.h again following changes
to termios.h
2001-11-11 00:03:20 +00:00
wiz ab7d80e97b Misc regens with more xrefs. 2001-11-10 22:58:27 +00:00
wiz 84b670bf3e Add MAKEDEV(8) for evbarm 2001-11-10 22:57:57 +00:00
gmcgarry 22d5bd5eb8 - cross-reference skey(3)
- relegate FILES section to library pages
2001-11-10 06:32:37 +00:00
thorpej 73f86f9fe4 Add a DBSYM variable for the dbsym(8) host tool. 2001-11-09 07:30:55 +00:00
gmcgarry 965d17cd26 Reference krb5(3) and add description for libcom_err. 2001-11-08 19:52:51 +00:00
tsutsui 061889c028 - Add adv, adw, iha, mesh, osiop, pcscp and trm, and remove ncr in SYNOPSIS.
- s/TurboBus/TURBOchannel/
2001-11-07 16:45:50 +00:00
wiz dcfbb9ec97 Fix Dd. 2001-11-07 16:44:44 +00:00
tsutsui bf527533cc - Note trm(4) for DC-395U/UW/F.
- Note DC-390UW as well as DC-390U/F.
- Remove reference of ncr(4).
2001-11-07 16:43:12 +00:00
tsutsui 6170e0c5cd Add note and xref trm(4). 2001-11-07 16:38:58 +00:00
tsutsui c9f78bae39 Add trm(4) man page. 2001-11-07 16:37:13 +00:00
hubertf 4dfc9cf362 IYSS (if you say so)
Submitted in PR 14491 by Sean Davis <dive@endersgame.net>
2001-11-07 04:23:24 +00:00
tv 4fe26460e9 Remove dependency on NLSDIR entirely, now that it's not auto-created. 2001-11-06 16:20:16 +00:00
lukem 20960db1bf Don't create missing NLS directories; require them to already exist
(by updating etc/mtree/NetBSD.dist as necessary).
`nlsinstall' is now in line with other *install targets.
2001-11-06 10:59:15 +00:00
gmcgarry 4889f499f1 Rework to describe the plethora of libraries that arrived with the
introduction of crypto/Kerberos into the base system.

Doesn't have a hope of being complete since there is little (no?)
documentation available on what the libraries actually do, much
less how to use the functions included within them.  It's questionable
whether some of the libraries should exist in the first place.

Does NOT address lib/11191, lib/11171 + others I haven't found yet.
2001-11-06 00:06:21 +00:00
tv e239fff11b Extend the use of NEED_OWN_INSTALL_TARGET (used by bsd.pkg.mk since its
creation, to exclude conflicting make targets from botching pkgsrc), to
avoid defining INSTALL_FILE.  pkgsrc is self-contained except for
<bsd.own.mk>, so this doesn't have an adverse effect on real <bsd.*.mk>
build trees.
2001-11-05 19:45:25 +00:00
itohy 031207a029 Document mpu at cmpci and opl at cmpci attachment.
Document the mixer structure.
2001-11-04 07:00:39 +00:00
itohy 2869e4213e Document "opl at cmpci" and "flags 1". 2001-11-04 06:46:47 +00:00
atatat 89e0f1a4c6 Add 'check_pkgs' option. 2001-11-04 02:22:13 +00:00
thorpej 5f6d116c46 Switch PowerPC to the new toolchain. 2001-11-04 01:36:18 +00:00
enami 97ab45c39d Don't try to build nonexistent compressed man page. 2001-11-04 00:30:52 +00:00
hubertf a5378d2cae Make comment about scripts/* go the same place as the scripts/* code: /dev/null 2001-11-03 20:49:56 +00:00
thorpej fd329b8dd0 Fix typo in previous. 2001-11-03 20:46:25 +00:00
thorpej b437f0975b Switch NetBSD/sparc to the new toolchain. 2001-11-03 20:26:56 +00:00
tv 0812154e48 Use INSTALL_FILE/INSTALL_DIR as appropriate. 2001-11-02 18:10:00 +00:00
simonb 7d1f940ec6 Set installed library mode correctly in UNPRIVILEGED case. 2001-11-02 07:25:58 +00:00
tv 1129ed4afe Improve readability and reduce redundant redundancy in share/mk; add some
descriptive comments.  The guts of hostprog, lib, and prog are mostly
unchanged; this will be done in another pass.

Make several things work properly with UNPRIVILEGED set, and make the
install-time "cmp" logic work for MANZ.  Also reimplement INCS{DIR,NAME}_foo
(requested by wiz) in a backwards compatible way.

Reviewed by christos.
2001-11-02 05:21:47 +00:00
lukem 2d79659157 move -Wwrite-strings to WARNS=3 too ... (yech!) 2001-11-01 07:27:35 +00:00
lukem 0e643f61a5 Move -Wcast-qual from WARNS=2 to WARNS=3 (a new level), because it
generates too many false positives that require gross amounts of
workaround, and the other WARNS=2 stuff is quite useful. Per discussion
with simonb & christos.
2001-11-01 07:17:17 +00:00
wiz 496a336cb0 Slight markup change. 2001-11-01 01:15:42 +00:00
wiz 73680f8d68 Drop a spare .Pp. 2001-11-01 01:13:43 +00:00
tv a988fe0a8a Revert previous. src/include depends on the ability of <bsd.inc.mk> to
provide things to INCS with / in them.  Since nothing in-tree yet uses
INCS{DIR,NAME}_filename, this is not a loss at the moment.
2001-10-31 21:15:41 +00:00
atatat 6e885d365a Turn the tun device/network interface into a cloning device. 2001-10-31 20:08:17 +00:00
gmcgarry 8e84a660f0 Document new VEXECMAP vnode flag and rename vn_marktext() to vn_markexec(). 2001-10-31 19:53:07 +00:00
skrll 04b6a0a047 You can build libraries with more than just cc(1) now you know. 2001-10-31 18:44:11 +00:00