> Is this all about symlink-to-directory in an OBJDIR, right? My theory > is that directory creation in OBJDIR is all wrong... > > Kernel build *should* include static headers in $DESTDIR (#include > <foo.h>) or generated headers (#include "foo.h") IMO.
<bsd.klinks.mk> is used only for standalone programs and it should not require installed DESTDIR. For kernel builds, config(1) creates symlinks in compile dirs. --- Izumi Tsutsui