Commit Graph

115757 Commits

Author SHA1 Message Date
mrg 3b1578f961 add another cast to appease gcc3.3 2003-07-28 10:28:30 +00:00
dsl ee1a61d7eb No need for wrefresh() in msg_clear(), screen will be updated later.
Stops obvious redraw of header of some menus.
2003-07-28 09:55:24 +00:00
scw 543f228731 Make sure all the isa/pci bus space tags are fully initialised.
Thanks to Chuck Silvers for providing enough debug info to
ascertain what the problem was.
2003-07-28 09:25:28 +00:00
scw 4d11ce57f3 Undo a previous change which zapped the bootinfo pointer in r5. 2003-07-28 09:23:54 +00:00
scw d6b20842f5 Add a 'packed' attribute to the bootinfo structure. 2003-07-28 09:22:56 +00:00
lukem 696a21d88f Always use the "per source file".dep method to build the .depend file
(that was formerly only used for HOST_CYGWIN.).
Clean up implementation to minimise unnecessary variable munging.
Ensure all .dep files are deleted in cleandepend:.

This allows us to correctly support CPPFLAGS.<file> in make depend, and
whilst this method is marginally slower in the "no existing .depend file"
case, it should be faster in the "rebuilding depend for a subset of
source files" case.
2003-07-28 08:59:52 +00:00
lukem a9eaf614a5 replace MKCXXSUPCXX=yes with USE_LIBSTDCXX=no 2003-07-28 08:54:39 +00:00
lukem cc73d5607b replace MKCXXSUPCXX(!=no) with USE_LIBSTDCXX(==no) 2003-07-28 08:53:53 +00:00
scw b91f2fb51d Make these build with recent tweaks to powerpc's bus_space(9) by moving
the inclusion of <powerpc/bus.h> to *after* the definitions of
PHYS_TO_BUS_MEM() and BUS_MEM_TO_PHYS().
2003-07-28 07:58:49 +00:00
pk a2bec8caf7 As pointed out by Jason, the protection bits in pmap_enter()'s `flags' field
are valid (though the sparc implementation currently ignores them), so restore
revision 1.34.
2003-07-28 07:05:56 +00:00
lukem d706431f82 change from CXX_SUPCXX=1 to MKCXXSUPCXX=yes 2003-07-28 07:04:17 +00:00
lukem 0b96e890ae Change defined(CXX_SUPCXX) to MKCXXSUPCXX != "no".
Clarify that command-line overrides of the MKxxx variables should be
done via the environment rather than make(1) command-line variable
assignment, since the latter doesn't actually work as intended.
2003-07-28 07:03:43 +00:00
matt 1072487f05 Back last commit and just allow USE_TOOLS_TOOLCHAIN be overridden in the
environment.
2003-07-28 05:54:18 +00:00
matt 66430c1aa7 Let the if define USE_TOOLS_TOOLCHAIN. 2003-07-28 05:52:29 +00:00
lukem e71812aa94 Overhaul how the .{c,cc,cpp,cxx,C,f,m.S}.{o,po,so} rules are implemented:
only list the (often complicated) ${COMPILE.*} rules once always building
to ${.TARGET}.tmp.  Then, depending on whether *OPTS has -g, either
"mv ${.TARGET}.tmp ${.TARGET}" or "${LD} -[xX] -r ${TARGET}.tmp -o ${.TARGET}"
as appropriate.
This can prevent inconsistency that could occur between "echo ${COMPILE.*:Q}"
and "${COMPILE.*}", such as the problem in rev 1.226.  (There were still
examples of this in .cc.so and .m.so !!!)

Remove `@' from most non-echo rules, so that we can actually see what's
happening.  This helps debugging problems, such as that fixed by rev 1.226.

Always remove all possible temp files that might occur because of the above.

Be consistent about ${CC} instead of $(CC)
2003-07-28 04:08:47 +00:00
mrg b7a9236e8e set GNUHOSTDIST 2003-07-28 02:53:24 +00:00
mrg 975645453d *correctly* regenerate with correct non-hardcoded paths 2003-07-28 02:39:34 +00:00
lukem 5e2ad4afcc Be consistent how "multiple include protection" is implemented. I.e,
.if !defined(_BSD_foo_MK_)
	_BSD_foo_MK_=1

	# ...

	.endif	# !defined(_BSD_foo_MK_)
2003-07-28 02:38:33 +00:00
mrg 1372911937 fix a bug in previous - two $'s are bad 2003-07-28 02:35:43 +00:00
lukem 719829bd45 Pull in <bsd.sys.mk> before supplying our own .c.o (et al) rules.
Otherwise, <bsd.sys.mk>'s implementations will be used instead.  (oops!)
2003-07-28 02:29:35 +00:00
mrg 30c88832e7 regenerate with correct non-hardcoded paths 2003-07-28 01:31:15 +00:00
mrg 4ae0f1a6cb add another transform for libobjc3 2003-07-28 01:29:01 +00:00
mrg 3335e363cf turn back on profiling - thanks luke 2003-07-28 01:10:51 +00:00
lukem 7cacdc7670 pull in <bsd.sys.mk> for TOOL_* incase this is used with USETOOLS=never 2003-07-28 01:00:52 +00:00
lukem 24da731a9c Pull in <bsd.sys.mk> as well, for the TOOL_ variables in the
USETOOLS=never case.
Found & fixed by Anders Hjalmarsson in PR misc/22283.
2003-07-28 00:57:25 +00:00
lukem 7a4d405e11 fix typo (insert botch? :) in previous, which broke .cxx.po 2003-07-28 00:51:47 +00:00
simonb 14fc7f3334 Whitespace alignment nits. 2003-07-27 23:45:44 +00:00
dsl b42a6fa21a Stop (attempted) coredump when ftp/nfs install attempted.
(incorrect empty strings check for active interfaces)
2003-07-27 21:09:57 +00:00
is 76d830c0d2 Regenerate from GENERIC.in to include pseudo-device ksyms, where
appropriate.
2003-07-27 20:42:41 +00:00
is 8d936d4ca8 This was missing pseudo-device ksyms. Pointed out by J. Andberg. 2003-07-27 20:36:18 +00:00
dsl d0bba60fad Default boot blocks to those used to install the system.
Add 19200 baud and serial ports com1, com2 and com3.
Fixes PR install/21418
2003-07-27 20:25:07 +00:00
jdolecek a2d0517af5 More complete sendmsg(2) and recvmsg(2) emulation:
* translate MSG_* flags
* rewrite CMSG level/type to appropriate NetBSD value on input, and to Linux
  value on output
* handle different CMSG_DATA alignment for some archs

This fixes SCM_RIGHTS passing. Other SCM_* types are not supported -
the set is different on NetBSD and Linux. SCM_TIMESTAMP doesn't seem
to be actually implemented in Linux 2.5.15, so it's not supported
for Linux binaries either (for now).

PR: 21577 by Todd Vierling
2003-07-27 19:30:03 +00:00
uwe a82a596a31 Conditions for sh5 when setting DBG to be empty were deleted (moved)
in 1.72, but brought back accidentally in 1.73.  That was harmless,
anyway, as sh5 conditions in their new place get matched earlier.
2003-07-27 19:08:03 +00:00
mrg 30e5f75620 rework an expression to avoid 32 bit overflow 2003-07-27 15:16:54 +00:00
mrg 127fd99434 avoid redefining a symbol differently 2003-07-27 15:13:39 +00:00
mrg 6c4963a6f9 document how to generate GCC3.3 bootstrap info with mknative 2003-07-27 15:00:52 +00:00
mrg 96d9a01177 introduce a new $CPPFLAG_ISYSTEMXX that is used to reference c++ system
includes.  for GCC3, set this to -I instead of -isystem.

XXX this should really be either not required or a -isystem-cxx, but for
now this is required to build libstdc++-v3, which otherwise complains
heavily about STL headers not being C code(!)
2003-07-27 14:49:22 +00:00
mrg efee205c6f don't configure with multilibs when doing mknative 2003-07-27 14:44:00 +00:00
mrg 57dc195231 build-tested support for m68000, m68k, sh3el and sh3eb.
XXX: sun2 seems to be currently generally busted but most of the world
     builds.  of course it is untested..
XXX: sh3* and -pg goes BOOM with gcc3.3... it generates code that uses
     the same labels twice... need to set NOPROFILE for now.
2003-07-27 14:41:32 +00:00
mrg 5a8170433a actually build libstdc++-v3 now.
XXX NOPROFILE has been set as for some very very very strange reason i
don't understand yet this is causing the compiler to barf...
2003-07-27 14:38:57 +00:00
mrg 0d07d92566 regenerate 2003-07-27 14:34:43 +00:00
itojun 3f14c71f75 reserve cdev major # for PF. ok'ed by technical-exec 2003-07-27 14:17:57 +00:00
mrg a2a84f63a0 regen 2003-07-27 14:17:02 +00:00
mrg 62260183e7 some casts to appease gcc3.3 2003-07-27 14:14:44 +00:00
lukem 422b438b9f Ensure the first word of ${CC} exists before attempting to invoke ${CC}
to determine TARGET_ENDIANNESS.

This should fix problem reported privately by Matt Green <mrg@>.

This uses  exists(${CC:ts::C/:.*$//})  as we don't expect the command name to
contain `:'.  (The ":ts" trick is from a discussion with Simon Gerraty <sjg@>.)
2003-07-27 11:16:30 +00:00
lukem b7ebff3038 be consistent: use ${.TARGET} for $@ and ${.PREFIX} for $* 2003-07-27 09:35:47 +00:00
lukem 30872ad6e0 be consistent about using ${.TARGET} for $@ and ${.IMPSRC} for $< 2003-07-27 09:27:18 +00:00
dsl faefcd3805 Force localfs_dir to be an absolute path - fixes PR install/14130.
Put disklabel info into /tmp/disktab in case / isn't writable,
fixes PR 17347.  Note the /etc/disktab isn't the target /etc anyway...
2003-07-27 08:57:27 +00:00
lukem deeae012af If HAVE_SYS_ENDIAN_H, pull in <sys/endian.h>. Fixes build.sh on FreeBSD 5.1.
Fix from Grant Beattie <grant@>
2003-07-27 07:56:37 +00:00
lukem 0283225f29 Explicitly pull in <sys/endian.h> #if !defined(HAVE_CONFIG_H).
(I prefer to be explicit about this, since installboot uses the endian
macros a lot)
2003-07-27 07:53:26 +00:00