Skip to contentSkip to conversation

Does kbuild 2.5 support separate obj/src trees

DISCUSSION R S-P Chan 2 participants 2 messages Apr 9, 2003 – Apr 10, 2003

lore
Share & tools
lore

R S-P Chan

author
#0 lore raw

Haven't been building kernels for a while but the Makefile contains srctree/objtree variables - so does kbuild 2.5 now support separate obj/src trees? Tks.

#1 lore raw
Quoted 3 lines · R S-P Chan

Haven't been building kernels for a while but the Makefile contains srctree/objtree variables - so does kbuild 2.5 now support separate obj/src trees? Tks.

Not yet.
I have posted a patch enabling this a couple of times, but it has not mainstream kernel yet :-(
There is people that request this feature, and it is doable - with some annoying restrictions. The main issue is that the kernel src shall be free of generated files when compiling for a separate objtree. I got limited feedback on the implementataion so far.

The patch will most likely be updated during easter.

Sam