freebsd-skq/tools/build
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
..
cross-build
make_check
mk When MK_CASPER=no is set remove files which are not needed to run system. 2020-01-20 19:56:22 +00:00
options remove unused WITHOUT_PC_SYSINSTALL description 2020-01-20 15:19:56 +00:00
beinstall.sh Update beinstall to use the mergemaster/etcupdate from the source tree instead 2019-05-18 17:13:08 +00:00
check-links.sh
dummy.c
futimens.c
Makefile Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS 2020-01-27 12:02:41 +00:00
Makefile.depend
stat.h
stdlib.h
strings.h
utimensat.c