4bb41ae2f2
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR} This is far simpler than the previous system, and more robust with objdirs built via BSDOBJDIR. The previous method of finding KERNOBJDIR when using BSDOBJDIR by referencing _SRC_TOP_OBJ_ from another directory was extremely fragile due to the depth first tree walk by <bsd.subdir.mk>, and the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be empty on the *first* pass to create fresh objdirs. This change requires adding sys/arch/*/compile/Makefile to create the objdir in that directory, and descending into arch/*/compile from arch/*/Makefile. Remove the now-unnecessary .keep_me files whilst here. Per lengthy discussion with Andrew Brown. |
||
---|---|---|
.. | ||
Makefile | ||
bsd.README | ||
bsd.dep.mk | ||
bsd.doc.mk | ||
bsd.endian.mk | ||
bsd.files.mk | ||
bsd.hostlib.mk | ||
bsd.hostprog.mk | ||
bsd.inc.mk | ||
bsd.info.mk | ||
bsd.init.mk | ||
bsd.kernobj.mk | ||
bsd.kinc.mk | ||
bsd.kmod.mk | ||
bsd.lib.mk | ||
bsd.links.mk | ||
bsd.man.mk | ||
bsd.nls.mk | ||
bsd.obj.mk | ||
bsd.own.mk | ||
bsd.prog.mk | ||
bsd.rpc.mk | ||
bsd.shlib.mk | ||
bsd.subdir.mk | ||
bsd.sys.mk | ||
sys.mk |