Ok, first I've done 'make kernel_menuconfig' then made 'make menuconfig',
but still didn't find kernel modules I enabled. Then I ran 'make V=99 >
build.log'. Everythign went ok, but module wasn't in the kernel. Then I've
inspected build.log and found that my module 'xt_addrtype' was selected
with 'M' means build as package despite the fact that I selected it with
yes ('*') in kernel_menuconfig. So now I have right module compiled, but as
standalone. I'd like to have it in kernel. how can I do that ?On Sat, Jan 12, 2013 at 5:05 PM, darius <[email protected]> wrote: > Thanks for info, but this question is just 'how to' and not related to > developing. I'll try offcourse, but don't believe I'll get an answers there. > > > On Sat, Jan 12, 2013 at 4:58 PM, abhinav narain <[email protected] > > wrote: > >> You should ask this question on openwrt-dev list. >> There are many experienced developers there. >> You can also use #openwrt on freenode to ask such questions. >> -Abhinav >> >> >> On Sat, Jan 12, 2013 at 5:59 AM, darius <[email protected]> wrote: >> >>> Hi, >>> >>> Well information in the wiki is not very clear. Ive read that lots and >>> lots of times (about make kernel_menuconfig), but not much help for me. >>> I'll try later to do what you suggest and will see. Yesterday I've made >>> compilation and saw that libraries for kernel modules are compiled and >>> stored in >>> '../build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/iptables-1.4.10/extensions', >>> but it's not in the firmware image. I'll do more tests today later and let >>> you know. >>> Thank you all for help ! >>> >>> >>> On Sat, Jan 12, 2013 at 12:29 PM, Mark Constable <[email protected]>wrote: >>> >>>> On 12/01/13 19:30, darius wrote: >>>> > Thanks for replying. So why do we need 'make kernel_menuconfig'? Is it >>>> > only for configuring kernel option which later must be compiled not >>>> with >>>> > 'make'? How then externally build kernel will be included into >>>> firmware's >>>> > 'bin' file? I'm really lost. Please could you guide me a little bit >>>> more? >>>> > I'd like to include some features into kernell statically. Or maybe >>>> it is >>>> > easier to do it as module? >>>> >>>> I haven't actually done this but according to the wiki page below you >>>> can >>>> do a "make kernel_menuconfig" after a "make menuconfig" but before doing >>>> the final make and that should include your kernel changes. Not that the >>>> description below is explicit but it's implied by the context >>>> surrounding >>>> the below section on the wiki... or that's how it seems to me anyway. >>>> >>>> http://wiki.openwrt.org/doc/howto/build >>>> >>>> Kernel configuration >>>> >>>> While you won't typically need to do this, you can do it: >>>> >>>> make kernel_menuconfig >>>> >>>> Note that make kernel_menuconfig modifies the Kernel configuration >>>> templates >>>> of the build tree, clearing the build_dir will not revert them. The >>>> changes >>>> can be reviewed with svn diff target/linux/ and reverted with svn >>>> revert -R >>>> target/linux/. >>>> >>>> See: Customizing the kernel options >>>> >>>> >>>> _______________________________________________ >>>> openwrt-users mailing list >>>> [email protected] >>>> https://lists.openwrt.org/mailman/listinfo/openwrt-users >>>> >>> >>> >>> >>> -- >>> Darius >>> >>> _______________________________________________ >>> openwrt-users mailing list >>> [email protected] >>> https://lists.openwrt.org/mailman/listinfo/openwrt-users >>> >>> >> >> _______________________________________________ >> openwrt-users mailing list >> [email protected] >> https://lists.openwrt.org/mailman/listinfo/openwrt-users >> >> > > > -- > Darius > -- Darius
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
