Commit Graph

87938 Commits

Author SHA1 Message Date
thorpej 1e6d430c86 Someone <sys/param.h> was deleted from the includes list. Add it
back so that this file compiles again.
2001-11-15 07:01:27 +00:00
itojun 3c0303a158 sync with reality; scope identifier comes with the result even without
NI_WITHSCOPEID.
2001-11-15 06:46:33 +00:00
lukem 1b455fb019 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 06:37:15 +00:00
chs a69c43b997 fix pmap_extract() to handle addresses with a PTP but an invalid PTE. 2001-11-15 05:16:41 +00:00
itojun 6c9440f374 make NI_WITHSCOPEID a default (always on), to synchronize with recent 2553bis.
sync with kame.
2001-11-15 04:49:01 +00:00
itojun 72a8eddd96 synchronize with kame better. get rid of #defines for ENI_xx. 2001-11-15 04:38:32 +00:00
tv 9f77222197 Move noconfigdirs=gdb for alpha from host to target block.
Set noconfigdirs=sim for ARM NetBSD targets; the ARM sim isn't building.
2001-11-15 01:00:12 +00:00
tv b24bb409e3 Put solib support in native files, as gdb build will bomb on cross otherwise.
Put longjmp target function in the native .h, since it only works natively.
2001-11-15 00:58:29 +00:00
tv 0911b89ff5 Fix the fix; only install gcc once. 2001-11-15 00:20:26 +00:00
thorpej 2536e6bcf3 Fix a typo in the install target list. 2001-11-15 00:17:54 +00:00
thorpej 9f11f1b5b4 If using -t, do a "cleandir" before building/installing the
tools.  This is something the old "build" hack used to do.
2001-11-15 00:14:35 +00:00
tv 4402226ec5 Allow $M4 to contain command line options. 2001-11-14 23:48:33 +00:00
thorpej 283e0a4c6e We need to declare the "plcom" device in files.evbarm, since a
"plcom.h" header file needs to be generated for conf.c even for
non-Integrator kernels.
2001-11-14 23:47:51 +00:00
tv bd55c68a03 Use ${TOOLDIR}/bin/nbm4. 2001-11-14 23:19:11 +00:00
tv 6699960dbf C/..$/.c/ -> C/\..$/.c/ 2001-11-14 23:06:26 +00:00
tv 5e32db9d70 Remove SHAREDSTRINGS logic for host programs; this is unnecessary here. 2001-11-14 23:03:06 +00:00
thorpej 6445977d84 Slight cleanup. 2001-11-14 23:02:02 +00:00
tv 48c09b6243 Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
2001-11-14 23:01:13 +00:00
mhitch 636eb23869 When loadfile() leaves the ELF header at the end of the kernel, it enables
erroneous code that tries to compute the end of the symbol table.  Disable
that for now so that kernels don't hang when booted from the disk.
2001-11-14 22:47:16 +00:00
tv 6c2c072164 Turn off host-specific objdirs by default. Set MKHOSTOBJ=yes to enable. 2001-11-14 22:29:23 +00:00
tv 7cbe8c2c16 Recheck the GNU configuration if ${.CURDIR}/Makefile changes. 2001-11-14 22:14:48 +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 054166f6cf Use ${INSTALL_FILE:N-U}. 2001-11-14 22:07:03 +00:00
tv a9c913616b Put -Is in CPPFLAGS, not CFLAGS; change -I to -isystem as appropriate. 2001-11-14 22:01:40 +00:00
tv 4dec0efa0b Preload <bsd.own.mk> before .undef DESTDIR. 2001-11-14 22:00:42 +00:00
tv 4446c00002 Undefine DESTDIR; we don't want the special DESTDIR <bsd.lib.mk>
handling for kernel libraries.

XXX this build method should be replaced by something more sane
2001-11-14 21:59:31 +00:00
tv c8c3cf578b Move the DESTDIR-based nostdinc logic to bsd.lib.mk and bsd.prog.mk where
it belongs (with the native target compile rules).
2001-11-14 21:49:53 +00:00
matt b0372f6f25 Add brgphy 2001-11-14 21:25:15 +00:00
thorpej ceb42fbf3f This file is not used. 2001-11-14 21:17:17 +00:00
matt a6d8d89acf Bump the default macppc MSGBUFSIZE to 12KB so we can get an entire
sequence of boot messages.
2001-11-14 20:55:34 +00:00
matt 34d4887431 Some #ifdef cleanup for DIAGNOSTIC/DEBUG/PMAPCHECK so that that many of
the expensive checks are skipped when (!DEBUG&&!PMAPCHECK) and all of the
light-weigth checks are skipped when (!DIAGNOSTIC&&!DEBUG&&!PMAPCHECK).
This bring pmap.o's text down from 21KB (with PMAPCHECK) to 18.5KB (DEBUG)
to 16KB text (!DIAGNOSTIC).
2001-11-14 20:38:22 +00:00
bouyer 0b74b95459 If the controller doesn't support UDMA, don't allow enabling UDMA via
config flags.
2001-11-14 20:18:11 +00:00
tv 06be8101a1 Add autoconf as a host tool, not built by default. 2001-11-14 20:05:23 +00:00
tv bf1762d391 Remove hooks to doc subdir. 2001-11-14 20:00:40 +00:00
tv 7ae8ff46ed Shrink size quite a bit by leaving only autoconf.info (remove all sources). 2001-11-14 19:55:57 +00:00
tv 4218eaa025 Some patches from Marc Espie that make autoconf 2.52 work with the updated
/usr/bin/m4.  (Turn off some GNU m4 checks, and go back to non-frozen
source files.)
2001-11-14 19:53:25 +00:00
tv 2766c577c2 Import autoconf 2.52 for the benefit of maintaining src/tools. 2001-11-14 19:47:22 +00:00
thorpej f01d91b750 If MACHINE_ARCH == arm, set USE_NEW_TOOLCHAIN=yes and OBJECT_FMT=ELF.
It is infeasible for some ARM ports to use anything but ELF/new-toolchain,
and this allows for the ARM ports that aren't ready for ELF to stay at
MACHINE_ARCH == arm32 until they're ready.  The rest of the ARM ports
have a userbase such that if a flag day happens with the compiler (there
are a couple of ABI issues still being discussed), that it won't matter
so much.

Discussed with Ben Harris, Matt Thomas, and Chris Gilbert.
2001-11-14 19:46:38 +00:00
tv a4c4ea7686 Fix a very old and annoying bug: Adding suffixes to sufflist wasn't setting
a refCount of 1 to indicate its presence on sufflist.  Hence suffixes were
being removed by Suff_EndTransform() and being freed before all the
referential links were removed.  This resulted in a malloc warning on 1.5.x:
  make in free(): warning: chunk is already free.

This could be reproduced with the following simple Makefile passed to
"make -r":
=====
.SUFFIXES: .l .c
.l.c:
foo:
2001-11-14 19:27:40 +00:00
christos 66a8284d66 mention that we ignore negative fds. 2001-11-14 18:48:11 +00:00
christos 88db539589 Make poll(2) ignore negative file descriptors (Bang Jun-Young). 2001-11-14 18:43:58 +00:00
thorpej bd15cfaed8 Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
2001-11-14 18:26:21 +00:00
thorpej af66038f73 Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
2001-11-14 18:15:10 +00:00
he ed00fe0aee Plug a memory leak when setting PWD -- don't mark the variable with
VTEXTFIXED because the value is dynamically allocated.  Fix from
Tor Egge, FreeBSD PR#31533.
2001-11-14 18:04:36 +00:00
augustss effc318eca Regen. 2001-11-14 17:50:44 +00:00
augustss 77a68c4bf2 Add another printer dongle. 2001-11-14 17:50:21 +00:00
tv 6b68aed49a Add m4 to host tools (not built by default). 2001-11-14 15:32:05 +00:00
tv 650b2f0a52 Get first getopt string right; provide better usage message. 2001-11-14 14:57:04 +00:00
tv edef067add Document -o. 2001-11-14 14:49:38 +00:00
tv f69c13a649 Whitespace nit. 2001-11-14 14:44:29 +00:00