summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* After we finish using src/Makefile.inc1 to bootstrap legacy toolsSimon J. Gerraty2014-08-191-2/+21
| | | | | | | use it to build the toolchain we actually want. Notes: svn path=/projects/bmake/; revision=270163
* Crude cross-build support thanks to clangSimon J. Gerraty2014-07-251-1/+13
| | | | Notes: svn path=/projects/bmake/; revision=269096
* export sanitized MAKESYSPATH in case .../ appears in default syspath.Simon J. Gerraty2014-06-251-4/+10
| | | | Notes: svn path=/projects/bmake/; revision=267847
* New dependenciesSimon J. Gerraty2014-05-1721-8/+406
| | | | Notes: svn path=/projects/bmake/; revision=266284
* Ensure clang-tblgen in TOOLSDIRSimon J. Gerraty2014-05-161-1/+1
| | | | Notes: svn path=/projects/bmake/; revision=266266
* Provide HOST_MACHINESimon J. Gerraty2014-05-161-0/+4
| | | | Notes: svn path=/projects/bmake/; revision=266265
* Use Makefile.depend.host for bootstrap-tools so it automatically buildsSimon J. Gerraty2014-05-162-4/+22
| | | | | | | for host Notes: svn path=/projects/bmake/; revision=266264
* Actually avoid stage_includes targetSimon J. Gerraty2014-05-161-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=266260
* Pay attention to MK_SHARED_TOOLCHAINSimon J. Gerraty2014-05-161-0/+5
| | | | Notes: svn path=/projects/bmake/; revision=266237
* Handle bootstrapping for hostSimon J. Gerraty2014-05-161-2/+11
| | | | Notes: svn path=/projects/bmake/; revision=266236
* Suppress optional dependenciesSimon J. Gerraty2014-05-161-1/+11
| | | | Notes: svn path=/projects/bmake/; revision=266235
* There are a few libs we need to build for host.Simon J. Gerraty2014-05-161-4/+25
| | | | | | | Handle more optional dependencies. Notes: svn path=/projects/bmake/; revision=266234
* Use _LIBDIR in STAGE_LIBDIR so we DTRT for PRIVATE libs.Simon J. Gerraty2014-05-161-19/+13
| | | | | | | | We now use SYSROOT and (for now) non-shared toolchain when building for host. Notes: svn path=/projects/bmake/; revision=266233
* Include bsd.opts.mk before local.init.mkSimon J. Gerraty2014-05-161-1/+1
| | | | Notes: svn path=/projects/bmake/; revision=266232
* Avoid circular dependencySimon J. Gerraty2014-05-161-0/+3
| | | | Notes: svn path=/projects/bmake/; revision=266231
* Use BTOOLSDIRSimon J. Gerraty2014-05-161-8/+9
| | | | Notes: svn path=/projects/bmake/; revision=266230
* Include src.opts.mk and handle MK_SYSROOT.Simon J. Gerraty2014-05-161-0/+17
| | | | Notes: svn path=/projects/bmake/; revision=266229
* Add SYSROOTSimon J. Gerraty2014-05-161-0/+1
| | | | Notes: svn path=/projects/bmake/; revision=266228
* Using lib*.so as a linker script ...Simon J. Gerraty2014-05-162-27/+64
| | | | | | | | the paths can be avoided, making the file mobile, so generate during build and we need to handle staging it. Notes: svn path=/projects/bmake/; revision=266227
* There is no guarantee that user gid maps to a name so in etc/MakefileSimon J. Gerraty2014-05-161-2/+3
| | | | | | | we want _gid to be id, so use _gn for the name. Notes: svn path=/projects/bmake/; revision=266226
* We want to use stage_includes as a hook, so use NO_STAGE_INCLUDESSimon J. Gerraty2014-05-163-9/+16
| | | | | | | in include/Makefile to suppress normal behavior Notes: svn path=/projects/bmake/; revision=266224
* use mv -f to avoid questionsSimon J. Gerraty2014-05-161-1/+1
| | | | Notes: svn path=/projects/bmake/; revision=266223
* Supress beforebuild dependency on buildincludesSimon J. Gerraty2014-05-163-1/+8
| | | | Notes: svn path=/projects/bmake/; revision=266222
* Fix building libstdc++ with clangSimon J. Gerraty2014-05-162-6/+3
| | | | | | | Reviewed by: theraven Notes: svn path=/projects/bmake/; revision=266221
* Updated dependenciesSimon J. Gerraty2014-05-161026-1029/+692
| | | | Notes: svn path=/projects/bmake/; revision=266219
* New depsSimon J. Gerraty2014-05-141-0/+14
| | | | Notes: svn path=/projects/bmake/; revision=266002
* Updated dependsSimon J. Gerraty2014-05-101-0/+8
| | | | Notes: svn path=/projects/bmake/; revision=265859
* Updated dependenciesSimon J. Gerraty2014-05-10815-23/+1674
| | | | Notes: svn path=/projects/bmake/; revision=265802
* Use src.opts.mkSimon J. Gerraty2014-05-102-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=265801
* Toolchains are a pain - especially to bootstrapSimon J. Gerraty2014-05-102-0/+56
| | | | | | | | rather than waste time optimizing for a rare? event, leverage the targets in src/Makefile.inc1 Notes: svn path=/projects/bmake/; revision=265800
* Prep stage tree for testsSimon J. Gerraty2014-05-101-1/+1
| | | | Notes: svn path=/projects/bmake/; revision=265799
* We may need to supress SHLIB_LINKS with NO_SHLIB_LINKSSimon J. Gerraty2014-05-101-0/+2
| | | | Notes: svn path=/projects/bmake/; revision=265790
* We now want src.opts.mkSimon J. Gerraty2014-05-101-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=265789
* Don't make wildcards .PHONYSimon J. Gerraty2014-05-101-2/+3
| | | | | | | Add pseudo machines host and common to machine list for destroy Notes: svn path=/projects/bmake/; revision=265788
* When bootstrapping tools MACHINE==host and EARLY_BUILD defined,Simon J. Gerraty2014-05-101-2/+22
| | | | | | | | | so not use any of stage tree. M_whence only first value counts Notes: svn path=/projects/bmake/; revision=265787
* Handle empty meta listSimon J. Gerraty2014-05-101-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=265786
* Merge from headSimon J. Gerraty2014-05-08696-5424/+44633
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * Hide debug messages under VT_DEBUG.Aleksandr Rybalko2014-05-083-0/+10
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=265719
| * Fix two more typos.Christian Brueffer2014-05-081-3/+3
| | | | | | | | | | | | | | Submitted by: Trond Endrestol Notes: svn path=/head/; revision=265716
| * Use KASSERTs as suggested by glebius@Michael Tuexen2014-05-081-14/+2
| | | | | | | | | | | | | | | | MFC after: 3 days X-MFC with: 265691 Notes: svn path=/head/; revision=265713
| * Add #ifdefs in the mpr(4) driver so that versions of stable/9 thatKenneth D. Merry2014-05-082-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=265712
| * Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers.Kenneth D. Merry2014-05-082-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=265709
| * Fix the incorrect handling of %b and \c in printf(1)Pedro F. Giffuni2014-05-081-13/+15
| | | | | | | | | | | | | | | | | | | | This is required for POSIX compliance. Obtained from: Garrett D'Amore (Illumos) MFC after: 4 days Notes: svn path=/head/; revision=265706
| * Consolitate all the AP core startup stuff under a single #ifdef SMP block.Ian Lepore2014-05-081-16/+6
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=265705
| * Modify Copyright information and other strings to reflect Qlogic ↵David C Somayajulu2014-05-087-78/+72
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=265703
| * Incorporate feedback from bde and jilles regarding r265472 to dd(1).Alan Somers2014-05-083-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Notes: svn path=/head/; revision=265698
| * Move the mptramp code which is specific to the Marvell ArmadaXP SoC out ofIan Lepore2014-05-083-47/+58
| | | | | | | | | | | | | | the common locore.S file and into the mv/armadaxp directory. Notes: svn path=/head/; revision=265694
| * For some UDP packets (for example with 200 byte payload) and IP options,Michael Tuexen2014-05-081-5/+13
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=265691
| * Use edge-triggered interrupts rather than polling loops to avoid missingIan Lepore2014-05-081-15/+28
| | | | | | | | | | | | | | | | | | transitions of the INIT_B line. Also, release the mutex during uiomove(). Submitted by: Thomas Skibo <ThomasSkibo@sbcglobal.net> Notes: svn path=/head/; revision=265690
| * Import adapted OpenSolaris' thread pool API implementation.Alexander Motin2014-05-084-30/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=265689