I wrote this question to the VillageTelco group, but I think that it fix better in this list.
"We want make some test with batman-adv and we would like change some parameter of the code. So I suppose that I have to add the "new code" to the trunk of openwrt and compile them together(batman-adv module and openwrt). But this procedure takes quite time... I think this because the kernel in which I compile batman-adv must be the same that the kernel in which I`m going to run the batman-adv module, mustn't it?But I think that I'm missing something, what am I wrong?
Is there any way to compile only the kernel module of batman-adv so that it can work fine with the kernel of openwrt and don't last so long? What should we do for try our own changes in the code of batman-adv?
Thank you Regards"