Thank you both so much for help. It was quite difficult for me to find an
information. I've pasted similar question on other forums and seems like
people don't like to answer to 'how to questions'. Well I'd be glad to read
about everything, but with OpenWRT finding some developer related
information looks more like reverse engineering by studying existing rules
and makefiles :)
What I wanted in reality is just add addrtype match for iptables. The only
possibility to enable it was only in kernel_menuconfig, but in the end it
turns out that this is not kernel module, but userspace module instead. So
I was really lost. But now with help from other forums I've found how to
add line in include/netfilter.mk on order to be able to add addrtype match
to one of the existing iptables modules.
OpenWRT is not my job, its just hobby and I really like this project and I
really want to participate here. I'm programmer in real life (not linux),
so it's nice for me to be here, but sometimes I'm losing hope when want to
find some information. Is there any source of information where I can read
about those makefiles, build structure and so on ? Wifi doesn't have
in-depth information. Is it only way to know about it is just study
existing makefiles ? It would be super nice if someone could guide me into
this nice world :) For example, I have cross compiled PIM routing daemon
called pimd for openwrt, but still it is on my computer because of gap in
knowledge about OpenWRT build root structure, makefiles and rules. It would
be nice to add this pimd into OpenWRT.
I have another question which I was unable to answer. For example,
iptables-mod-extra has match type called owner. in .config file there is
line like 'CONFIG_NETFILTER_XT_MATCH_OWNER=m'. So the question is: where is
the rule which makes this match type to autoselect as module (m) ? This
match is included with IPT-EXTRA, so not possible to select it as
standalone. Somehow buildroot 'knows' that this is module and that it
should be autoselected as M ? I was unable to find a script or rule which
is responsible for updating .config file with this line. Now, this is good
example of finding information. It's not on the wiki and not in anywhere,
so how to get that kind of information ?


On Tue, Jan 15, 2013 at 6:03 PM, <edgar.sol...@web.de> wrote:

> On 15.01.2013 16:41, Emmanuel Deloget wrote:
> > Le 12/01/2013 16:08, darius a écrit :
> >> Hello,
> >>
> >> Simple question for those who know. I do 'make kernel_menuconfig' then
> select some needed features in kernel and then do 'make -j3' in topdir.
> After image is done, I install it on the router, but my kernel features are
> still not available. So I suppose I've done something wrong with kernel
> compilation. Could someone guide my about compiling custom kernel ?
> >>
>
> do not forget to
>
>  make target/linux/{clean,compile} V=99
>
> after you changed your kernel settings. you might leave out the cleaning
> if you just switched something on/off.
>
> ..ede
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>



-- 
Darius
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to