Commit Graph

87799 Commits

Author SHA1 Message Date
tv
f2054f0743 Note only <bsd.own.mk> as the authority for determining whether the new
BUILDING instructions should be used.
2001-11-15 16:20:37 +00:00
bjh21
a25491ad73 Don't use $< in non-implicit rules. Instead, name the source explicitly.
This should help with PR 14588, and has been submitted upstream.
2001-11-15 15:21:53 +00:00
augustss
b684cbc2a7 usbd_interface2device_handle() cannot fail. 2001-11-15 15:15:58 +00:00
kleink
d803d11570 Provide a $LOGNAME as well. 2001-11-15 14:23:09 +00:00
kleink
6f7054a583 Try $LOGNAME first, then fall back to $USER. 2001-11-15 14:16:11 +00:00
wiz
dd7622f812 It's called nbmakeinfo now, not makeinfo. 2001-11-15 13:05:35 +00:00
someya
6807764ea5 add myself 2001-11-15 12:16:37 +00:00
wiz
012e08cda6 Re-add check for defined(MKSOFTFLOAT) that got lost in v1.60.
Needed for Makefiles which include bsd.sys.mk, but not bsd.own.mk,
like distrib/macppc/floppies/ramdisk/Makefile.
Okay'd by simonb.
2001-11-15 12:15:09 +00:00
lukem
2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
itojun
074a5eb23b remove LBL_ALIGN. the code leaks memory severely, and makes packet dump
incorrect.
2001-11-15 07:39:25 +00:00
lukem
95c969f245 add RCSID 2001-11-15 07:03:28 +00:00
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