On Fri, Jul 05, 2024 at 08:08:43PM +0000, Anon Loli wrote: > Hi list > I marked this thread as "(boring)" so to not anger snowflakes with > boring/stupid questions. > > So this thread's question is: I found out that when recompiling the base > system I think that it starts from scratch even though there should be object > files to prevent unnecessary compiling (I did also run "make obj" for the 2nd > time, maybe that broke something), so why is that? (assuming I didn't fuck up > something again) > > I'm assuming the process will take another too many hours, and experimenting > with different settings might be too difficult, so that's why I'm here now. > > My questions are why that's like that, and if it's better to just recompile > everything again (but how the fuck would you guys get any development done > then? lol) > > After reading a few manual pages, by which I mean searching for stuff like > "clean", I stumbled upon the KEEPKERNELS additional variable which after being > enabled, kernel object directories should not be cleaned during "make build", > > I'm assuming that this is what I need, so I enabled it in /etc/mk.conf as > explained in the mk.conf(5)#DESCRIPTION section, and I have indeed verified > that the variable was set with `make -p build`. > > But then with the power of flex tape(joke) I mean du, I figured out that it > recompiles /usr/obj/lib anyways, and maybe some other directories too? > > P.S. I'm following release(8) if it wasn't clear.. >
I meant OBJ in the subject title, I'm so stupid... it's definitely /usr/obj which I'm referring to, when compiling /usr/src and stuff IDK if it's important for this thread/question, but I need to modify a few things under /usr/src/sys/