summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade our copy of llvm/clang to 3.4.1 release. This release containsdim2014-05-121-35/+35
| | | | | | | | | | | | | | | mostly fixes, for the following upstream bugs: http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000 http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165 http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316 http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515 http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762 http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994 http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033 http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326 MFC after: 2 weeks
* Move DOCCOMPRESS to MK variable.imp2014-05-102-0/+9
|
* Migrate NO_WARN to MK_WARN. Support legacy NO_WARN usage. Remove aimp2014-05-101-0/+5
| | | | | check for EARLY_BUILD because it isn't necessary (MK_WARN=no will always be defined for that).
* Optionally allow building the historical FreeBSD make program andimp2014-05-101-0/+5
| | | | | | install it as fmake. This defaults to no. This should be viewed as the first step towards evental migration of this historic code to ports and removal from the tree.
* Document WITHOUT_SYSCALL_COMPAT and WITHOUT_GNU_GREP_COMPAT.imp2014-05-102-0/+6
|
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-062-2/+2
| | | | from the latter.
* Add appropriate quoting to allow building with a KERNCONFDIR containingthomas2014-05-031-12/+12
| | | | | | | spaces. PR: kern/162736 MFC after: 1 week
* Clean up more lindev(4) vestiges.brueffer2014-05-021-21/+0
|
* Add a C libary and a Python module that implements an API similarmarcel2014-04-289-0/+672
| | | | | | | | to bus_space(9) and that uses the proto(4) driver for talking to hardware. If the I/O resource is a memory mapped I/O resource, then mmap(2) will be attempted to avoid read(2)/write(2) overhead. Sponsored by: Juniper Networks, Inc.
* Note that the bug was fixed, and when.des2014-04-261-1/+1
|
* Eliminate last vestigies of NO_MAN= in the tree. Also, removeimp2014-04-256-6/+2
| | | | ineffectual NOMAN= lines. These don't change the build at all.
* Remove NO_CTF, exccept as an undocumented compatibilityimp2014-04-251-4/+3
| | | | | | option. Convert all other uses to MK_CTF=no. Set MK_CTF=no rather than the indirect WITHOUT_CDDL in filemon regression. It is expected that NO_CTF will be removed in FreeBSD 12 entirely.
* Put my inner hobgoblin on a leash: These routines, at least, needed toimp2014-04-251-10/+10
| | | | be {} so they don't run in a subshell.
* Add option WITHOUT_VI to not build/install vi. vi was the largestimp2014-04-241-0/+2
| | | | binary without a knob to turn it off.
* Use MK_OPENLDAP in preference to WITH_OPENLDAP and make it a defaultimp2014-04-241-0/+2
| | | | | NO option to match the opt-in nature of the historical nature of this option.
* Turns out that bash whines line a spoiled three year old when itimp2014-04-241-0/+1
| | | | | | | encounters empty function. Put the 'true' passifier back. This effectively backs out r264857. Submitted by: Garrett Cooper
* Channel my inner hobgoblin and make all functions enclosed in ()imp2014-04-241-14/+14
| | | | instead of some in () and some in {}
* Hoist CR convenience function up from dhcpd config and useimp2014-04-242-18/+19
| | | | | appropriately in nanobsd.sh. Also create CR0 for a errors allowed version.
* Switch to using pkgng for all package management. Add necessaryimp2014-04-242-59/+17
| | | | | bootstrap step for pkg. Fix a bunch of annoying little nits. We can now build fat or thin images successfully for the dhcpd config.
* Add a routine for easy workaround any umount issues w/o hackingimp2014-04-241-4/+10
| | | | nanobsd.sh.
* Introduce NANO_PKG_META_BASE to allow moving where metadata forimp2014-04-241-5/+8
| | | | | | packages is stored. Sponsored by: Netflix
* No need for true here, remove it.imp2014-04-241-1/+0
| | | | Sponsored by: Netflix
* Override the parallel make target to use all CPUs.imp2014-04-241-1/+3
|
* libc/stdio: Fail fdopen() on an execute-only fd.jilles2014-04-215-1/+237
| | | | | | | | | An execute-only fd (opened with O_EXEC) allows neither read() nor write() and is therefore incompatible with all stdio modes. Therefore, the [EINVAL] error applies. Also adjust the similar check in freopen() with a NULL path, even though this checks an fd which is already from a FILE.
* libc: Add fopen() test to regression Makefile.jilles2014-04-211-3/+11
|
* Separate out enabling building clang and/or gcc for the system andimp2014-04-1810-11/+43
| | | | | | | | | | | | | | | | | | | | | | | | | building clang and/or gcc as the bootstrap compiler. Normally, the default compiler is used. WITH_CLANG_BOOTSTRAP and/or WITH_GCC_BOOTSTRAP will enable building these compilers as part bootstrap phase. WITH/WITHOUT_CLANG_IS_CC controls which compiler is used by default for the bootstrap phase, as well as which compiler is installed as cc. buildworld now successfully completes building the cross compiler with WITHOUT_CLANG=t and WITHOUT_GCC=t and produces a built system with neither of these included. Similarlly, MK_BINUTILS_BOOTSTRAP controls whether binutils is built during this phase. WITHOUT_CROSS_COMPILER will now force MK_BINUTILS_BOOTSTRAP=no, MK_CLANG_BOOTSTRAP=no and MK_GCC_BOOTSTRAP=no. BOOTSTRAP_COMPILER was considered, but rejected, since pc98 needs both clang and gcc to bootstrap still. It should be revisisted in the future if this requirement goes away. Values should be gcc, clang or none. It could also be a list. The odd interaction with Xfoo cross/external tools needs work, but is beyond the scope of this change as well.
* An abstracted down version of the NanoBSD config files as used byimp2014-04-183-0/+533
| | | | FreeNAS and the BSDRP folks.
* Add -x to the removal of trees to prevent crossing mount points toimp2014-04-181-9/+9
| | | | | limit the damage from errored out runs and failure to unmount loopback mounts properly.
* Don't build EISA by default anymore. Remove from i386 GENERIC andimp2014-04-181-0/+2
| | | | | | | create an option that defaults to "no" on all platforms to not build the EISA bits. Discussed on: arch@
* Document WITHOUT_GPL_DTC too.imp2014-04-151-0/+3
|
* Fix test suite name in src.conf(5).jmmv2014-04-131-1/+6
| | | | | | | There is no such thing as the "Kyua test suite"; it is the "FreeBSD Test Suite". While doing this, point readers to tests(7).
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-13176-176/+176
| | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* Check the right file for pwcache_groupdb.imp2014-04-131-1/+1
|
* Up the minimum system to build FreeBSD current to 8.0-RELEASE. Theimp2014-04-131-12/+0
| | | | | | | | | | issues with vendors that needed 7.x support have been resolved. Many vendors are still using 8.x build platforms, however, so bumping this up to 9.0 will have to wait until that is resolved. Actual support for building from 8.x still relies on those vendors fixing bugs that are present as most developers have moved onto 9.x or newer platforms. Reviewed by: marcel@
* Also ignore files from Murcirial (.hg) and git (.git) when copyingimp2014-04-081-2/+2
| | | | file trees.
* Document upcoming build option WITH_SORT_THREADSimp2014-04-051-0/+3
|
* use MK_KERBEROS=no in preference to WITHOUT_KERBEROSimp2014-04-051-1/+1
|
* Silence an unnecessary warning.gnn2014-04-011-0/+2
| | | | MFC after: 2 weeks
* Dump default media size to 1GB to reflect a fatter environment andimp2014-03-281-1/+1
| | | | | | larger base media. Submitted by: Michael Dexter
* Update userspace users of hw.bus.devctl_disable.mjg2014-03-261-10/+0
| | | | | | | | This fixes breakage resulting from r263754. Reported by: AN <andy@neu.net> Reviewed by: imp Pointy hat to: me
* errx prepends the program name to the message; don't do it by hand.jmmv2014-03-191-1/+1
|
* Make the priv test program exit with non-zero if any failures are detected.jmmv2014-03-191-8/+33
| | | | And, mind you, this already returns a failure :-/
* Migrate tools/regression/usr.bin/pkill to the new tests layout.jmmv2014-03-1928-1009/+0
| | | | | | Interestingly, the pkill tool lives in bin, not usr.bin. Haven't bothered to check if this is because the tool moved or because the tests were originally added in the wrong place.
* Migrate tools/regression/usr.bin/make/ to the new tests layout.jmmv2014-03-19273-2225/+370
| | | | | | | | | | | | | Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind. But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@.
* Remove comment meant for removal in r263287bdrewery2014-03-181-1/+0
| | | | X-MFC-with: 263287
* 'pkg(8) add' has no internal restriction on number of packages.bdrewery2014-03-181-2/+1
| | | | | Submitted by: tj MFC after: 1 week
* Update most userspace consumers of capability.h to use capsicum.h instead.rwatson2014-03-1614-14/+14
| | | | | | | auditdistd is not updated as I will make the change upstream and then do a vendor import sometime in the next week or two. MFC after: 3 weeks
* Migrate most of tools/regression/usr.bin/ to the new tests layout.jmmv2014-03-16530-27284/+0
| | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately.
* Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.jmmv2014-03-1655-4199/+0
| | | | | | | | | | | This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately. To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
* Change etcupdate tests to return 1 on test failures.jmmv2014-03-167-21/+135
| | | | | This is a prerequisite for hooking these tests into the test suite. And, fortunately, all tests seem to pass!
OpenPOWER on IntegriCloud