Differences
This shows you the differences between two versions of the page.
|
doc:howto:obtain.firmware.sdk [2012/12/18 18:10] uvray313 |
doc:howto:obtain.firmware.sdk [2013/04/15 16:06] (current) mapisto Added hello world example links |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Obtain SDK ===== | ===== Obtain SDK ===== | ||
| + | You can either download an already compiled SDK, or compile it yourself by using the "make menuconfig" command. | ||
| + | |||
| ==== Download ==== | ==== Download ==== | ||
| You should find bz2-archives ready for download in the corresponding download directory: | You should find bz2-archives ready for download in the corresponding download directory: | ||
| Line 57: | Line 59: | ||
| After the compilation is finished, the generated .ipk files are placed in the bin directory. | After the compilation is finished, the generated .ipk files are placed in the bin directory. | ||
| + | |||
| + | The output of make might contain ''WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!''. That warning is misleading and wrong in the SDK case. Since everything is precompiled you cannot run oldconfig (see [[https://forum.openwrt.org/viewtopic.php?id=43055|Why is the SDK configuration out of sync?]]). | ||
| ==== Example: existing package ==== | ==== Example: existing package ==== | ||
| Line 112: | Line 116: | ||
| Let's start with porting and packaging the well known "Hello world" program as an example. | Let's start with porting and packaging the well known "Hello world" program as an example. | ||
| + | |||
| + | You can download an existing example here: https://forum.openwrt.org/viewtopic.php?pid=198460. Another useful resource is http://fleshandmachines.wordpress.com/2011/08/22/openwrt-cc-programing/. | ||
| ===== Obtaining and installing the SDK ===== | ===== Obtaining and installing the SDK ===== | ||
doc/howto/obtain.firmware.sdk.1355850631.txt.bz2 · Last modified: 2012/12/18 18:10 by uvray313
This text is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
