We want to be able to build some host tools for non-FreeBSD hosts
without building more than we need. The DIRDEPS_BUILD lets us
We use the pseudo MACHINE "host" when building
for the host - deal with that when setting _host_arch.
Stage necessary headers from cross-build/include/common
so that tools like makefs need minimal change.
If .MAKE.OS is Linux we have additional work.
cross-build/include/common/grp.h if SETGROUPENT_IMPL is defined
actually generate the function - so its address can be taken (needed
cross-build/fflags.c needs sys/types.h
cross-build/include/common/sys/cdefs.h gets nullability support
cross-build/mkimg/Makefile remove MK_STAGING=no as that prevents
getting the right -Is during DIRDEPS_BUILD
Sponsored by: Juniper Networks, Inc.