FreeBSD cross env
First, you must setup a cross environment: setenv TARGET amd64setenv TARGET_ARCH amd64setenv MAKEOBJDIRPREFIX /somewhere/objcd /usr/srcmake kernel-toolchain At this point, you have two choices: (1) use the make buildkernel target and build a kernel + modules. This can be streamlined with…