Commit Graph

4815 Commits

Author SHA1 Message Date
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
tv 61be23b431 * Create a variable HOST_OSTYPE that represents the host build environment,
using `uname -s`-`uname -r`-`uname -p || uname -m`.  This can be overridden
  in mk.conf or the environment, and is used by host tools to ensure that
  build hosts do not clobber each other.

* Now that there's an objdir in src/tools, make a default TOOLDIR by creating
  "tools.${HOST_OSTYPE}" in the objdir (if it exists) of src/tools.  This
  means that TOOLDIR is no longer required to be set in a build, though it
  still may be set manually if desired.

* Set MKTOOLS to "yes" by default, since the default TOOLDIR is now located
  in a known mutable location.  This may still be set manually if desired.
2001-10-31 17:46:08 +00:00
tv abb4800606 Make REQUIRETOOLS work properly -- don't error if USE_NEW_TOOLCHAIN is
not set.  Also, nuke redundant USE_NEW_TOOLCHAIN check with USETOOLS.
2001-10-31 16:25:21 +00:00
tv 7d2258875d Use __curdir throughout, so MAKEOBJDIR builds see resolved paths in the
"foo -> bar" messages written to stdout.
2001-10-31 01:46:42 +00:00
wiz 59268f6553 Add support for INCSNAME and INCSNAME_<file> to bsd.inc.mk.
Same syntax as FILESNAME and FILESNAME_<file>, allows to install
includes under a different name.
Okay'd by christos.
2001-10-30 15:17:16 +00:00
augustss c2c3727493 Add moused configuration. 2001-10-30 08:44:57 +00:00
jdolecek 39ecb68bcf fix typo in example code 2001-10-29 23:04:29 +00:00
augustss 28fed02bd7 Document the wsmuxctl device. Xref moused(8) (soon to appear). 2001-10-29 22:51:33 +00:00
gmcgarry 103408cb36 Turbochannel -> TURBOchannel 2001-10-29 19:02:23 +00:00
gmcgarry 305a93a18f TurboChannel -> TURBOchannel. Pointed out by Tohru Nishimura. 2001-10-29 18:59:55 +00:00
pooka 0e8598ed82 make struct ifaliasreq match the one found in net/if.h 2001-10-29 15:08:31 +00:00
cgd f3bd0cf158 add WRT (with respect to) 2001-10-28 22:39:30 +00:00
cgd 9116fff03a fix BTTH (_boot_ to the head) 2001-10-28 22:38:01 +00:00
wiz b45940a186 Sort SEE ALSO, sort sections, other minor cleanups. 2001-10-28 18:47:03 +00:00
jdolecek 4a5ea306b8 s/Soundblaster/SoundBlaster/. Addresses kern/14321 by Gergely EGERVARY 2001-10-28 16:28:39 +00:00
jmc 83fb4943af already gets checked and prints out an error if it's used without
being set. You want to use it if USE_NEW_TOOLCHAIN is set and you're in
the source tree by default.
2001-10-28 02:03:00 +00:00
chs 3116cf32a9 if TOOLDIR is not defined, USETOOLS should default to "no",
since defaulting to "yes" will just give an error every time.
2001-10-28 00:52:41 +00:00
gmcgarry a51e9664a9 - simple_lock_unlock() -> simple_unlock()
- include description of LK_INTERLOCK flag

Improvements suggested by Anthony Mallet in PR-14367.
2001-10-27 06:06:19 +00:00
jdolecek 9f786f908f Fix typo - it's <dev/mca/mcadevs.h>, not <dev/tc/mcadevs.h>.
Reported by Miod Vallat in misc/14365.
2001-10-26 17:10:22 +00:00
jmc bffc850001 Remove debug echo statement 2001-10-26 06:41:46 +00:00
yamt 2b98bd0728 - VOP_READDIR will remain vnode locked.
- our VOP_FSYNC doesn't have argument "waitfor".
- IO_SYNC is synchronous.
- remove a repeated sentence in VOP_UNLOCK.
- fix some misspells.
2001-10-26 06:24:08 +00:00
jmc a414473103 Change the check for BSD_PKG_MK into something which looks to see if we're
running from inside of $BSDSRCDIR (recurse back and look for file/dir
signatures or reach /, whichever comes first).

Do it once and then pass the results to sub-makes.

Finally, if using the new toolchain and USETOOLS=yes check $TOOLDIR
before using it. Print an error message out if it's not set when expected
here.
2001-10-26 04:59:10 +00:00
yamt 43a577818e s/falg/flag/ 2001-10-26 03:48:41 +00:00
bjh21 cb7676b0ab USE_NEW_TOOLCHAIN for ARM ELF platforms (just arm26), since the old toolchain
doesn't do ARM ELF at all.
2001-10-25 22:31:11 +00:00
jdolecek e1d5d53574 remove the mention of /usr/mdec/biosboot_ps2.sym, it no longer exist
(the support is part of standard bootblocks)
2001-10-25 21:34:30 +00:00
bouyer 786a6026c6 Note that the ethernet function of Xircom RealPort 10/100 Ethernet + Modem
works.
2001-10-25 20:23:46 +00:00
nathanw 41ee0930b0 Don't explicitly set SHLIB_LDSTARTFILE and SHLIB_LDENDFILE for the
generic architecture case; this permits the later ELF clause to set
them properly for ELF platforms.

This will cause crtbeginS.o and crtendS.o to be included in shared
libraries built on all ELF platforms, not just alpha, mips, vax, and
sparc.
2001-10-25 19:32:15 +00:00
christos 167e01dd54 add pos 2001-10-25 13:56:07 +00:00
thorpej 083db732ee Sigh, back out previous -- it is necessary inorder for the depend
(and dependall) targets to work properly.

XXX THIS IS BROKEN.  It's highly questionalble that we should be applying
our .depend-generating rules to a host system -- the mkdep we currently
use assumes GCC.
2001-10-25 13:48:50 +00:00
thorpej 09dacf298e Oops, typo. 2001-10-25 07:47:18 +00:00
thorpej 9c77726ed1 Add an ASN1_COMPILE variable for that host tool. 2001-10-25 07:46:48 +00:00
thorpej 4cd6ce7ea8 Remove an unnecessary "CPPFLAGS=${HOST_CPPFLAGS}" -- the host tool
targets use HOST_CPPFLAGS exclusively, and keeping this assignment
can get us into some unfortuante recursion trouble.
2001-10-25 01:21:14 +00:00
thorpej 5717160d3a MDSETIMAGE gets a MACHINE_GNU_PLATFORM prefix. 2001-10-24 23:58:21 +00:00
augustss c642c12a27 Add a BUGS section mentioning the difficulties with using ddb during boot. 2001-10-24 22:37:07 +00:00
enami 4644bbe41d s/fnctl/fcntl/ 2001-10-24 09:01:47 +00:00
thorpej bae67ac435 LINT needs a ${MACHINE_GNU_PLATFORM}- prefix now. 2001-10-24 02:34:33 +00:00
thorpej 3a01dbbe6c Quote the ${CC} provided to mkdep's environment. 2001-10-23 22:55:30 +00:00
kleink 7ff4c19dee Inspired by rev. 1.18: consistency, pull in <assert.h> for _DIAGASSERT(). 2001-10-23 18:51:05 +00:00
kleink 04b133da92 As discussed with Luke, add a short _DIAGASSERT(3) example.
Fixes PR lib/14324.
2001-10-23 18:45:13 +00:00
thorpej 8f508df026 When setting MACHINE_GNU_PLATFORM for ARM ports, we need compare
MACHINE_GNU_ARCH (not MACHINE_ARCH) to "arm", otherwise the GNU
platform won't be set properly if OBJECT_FMT=ELF.
2001-10-23 17:15:21 +00:00
wiz 2893e5922b Don't xref ourselves.
Noted by YAMAMOTO Takashi on tech-userlevel.
2001-10-23 09:57:10 +00:00
augustss 94a6eb942b Xref. 2001-10-22 22:23:44 +00:00
gmcgarry 18a46c1d6c mount.9 doesn't exist (yet?) 2001-10-22 20:47:05 +00:00
gmcgarry 3cda02af37 wsemul.9 was merged with wsdisplay.9 2001-10-22 20:43:03 +00:00
gmcgarry ec7180252d fnctl -> fcntl 2001-10-22 19:22:42 +00:00
kleink 992bc87e22 Add a 1003.1g-2000 macro. 2001-10-22 16:46:05 +00:00
taca ce11bd32bc Remove tab only line. (Emacs makefile mode complains it.) 2001-10-22 10:53:47 +00:00
wiz 1978ea7c16 Whitespace, punctuation fixes; sort sections, fix xrefs. 2001-10-22 08:21:32 +00:00
lukem 179b47c97b install all the macro links to queue.3 using the correct UPPER_CASE name 2001-10-22 04:37:57 +00:00
gmcgarry d67daa9469 Update for new pages and sort. 2001-10-22 03:34:39 +00:00
gmcgarry f9acd7a62a Programmer's guide to the VFS interface. 2001-10-22 03:33:19 +00:00
gmcgarry 3609682ad9 Programmer's guide for wscons. 2001-10-22 03:29:58 +00:00
gmcgarry c6f6ff8c51 Programmer's guide for the rasops subsystem. 2001-10-22 03:28:44 +00:00
gmcgarry f878fc9982 Programmer's guide for TurboChannel. 2001-10-22 03:25:52 +00:00
gmcgarry 4d4c103867 Programmer's guide for MicroChannel. 2001-10-22 03:25:26 +00:00
jmc a831891141 Pull in mdsetimage to the tools builds. (XXX - using libbfd here would
probably be preferrable long term).
2001-10-21 23:10:46 +00:00
jmc 910ace859f Pass ${.MAKE} to crunchgen so it uses the one for cross builds correctly 2001-10-21 23:08:59 +00:00
thorpej 322df02b17 Document the 0x02 flag. 2001-10-21 18:57:39 +00:00
wiz 2be5ce2fe5 Sort SEE ALSO, sort sections, remove spurios .Pp, NetBSD -> .Nx. 2001-10-21 09:42:41 +00:00
isaki 74242463f6 add about vs driver. 2001-10-21 03:33:44 +00:00
manu 3245c82583 Added clockctl.4 2001-10-20 09:45:31 +00:00
wiz a2f94a8a64 Fix whitespace, ispell, sort SEE ALSO, add HISTORY section. 2001-10-20 09:32:22 +00:00
manu e9d17b72f9 Added clockctl(4) 2001-10-20 09:10:33 +00:00
jmc 6289ed7a3e Change sets so the differing toolchain bits only (not the complete toolchain
at the moment) are pulled out into tc.mi and tc.old files.

tc.mi has any files which are in the new toolchain only and tc.old contains
the reverse (files which only existed in the old toolchain). The remainder
of the toolchain that is common between both old and new is still contained
in the various mi/md files.

Check for USE_NEW_TOOLCHAIN=yes in makeflist to determine which tc files to
pull in if they exist.

XXX - All the toolchain bits should eventually be pulled out into separate
lists as tc.mi and tc.<arch>. Leaving it for now until the new toolchain is
fully integrated on all ports.
2001-10-20 06:11:21 +00:00
jmc 37e7a6a0a9 Add mklocale to cross-tools and turn it back on for the builds. 2001-10-20 06:04:59 +00:00
tv 9bd7c9e744 Better version of previous. Use an .ifdef in this case, so the rule isn't
even defined without YHEADER.  (Otherwise can lead to odd behavior.)
2001-10-19 19:07:48 +00:00
tv 336a299fa4 Make sure .y.h rule knows what to do only if YHEADER is set. 2001-10-19 17:05:26 +00:00
tv 53aa2d95d7 Simplify many .if's by collapsing to make :D and :U conditionals. 2001-10-19 16:28:54 +00:00
tv 4a7f86b870 Simplify and collapse a lot of the gooey .l and .y handling cruft here.
Rather than special-case a bunch of stuff, make this always parallel-safe,
and have make call upon the .l.c/.y.c followed by .c.o/.c.lo transforms,
rather than try to go right from .l/.y to .o/.lo.
2001-10-19 16:15:40 +00:00
tv ccfbe64e81 Add .NOPATH for all files generated from .l or .y files in SRCS. Fixes PRs
bin/14187 and lib/14239.

Also simplify the handling of these transforms to .c and .h files a bit by
leveraging make's builtin macro operators.
2001-10-19 15:55:52 +00:00
uch fc6d46ce8d add playstation2 port. 2001-10-19 15:36:36 +00:00
tv 14c5d2a7bb Skip obj-sushi; no objdirs get built there. 2001-10-19 14:00:55 +00:00
wiz 70925a0ded Remove an empty line. 2001-10-18 19:41:48 +00:00
gmcgarry f599563f29 Improve the descriptions of the detach and activate/deactivate interfaces. 2001-10-18 19:35:25 +00:00
jdolecek 0e6348a6ce use 2001 not 1999 in (c) message 2001-10-18 18:41:22 +00:00
jdolecek 2176576808 Add emuxki manpage 2001-10-18 18:40:13 +00:00
wiz a18563818b NetBSD -> .Nx 2001-10-15 13:44:47 +00:00
wiz ed6c442306 Whitespace fix. 2001-10-15 13:44:19 +00:00
blymn eefd77845d Added TIMEFORMAT entry. 2001-10-15 13:22:22 +00:00
itojun 91498ffec5 implement IPV6_V6ONLY socket option from draft-ietf-ipngwg-rfc2553bis-03.txt.
IPV6_BINDV6ONLY (netbsd only) is deprecated, but still work just like before.
2001-10-15 09:51:15 +00:00
lukem d76f074387 - expand check_homes description
- check_disklabels now backs up fdisk output if /sbin/fdisk exists
- expand check_mtree description
- s/pkg_dbdir/pkgdb_dir/
2001-10-15 08:53:28 +00:00
lukem af6420c46f /var/chroot 2001-10-15 04:56:11 +00:00
bouyer eceedc163a Note that ADAPTER_REQ_GROW_RESOURCES is called from the completion thread. 2001-10-14 21:12:52 +00:00
wiz b03425348a Sort SEE ALSO. 2001-10-14 19:53:06 +00:00
augustss abb7474405 Xref wsmuxctl(4). 2001-10-13 20:21:48 +00:00
augustss 1bcfb3cc57 Xref xi and pci. 2001-10-13 17:20:48 +00:00
augustss 004903c9e0 Update for the recent changes to wsmux. 2001-10-13 17:15:33 +00:00
ichiro 6f33add3d8 The description about PRISM for PCI-bus was added. 2001-10-13 16:56:17 +00:00