Dne 19.4.2013 14:59, schk00 napsal(a):
> Hi OpenWRT Dev Team.
> 
> < /div>I'm newbie openWRT developer and trying to do some practice with it.
> After looking up whole source of OpenWRT, I made a conclusion that my 
> practice needs kernel packages about Network(ex. kmod-ipt-core...). So I 
> found the way to download the source of these packages but failed to do it.
> Was my search ability awful? Or was it natural result?
> 
> Is there any way for me to play with openwrt kernel packages? If so, Where 
> can I find their source codes?
> 
> I'll be happy if you send me reply about these questions.
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 

Hello schk00,

in short - the whole OpenWrt is based on OpenWrt buildroot - a set of patches, 
Makefiles and configure files. Those elements just says how to compile 
toolchain for OpenWrt and how to compile&build the whole OpenWrt image by 
compiled toolchain. There's no such kernel source codes, just patches and 
Makefiles which defines what should be in kernel config, how should compiler 
compile it, what should be included in OpenWrt image etc..

I would suggest to explore the whole OpenWrt platform first. Also the whole 
source codes and existing packages are good way to understand how OpenWrt 
works. Take a look at buildroot documentation:

(quite outdated, but minor things have been changed) - 
http://downloads.openwrt.org/docs/buildroot-documentation.html
(Developing section) - http://wiki.openwrt.org/doc/start

There are several macro definitions which should be used for package creation - 
Build/Configure, Build/Compile, Build/InstallDev, 
{Package,KernelPackage}/name/install. Those are a bit descriptive, what those 
really does. Take a look at existing packages, it really helps a lot!

Also, please take a look at:

(Creating packages for kernel modules) - 
http://wiki.openwrt.org/doc/devel/packages

This wiki article shows the exact way how to create a kernel package in both 
ways - the module from within the kernel source code or third-party kernel 
module.

Happy experimenting and discovering OpenWrt world!

~ Jiri






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

Reply via email to