Simon J. Gerraty
c9e3031a0b
New dependencies
2014-05-17 03:03:17 +00:00
Simon J. Gerraty
dc8c6c5c08
Ensure clang-tblgen in TOOLSDIR
2014-05-16 17:57:14 +00:00
Simon J. Gerraty
f7df4ea864
Provide HOST_MACHINE
2014-05-16 17:50:57 +00:00
Simon J. Gerraty
8a9439c5ed
Use Makefile.depend.host for bootstrap-tools so it automatically builds
...
for host
2014-05-16 17:50:23 +00:00
Simon J. Gerraty
0a117278be
Actually avoid stage_includes target
2014-05-16 16:21:17 +00:00
Simon J. Gerraty
9ac5c14c93
Pay attention to MK_SHARED_TOOLCHAIN
2014-05-16 15:02:12 +00:00
Simon J. Gerraty
f44c355924
Handle bootstrapping for host
2014-05-16 15:01:39 +00:00
Simon J. Gerraty
5633315ba3
Suppress optional dependencies
2014-05-16 15:00:30 +00:00
Simon J. Gerraty
c65ae8f944
There are a few libs we need to build for host.
...
Handle more optional dependencies.
2014-05-16 15:00:04 +00:00
Simon J. Gerraty
0244ab1f26
Use _LIBDIR in STAGE_LIBDIR so we DTRT for PRIVATE libs.
...
We now use SYSROOT
and (for now) non-shared toolchain when building for host.
2014-05-16 14:58:48 +00:00
Simon J. Gerraty
1d01c27d5f
Include bsd.opts.mk before local.init.mk
2014-05-16 14:56:06 +00:00
Simon J. Gerraty
e2b820a948
Avoid circular dependency
2014-05-16 14:54:29 +00:00
Simon J. Gerraty
5d50250dda
Use BTOOLSDIR
2014-05-16 14:54:05 +00:00
Simon J. Gerraty
59dd53f104
Include src.opts.mk and handle MK_SYSROOT.
2014-05-16 14:53:15 +00:00
Simon J. Gerraty
ab2f54513b
Add SYSROOT
2014-05-16 14:52:18 +00:00
Simon J. Gerraty
f187ca8c90
Using lib*.so as a linker script ...
...
the paths can be avoided, making the file mobile, so generate during build
and we need to handle staging it.
2014-05-16 14:51:19 +00:00
Simon J. Gerraty
7bbde42e0d
There is no guarantee that user gid maps to a name so in etc/Makefile
...
we want _gid to be id, so use _gn for the name.
2014-05-16 14:49:37 +00:00
Simon J. Gerraty
1a682d2cea
We want to use stage_includes as a hook, so use NO_STAGE_INCLUDES
...
in include/Makefile to suppress normal behavior
2014-05-16 14:47:18 +00:00
Simon J. Gerraty
a5e980ce95
use mv -f to avoid questions
2014-05-16 14:43:24 +00:00
Simon J. Gerraty
f8217b322f
Supress beforebuild dependency on buildincludes
2014-05-16 14:42:34 +00:00
Simon J. Gerraty
aee7bee5c3
Fix building libstdc++ with clang
...
Reviewed by: theraven
2014-05-16 14:40:07 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
f7fb4188ce
New deps
2014-05-14 04:02:59 +00:00
Simon J. Gerraty
9a08faa5bf
Updated depends
2014-05-10 21:53:07 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
1e93612eb7
Use src.opts.mk
2014-05-10 05:14:29 +00:00
Simon J. Gerraty
77fe74ed79
Toolchains are a pain - especially to bootstrap
...
rather than waste time optimizing for a rare? event,
leverage the targets in src/Makefile.inc1
2014-05-10 05:13:29 +00:00
Simon J. Gerraty
4e3343548a
Prep stage tree for tests
2014-05-10 05:11:34 +00:00
Simon J. Gerraty
6a96de39c1
We may need to supress SHLIB_LINKS with NO_SHLIB_LINKS
2014-05-10 00:26:40 +00:00
Simon J. Gerraty
ea14011ca8
We now want src.opts.mk
2014-05-10 00:25:21 +00:00
Simon J. Gerraty
005cfa50ee
Don't make wildcards .PHONY
...
Add pseudo machines host and common to machine list for destroy
2014-05-10 00:24:32 +00:00
Simon J. Gerraty
241026341f
When bootstrapping tools MACHINE==host and EARLY_BUILD defined,
...
so not use any of stage tree.
M_whence only first value counts
2014-05-10 00:23:12 +00:00
Simon J. Gerraty
a46ef2fd31
Handle empty meta list
2014-05-10 00:21:10 +00:00
Simon J. Gerraty
cc3f4b9965
Merge from head
2014-05-08 23:54:15 +00:00
Aleksandr Rybalko
16aa1f0950
Hide debug messages under VT_DEBUG.
...
Sponsored by: The FreeBSD Foundation
2014-05-08 22:52:05 +00:00
Christian Brueffer
02e843636a
Fix two more typos.
...
Submitted by: Trond Endrestol
2014-05-08 21:02:23 +00:00
Michael Tuexen
26461454fc
Use KASSERTs as suggested by glebius@
...
MFC after: 3 days
X-MFC with: 265691
2014-05-08 20:47:54 +00:00
Kenneth D. Merry
a371d6f964
Add #ifdefs in the mpr(4) driver so that versions of stable/9 that
...
have implemented the PIM_NOSCAN rescan functionality will have it
enabled.
This is a no-op for head.
Reviewed by: slm
Sponsored by: Spectra Logic Corporation
MFC after: 3 days
2014-05-08 20:46:46 +00:00
Kenneth D. Merry
d2b4e18b21
Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers.
...
TLR is necessary for reliable communication with SAS tape drives.
This was broken by change 246713 in the mps(4) driver. It changed the
cm_data field for SCSI I/O requests to point to the CCB instead of the data
buffer. So, instead, look at the CCB's data pointer to determine whether
or not we're talking to a tape drive.
Also, take the residual into account to make sure that we don't go off the
end of the request.
MFC after: 3 days
Sponsored by: Spectra Logic Corporation
2014-05-08 20:28:22 +00:00
Pedro F. Giffuni
437bce620f
Fix the incorrect handling of %b and \c in printf(1)
...
This is required for POSIX compliance.
Obtained from: Garrett D'Amore (Illumos)
MFC after: 4 days
2014-05-08 20:20:59 +00:00
Ian Lepore
9f8e153645
Consolitate all the AP core startup stuff under a single #ifdef SMP block.
...
Remove some other ifdefs that came in with a copy/paste that mean basically
"if this processor supports multicore stuff", because if you're starting up
an AP core... it does.
2014-05-08 20:02:38 +00:00
David C Somayajulu
ed062a309e
Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business.
...
Added clean option to Makefile
Submitted by:David C Somayajulu (davidcs@freebsd.org ) QLogic Corporation
MFC after:5 days
2014-05-08 19:40:37 +00:00
Alan Somers
540c78258c
Incorporate feedback from bde and jilles regarding r265472 to dd(1).
...
* Don't use sysexits.h. Just exit 1 on error and 0 otherwise.
* Don't sacrifice precision by converting the output of clock_gettime() to a
double and then comparing the results. Instead, subtract the values of
the two clock_gettime() calls, then convert to double.
* Don't use CLOCK_MONOTONIC_PRECISE. It's an unportable synonym for
CLOCK_MONOTONIC.
* Use more appropriate names for some local variables.
* In the summary message, round elapsed time to the nearest microsecond.
Reported by: bde, jilles
MFC after: 3 days
X-MFC-With: 265472
2014-05-08 19:10:04 +00:00
Ian Lepore
f296249f58
Move the mptramp code which is specific to the Marvell ArmadaXP SoC out of
...
the common locore.S file and into the mv/armadaxp directory.
2014-05-08 18:36:42 +00:00
Michael Tuexen
8e1d0a568a
For some UDP packets (for example with 200 byte payload) and IP options,
...
the IP header and the UDP header are not in the same mbuf.
Add code to in_delayed_cksum() to deal with this case.
MFC after: 3 days
2014-05-08 17:27:46 +00:00
Ian Lepore
0bd55d38ec
Use edge-triggered interrupts rather than polling loops to avoid missing
...
transitions of the INIT_B line. Also, release the mutex during uiomove().
Submitted by: Thomas Skibo <ThomasSkibo@sbcglobal.net>
2014-05-08 17:20:45 +00:00
Alexander Motin
afb8674c79
Import adapted OpenSolaris' thread pool API implementation.
...
The thread pool is used by libzfs to implement parallel disk scanning.
Without this change our dummy wrapper made `zpool import ZZZ` command to
scan all disks sequentially from the single thread when searching for pools.
This change makes it use two threads per CPU, same as in OpenSolaris.
On system with 200 HDDs this change reduces ZFS pool import time from 35
to 22 seconds.
2014-05-08 16:59:36 +00:00
Warner Losh
fa11423442
Add usr/share/mk/src.opts.mk to obsolete files. It never should have
...
been installed in the first place, and it must be removed ASAP or
weird build errors may start happening in the future if this file is
ever taken from the installed system. Add note to UPDATING.
2014-05-08 15:58:34 +00:00
Alexander V. Chernikov
6db47af467
Rename rt_msg1() to more handy rtsock_msg_mbuf().
...
(Just for history purposes: rt_msg2() was renamed
to rtsock_msg_buffer() in r265019).
Sponsored by: Yandex LLC
MFC after: 1 month
2014-05-08 13:54:57 +00:00
Aleksandr Rybalko
8a25d54521
Fix scrollback.
...
Sponsored by: The FreeBSD Foundation
2014-05-08 13:46:36 +00:00