freebsd-nq/tools
Alex Richardson 162ae9c834 Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS
In order to do so we need to install the msdosfs headers to the bootstrap
sysroot and avoid includes of kernel headers that may not exist on every
host (e.g. sys/lockmgr.h). This change should allow bootstrapping of makefs
on FreeBSD 11+ as well as Linux and macOS.

We also have to avoid using the IO_SYNC macro since that may not be
available. In makefs it is only used to switch between calling
bwrite() and bdwrite() which both call the same function. Therefore we
can simply always call bwrite().

For our CheriBSD builds we always bootstrap makefs by setting
LOCAL_XTOOL_DIRS='lib/libnetbsd usr.sbin/makefs' and use the makefs binary
from the build tree to create a bootable disk image.

Reviewed By:	brooks
Differential Revision: https://reviews.freebsd.org/D23201
2020-01-27 12:02:41 +00:00
..
boot ci-qemu-test: if firmware is not available, hint at pkg to install 2019-09-09 14:51:25 +00:00
bsdbox Fix bsdbox build WITH_OFED 2018-08-27 19:34:50 +00:00
build Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS 2020-01-27 12:02:41 +00:00
bus_space Add support for Python 3 and make it the default. 2019-06-30 02:29:12 +00:00
debugscripts Enhance the 'ps' command so that it prints a line per proc and a line 2019-09-25 18:03:15 +00:00
diag In preparation for adding inode check-hashes, clean up and 2018-11-13 21:40:56 +00:00
ifnet
kerneldoc remove the removed-from-source drm/drm2 parts 2019-03-05 15:23:28 +00:00
LibraryReport
regression fsx: seed more randomly with the -S0 option 2019-04-28 17:27:06 +00:00
sched Add a dtrace script for collecting schedgraph data 2016-11-18 02:29:09 +00:00
test Save the last callout function executed on each CPU 2019-07-03 19:22:44 +00:00
tools Various cleanups to cryptocheck. 2020-01-07 17:07:58 +00:00
install.sh Fix handling -U. It does not take any arguments. 2017-11-27 02:28:40 +00:00
make_libdeps.sh Improve the library dependencies helper script in src/tools. 2017-11-16 15:26:39 +00:00
README
tinder.sh

$FreeBSD$

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.