Commit Graph

4859 Commits

Author SHA1 Message Date
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
jmc
1ea83aa531 Add crunchgen, msgc and menuc 2001-10-13 06:11:06 +00:00
jmc
c55dbe210b Add MTREE var definition to list for sys.mk 2001-10-13 06:06:55 +00:00
pooka
a809d8b762 Make "[EXPERIMENTAL]" in NTFS consistent with other experimental filesystems 2001-10-13 00:15:53 +00:00
nathanw
7f59122d03 Use @true instead of @${TRUE} in includes-foo targets, since there is no
variable TRUE defined in our makefile system.

This prevents "make includes" from breaking with older bsd.subdir.mk, and is
more consistent with the uses of "true" in the rest of the tree.
2001-10-12 21:05:08 +00:00
hubertf
99e2cfa498 fix typo (shaed) 2001-10-10 10:40:54 +00:00
enami
a28fcd776c Make mtree a host tool and use it when appropriate. 2001-10-09 05:19:03 +00:00
mrg
f650652253 use CC="${CC}" and NM="${NM}" so that, eg, "CC=cc -m64" works. 2001-10-08 10:01:35 +00:00
jdolecek
8afa2826a7 add info on setting procfs 2001-10-07 10:12:05 +00:00
jdolecek
263dfb9f86 xref hz(9), remove dot after lock(9) 2001-10-07 09:47:45 +00:00
simonb
6247b48489 Use ${MACHINE_CPU} instead of ${MACHINE_ARCH} in the machine-links
target; needed for MIPS and probably arm ports.
.include the full path name of machine/Makefile.inc so that this works
  if the machine-links target hasn't been run yet.
.include ${MACHINE_CPU}/include/Makefile.inc too.
2001-10-05 15:30:06 +00:00
wiz
819c6ef3ac Whitespace fixes, formatting improvements, drop some unnecessary .Pp, sort
sections.
2001-10-04 19:39:41 +00:00
eeh
15a1a192f2 Build the properties.9 manpage. 2001-10-04 18:58:04 +00:00
eeh
e1bd5ac110 Add generic properties. 2001-10-04 18:56:06 +00:00
tv
d1a2ff769a Make sure "clean" target is always defined, to compensate for cleandir
now being defined in terms of clean.
2001-10-04 16:29:54 +00:00
tv
4623186407 Make sure to define USETOOLS properly always (set it to "no" on systems
without USE_NEW_TOOLCHAIN).  This will allow conversion of in-tree
conditionals to use only USETOOLS....
2001-10-04 15:52:59 +00:00
wiz
cb19ecf339 Actually, we don't have libhesiod -- the functions are in libc.
Noted by Gregory McGarry.
2001-10-04 11:27:19 +00:00
gmcgarry
645f8fe35b mdoc'ify pcap.3 2001-10-03 20:58:31 +00:00
augustss
3d2be4cf9b Fix pasto in type of dev_ioctl method. 2001-10-03 20:48:41 +00:00
augustss
8972205779 Document a new method, dev_ioctl, for passing ioctl() down to the hardware
driver.
2001-10-02 23:58:03 +00:00
augustss
3b88e4f7d2 Note that spkr and midi can attach to pcppi. 2001-10-02 20:37:00 +00:00
itojun
ee336410b2 typo 2001-10-02 05:21:21 +00:00
atatat
e018ea931c Man page updates to cover recent work and work that I did before I
realized there was a man page for this stuff.
2001-10-01 03:02:34 +00:00
gmcgarry
00cd9b0c12 Fix formatting glitch. 2001-09-30 22:58:57 +00:00
gmcgarry
7899a89c25 Remove references to the multifunction cards since it looks they're
not going to be fixed anytime soon.
2001-09-30 22:53:25 +00:00
wiz
f98dcf7b4d Remove a 'the'. 2001-09-30 00:04:29 +00:00
wiz
a793b3fba0 Sort sections, sort SEE ALSO, standardize section name, improve formatting
in one place, and remove some trailing whitespace.
2001-09-30 00:02:03 +00:00
augustss
26ecd802c0 Remove out-of-date section. 2001-09-29 23:51:33 +00:00
jdolecek
20a3387bdb don't include explicit -e for modload in 'load' target - it's redundant
This addresses bin/4701 by Hauke Fath, but does opposite thing than
suggested there.
2001-09-29 20:10:07 +00:00
augustss
45a83b31a6 Xref esl(4). 2001-09-29 19:39:51 +00:00
augustss
f75a223c4e Add the esl driver. 2001-09-29 18:46:16 +00:00
mrg
f0cf28bfaa enable a toolchain for the sparc64. 2001-09-26 12:45:56 +00:00
tv
84a997640e Set .NOPATH on program to build to make sure it goes in .OBJDIR.
Problem noted by <seebs@plethora.net>.
2001-09-25 02:19:26 +00:00
tv
63e11416cf Add STRIP to the environment of binstall, to use proper strip at install
time.  Noted by <jepeway@blasted-health.com>.
2001-09-25 01:43:35 +00:00
tv
e7bc3de221 Add mssed commit that sets USETOOLS=no if BSD_PKG_MK is set. Noted by erh. 2001-09-25 01:04:35 +00:00
hubertf
9c540fd029 Fix some typos,
submitted in PR 14053 by Michael K. Sanders <msanders@confusion.net>
2001-09-24 12:15:11 +00:00
lukem
13a5c8134c fix previous (hi thor!) - $OBJS and $CLEANFILES might be empty, and
rm needs some files to delete...
2001-09-24 09:18:05 +00:00
tls
38809e7a94 Split "cleanprog" target apart: now you can zap only object files or
CLEANFILES (needed to fix crunchgen lossage).
2001-09-24 01:04:32 +00:00
manu
db17f39501 Added Mips to COMPAT_LINUX 2001-09-22 21:35:31 +00:00
wiz
6babc456e2 Fix some nits. 2001-09-22 16:46:41 +00:00
wiz
f70c916c87 Remove some trailing space, and some punctuation nits. 2001-09-22 16:39:25 +00:00
wiz
ac61c2aac2 Sort sections, sort SEE ALSO, paragraph fixes and misc. improvements. 2001-09-22 16:36:21 +00:00
ad
30951ed237 Add manual page for dpti. 2001-09-22 16:29:33 +00:00
wiz
a52af0ae72 Sort sections, sort SEE ALSO, paragraph and misc. fixes. 2001-09-22 16:21:42 +00:00
wiz
c0e0bf4913 Sort SEE ALSO, and paragraph fixes. 2001-09-22 16:03:58 +00:00
wiz
f89a29f2fe Sort SEE ALSO, sort sections, drop some .Pp, misc. markup improvements. 2001-09-22 15:58:13 +00:00
chs
62378d7238 add some tunables from vmparam.h. from Greg Woods in PR 9068. 2001-09-22 08:43:28 +00:00
tv
aea7f2e0d5 Move the definitions of host tools from Makefile.tools to <bsd.own.mk>.
Turn on USE_NEW_TOOLCHAIN explicitly on i386.  (See current-users or
tech-toolchain for the heads up announcement and tech details.)
2001-09-22 05:45:50 +00:00
chs
afb591ce4d describe UVMHIST* options. 2001-09-22 05:38:30 +00:00
tv
cda4a8d07c The -m option is automatically propagated by make(1). Don't add yet more
(possibly wrong) `-m' options; this will only make MAKEFLAGS bigger and
bigger with each recursion.
2001-09-22 05:01:26 +00:00
wiz
7511ab2515 Sort SEE ALSO, sort sections, some markup improvements, some more common
section headers.
2001-09-22 01:44:54 +00:00
wiz
759f600d81 Sort SEE ALSO, sort sections, and slight markup improvements. 2001-09-22 01:39:12 +00:00
wiz
2bf6410a1b Sort SEE ALSO, sort sections, use slightly more standard section
names in some cases, drop some .Pps, improve markup in some places.
2001-09-22 01:34:47 +00:00
wiz
dae373813a Sort SEE ALSO, sort sections, some minor markup changes. 2001-09-22 01:22:48 +00:00
wiz
0c1cb3c84a Sort SEE ALSO, add .An. 2001-09-22 01:16:15 +00:00
wiz
a993669d57 Sort SEE ALSO, sort sections, drop some .Pp, and improve markup in some
places.
2001-09-22 00:57:40 +00:00
ad
50d6ecf7c0 Xref pxg. 2001-09-21 23:53:52 +00:00