Search code examples
linuxcross-compilingopenwrtbuildroot

How can I build package in OpenWRT BuildRoot


I have installed on CentOS the OpenWRT BuildRoot for crosscompile. In menu config I've chosen architecture of my OpenWRT device and now I don't know how to build a HelloWorld package to deploy on my device. Can someone tell me step-by-step instruction what actions I have to do?

[UPD]: I need *.ipk to install by opkg.


Solution

  • Sorry for very broad question - I'm just a beginner in linux crosscompiling. Now I can build my own packages for target device. Problem was: Make command in openwrt buildroot directory was finished with errors, but some files for crosscompilation were built. I had to finish make command without errors and then compile my custom package. There were many simple problems while executing make command, but google and openwrt.org forum helped me.

    Thanks to @Knud Larsen and his comments, that help me to find the solution!