Kernel builds now happen in compile/CONFIG/obj@ -> /usr/obj/... [or ./obj/,if srctree is not rooted at /usr/src]. As a result, stock GENERIC & RAMDISKkernels are commited to the tree, to ensure th
Kernel builds now happen in compile/CONFIG/obj@ -> /usr/obj/... [or ./obj/,if srctree is not rooted at /usr/src]. As a result, stock GENERIC & RAMDISKkernels are commited to the tree, to ensure the src tree can be "readonly"during builds, with all writes occuring inside the obj space. config -boptions are handled by ../Makefile.inc. The canonical new way to configureone of these kernels is: % cd /sys/arch/amd64/compile/GENERIC.MP % doas make obj % make config % make % doas cp obj/bsd /bsdThe build infrastructure will use this new mechanism in a de-escalationway using BUILDUSER.Much help from natano and tb.
show more ...