Skip to contentSkip to conversation

Out of tree kernel sources?

Buildroot Ulrich Prinz 2 participants 2 messages Aug 9, 2011 – Aug 10, 2011

lore
Share & tools
lore
#0 lore raw

Hello to the list!

Im the new guy here, restarting into buildroot again after a few years pause.

Congrats for the big improvements that where done. Started a simple trial for a AT91SAM9 device and it worked out of the box. Great!

But I have a question for out of tree source code for the kernel.

I know that you can call the kernels make by passing SRC1DIR= and SRC2DIR= arguments to prefer these source code directories above the kernels own ones. This is very comfortable as you can simply copy the to be modified kernel code there and do whatever you want. So all your changes collect there and you do not have to search for what you did yesterday. And you don't have to have a clean kernel copy for diff or to mess with gis/svn/cvs.

But I cannot find any hint if this is an option in buildroot. Have I missed it?

Thanks in advance and best regards
Ulrich

#1 lore raw

Hi Ulrich,

If I'm not mistaken, you are looking for O=/some/folder argument. I've only tried it once, so forgive me if I'm not remembering it
correctly. I'm almost sure make help will tell you. Could try it to be sure if I wasn't on the road with such a slow notebook :(

Kind Regards,
Thiago A. Correa

Quoted 28 lines · Ulrich Prinz

Hello to the list!

Im the new guy here, restarting into buildroot again after a few years pause.

Congrats for the big improvements that where done. Started a simple trial for a AT91SAM9 device and it worked out of the box. Great!

But I have a question for out of tree source code for the kernel.

I know that you can call the kernels make by passing SRC1DIR= and SRC2DIR= arguments to prefer these source code directories above the kernels own ones. This is very comfortable as you can simply copy the to be modified kernel code there and do whatever you want. So all your changes collect there and you do not have to search for what you did yesterday. And you don't have to have a clean kernel copy for diff or to mess with gis/svn/cvs.

But I cannot find any hint if this is an option in buildroot. Have I missed it?

Thanks in advance and best regards
Ulrich
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot