Commit Graph

88581 Commits

Author SHA1 Message Date
lukem
0e59a7f124 revert previous revert previous. now back to rev 1.27 behaviour:
- Don't bother emitting "#define NFOO 0" for defflag foo (whether or
  not "options FOO" was given); it's really useful as is.

  Until I recently started converting stuff from defopt to defflag,
  nothing used defflag, and because defopt doesn't provide NFOO for FOO,
  the NFOO behaviour shouldn't be missed. The NFOO stuff also added
  a lot of #define namespace pollution that we'd rather avoid.

- Remove a couple of unused vars
2001-11-28 09:02:16 +00:00
nisimura
9f8ca586ad Fix a small typo in comment. 2001-11-28 08:49:19 +00:00
lukem
71376e0797 use #ifdef MEMORY_DISK_DYNAMIC (for consistency with the rest of the kernel) 2001-11-28 05:55:34 +00:00
lukem
9cd50b3b95 use #if defined(x) instead of #if defined x 2001-11-28 05:47:37 +00:00
lukem
9f42ccc795 use #ifdef DDB (for consistency with the rest of the kernel) 2001-11-28 05:45:27 +00:00
lukem
371fd3fc10 use #ifdef RAID_AUTOCONFIG (for consistency with the rest of the kernel) 2001-11-28 05:39:13 +00:00
lukem
e336250e74 use #ifdef INET instead of #if INET (for consistency with the rest of the kernel) 2001-11-28 05:22:48 +00:00
lukem
7b844b40dc ensure that enabled defflag options get a default value of "1" too 2001-11-28 05:03:31 +00:00
jmc
df5817fef0 Make sure the tools built roff tools are first in the path before calling groff
as it calls troff/etc without any leading pathnames. Otherwise the tools
version is fairly useless as the installed system version will be used to
build all manpages
2001-11-28 05:03:18 +00:00
jmc
60f22ac7b8 After bsd.man.mk changes make sure and set TMACDIR here to point into 2001-11-28 05:01:59 +00:00
jmc
20bb75f3c3 Separate out TMACDIR's use for install's from it's dependency function.
The dependency should be against the TOOLDIR files (is USETOOLS=yes) but
installs will always use ${DESTDIR}/usr/share/tmac.

Without this if people do not have /usr/share/tmac/tmac.andoc on their
systems while building the build will break in the groff areas due to
the dependency rules.
2001-11-28 05:01:28 +00:00
tv
1010c26601 Add profiled and PIC libgcc. 2001-11-28 04:43:09 +00:00
tv
632cac0d3c Add <bsd.hostlib.mk>, for use when building a host-specific library
(to be used with src/tools/compat).
2001-11-28 04:42:49 +00:00
tv
d5533f8e6c PIC me! PIC me! (libgcc_pic.a)
...And while we're at it, add a profiled libgcc too.

Use the "generate .c files and let <bsd.lib.mk> sort it out" method
for compiling these libraries.  Only one real divergence (-fexceptions)
existed, but exceptions are turned on for C++ code by default in gcc
2.95.3, so this option was redundant anyway.
2001-11-28 04:39:55 +00:00
tv
4a1ad2db60 If DESTDIR is set, do a similar nostdinc dance for the standard C++ include
directory.
2001-11-28 04:38:29 +00:00
soren
44bcc347c6 MIPS has LKM's now. 2001-11-28 03:58:38 +00:00
atatat
9fb85484bc Misplaced colon. 2001-11-28 03:58:25 +00:00
soren
8f4d2338dc Now that simonb has fixed LKM's on MIPS, enable building them. 2001-11-28 03:52:27 +00:00
lukem
49379a0a84 revert previous (instead i'll work out why defflag isn't DTRT with Nxxx) 2001-11-28 03:23:35 +00:00
itojun
ae4d025a29 regress test for shorter keys. sync with kame 2001-11-28 03:16:06 +00:00
soren
0b55de12ee Nuke. These are very unlikely to start witht the current libsa, and can
always be brought back if necessary.
2001-11-28 03:03:43 +00:00
lukem
cbe4dece17 - Don't bother emitting "#define NFOO 0" for defflag foo (whether or
not foo was provided); it's unnecessary #define namespace pollution
- Remove a couple of unused vars
2001-11-28 02:47:42 +00:00
thorpej
a9b25a66fa When processing ASTs:
- Loop until astpending is clear upon return from ast().
- Clear astpending *before* re-enabling interrupts.
2001-11-28 01:31:59 +00:00
lukem
f69269330e add some empty comment lines to make this more readable (IMHO) 2001-11-28 01:13:21 +00:00
thorpej
379948c31f - Garbage-collect some unused cruft.
- When processing ASTs, restore interrupts *after* clearing astpending.
2001-11-28 01:06:19 +00:00
fredette
4fd267f75d Added the new defopt SCSI_OLD_NOINQUIRY; this is used instead
of sun2 to wrap code that conjures up INQUIRY responses for
certain specific old devices.
2001-11-28 01:04:49 +00:00
itojun
c2da92aa79 sync with sys/crypto/cast128 change 2001-11-28 00:52:24 +00:00
thorpej
b9caa4cbc7 Don't grovel interrupt-related info here; if a platform wants to
do that, let it do that in a way it can control.
2001-11-28 00:19:53 +00:00
thorpej
a2fa0b1029 Add prototypes for new XScale write-through cache routines. 2001-11-28 00:18:46 +00:00
thorpej
8e96318c12 Don't define interrupt handler-related offsets here. 2001-11-28 00:18:13 +00:00
lukem
5f6482cfc3 - Don't try and use the motd if it's empty.
Problem reported in [bin/14751] by Kimmo Suominen
- Display conffilename() version of limitfile and motd in status output
2001-11-27 23:42:40 +00:00
atatat
df7d7405f8 Alter the way that LINKTEXT and LINKDATA (and LINKENTRY) are set so
that empty values for TEXTADDR and DATAADDR (and ENTRYPOINT) will not
screw things up.  Add support for SYSTEM_LD_TAIL_EXTRA which some
ports (not yet converted) are using.  Add support for GENASSYM_EXTRAS
which has just been added to (some of) the arm ports.
2001-11-27 23:28:42 +00:00
yamt
dc2a9f16a0 don't allocate a mbuf cluster if we don't need. 2001-11-27 21:40:55 +00:00
bouyer
1cd410986d In cn_get_magic() don't increment i in the for(;;) loop, as it's already
set to point to the next value with CNS_MAGIC_NEXT().
Now it's obvious that the magic string on my U5 is +++++ and not +++ :)
2001-11-27 20:00:36 +00:00
augustss
0d3aa2aa07 Ugh, back out last commit. It makes vfprintf depend on -lm. 2001-11-27 18:05:30 +00:00
augustss
a928006fbb Print sign of -0.0 correctly. Fixes PR 3137 (mine). 2001-11-27 18:00:55 +00:00
oki
3936fc4740 Fixed forgot map .idata section for some binaries. 2001-11-27 17:59:49 +00:00
augustss
113024244c Make it compile in the absence of networks. Closes PR 14274 (mine). 2001-11-27 17:32:57 +00:00
fredette
73001afb44 When opening the mouse port, be sure to open it for 8 data bits.
The sun2 PROM can leave the port configured for 7.
2001-11-27 16:19:43 +00:00
wiz
c2c43720b7 Add a hyphen, and replace /usr/pkgsrc/mk/mk.conf.example with
/usr/pkgsrc/mk/bsd.pkg.defaults.mk.
2001-11-27 16:17:35 +00:00
atatat
3b7ac0bb5f Stuff the "swapxxx.o" object name into a make variable that can be
used in build rules.
2001-11-27 14:04:05 +00:00
onoe
afdb23ddea Set ONES (must be ones) bits in tmd1 of tx descriptors.
This fix avoids VMware 3.0/WinXP to crash.
2001-11-27 13:49:03 +00:00
yamt
b2dc60987f add isapnp frontend for cs driver. 2001-11-27 12:23:31 +00:00
yamt
e9dd0249c8 regen for IBM EtherJet ISA. 2001-11-27 12:21:49 +00:00
yamt
dcb7807cbe add IBM EtherJet ISA. 2001-11-27 12:20:39 +00:00
itojun
f8321e02a6 fix cast128 with shorter key length. sync with kame 2001-11-27 11:19:36 +00:00
jdolecek
577b809930 crfree(): add DIAGNOSTIC sanity check of cr_ref; unfortunately, if the memory
is freed prematurely the check won't be triggered immediatelly, probably
since the memory is likely to be reused fast; but it _would_ be triggered
eventually
2001-11-27 07:30:03 +00:00
jmc
2e1248a6d9 If using MAKEOBJDIRPREFIX use the same checks as the symlink logic does below.
i.e. if the root of the object tree doesn't exist then complain and exit.

This makes both sections consistant to each other (MAKEOBJDIR specifies an
exact directory so there's no root per se to check so nothing can really be
done there).
2001-11-27 05:42:24 +00:00
jmc
423e88b943 Ok, take 2 on redoing KERNOBJDIR logic.
Use the old setup for MAKEOBJDIRPREFIX but also add a new check for
_SRC_TOP_OBJ_ and use that if it's set. This allows a make release using
build.sh (which uses MAKEOBJDIR patterns) to function correctly on r/o
source tree's.
2001-11-27 05:39:03 +00:00
jmc
6c76413f2f Back out last. Typo'd some things I need to test again 2001-11-27 05:17:31 +00:00