| Both sides previous revision Previous revision Next revision | Previous revision |
| docs:guide-developer:obtain.firmware.sdk [2018/02/17 19:57] – ↷ Links adapted because of a move operation bobafetthotmail | docs:guide-developer:obtain.firmware.sdk [2021/10/15 08:36] (current) – ↷ Links adapted because of a move operation bobafetthotmail |
|---|
| ====== Using the SDK ====== | ====== Using the SDK ====== |
| | |
| | <WRAP center round info 60%> |
| | THIS IS THE //OLD// DOCUMENT :!:\\ |
| | **See [[docs:guide-developer:toolchain:using_the_sdk|Using the SDK]] for the latest version** :!: |
| | </WRAP> |
| | |
| | |
| The [[wp>Software_development_kit|SDK]] is a relocatable, precompiled OpenWrt [[wp>Toolchain|toolchain]] suitable to [[wp>Cross_compile|cross compile]] single [[wp>User_space|userspace]] packages for a specific target without compiling the whole system from scratch. | The [[wp>Software_development_kit|SDK]] is a relocatable, precompiled OpenWrt [[wp>Toolchain|toolchain]] suitable to [[wp>Cross_compile|cross compile]] single [[wp>User_space|userspace]] packages for a specific target without compiling the whole system from scratch. |
| |
| === Prerequisites === | === Prerequisites === |
| |
| Please see the [[ https://wiki.openwrt.org/doc/howto/buildroot.exigence | OpenWRT Buildroot ]] page to install the needed software to build the packages on the SDK. | Please see [[docs:guide-developer:toolchain:install-buildsystem|Build system – Installation]] page how to install the needed software to build the packages on the SDK. |
| ---- | ---- |
| Note: On some hosts it is needed to install the **ccache** package | Note: On some hosts it is needed to install the **ccache** package |
| | |
| ==== 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: |
| * [[https://downloads.openwrt.org/chaos_calmer/15.05.1/| Stable SDK "Chaos Calmer (15.05.1)"]] -> [[https://dev.openwrt.org/wiki/platforms| Platform]] -> OpenWrt-SDK-<Platform>-for-linux-x86_64-gcc-<version>-linaro-uClibc-<version>.tar.bz2 | * [[https://downloads.openwrt.org/chaos_calmer/15.05.1/| Stable SDK "Chaos Calmer (15.05.1)"]] -> [[https://dev.openwrt.org/wiki/platforms| Platform]] -> OpenWrt-SDK-<Platform>-for-linux-x86_64-gcc-<version>-linaro-uClibc-<version>.tar.bz2 |
| * [[https://downloads.openwrt.org/| Legacy SDKs (Historic Releases)]], -> [[https://dev.openwrt.org/wiki/platforms| Platform]] -> OpenWrt-SDK-<Platform>-for-linux-x86_64-gcc-<version>-linaro-uClibc-<version>.tar.bz2 | * [[https://downloads.openwrt.org/| Legacy SDKs (Historic Releases)]], -> [[https://dev.openwrt.org/wiki/platforms| Platform]] -> OpenWrt-SDK-<Platform>-for-linux-x86_64-gcc-<version>-linaro-uClibc-<version>.tar.bz2 |
| | |
| ==== Package Feeds ==== | ==== Package Feeds ==== |
| After decompressing the SDK archive, edit the ''feeds.conf.default'' file to download the needed package definitions | After decompressing the SDK archive, edit the ''feeds.conf.default'' file to download the needed package definitions |
| * Use the ''./scripts/feeds update -a'' command to obtain package definitions. | * Use the ''./scripts/feeds update -a'' command to obtain package definitions. |
| * After the definitions have been updates, execute ''./scripts/feeds install <packagename>'' to prepare the package and its dependencies. | * After the definitions have been updates, execute ''./scripts/feeds install <packagename>'' to prepare the package and its dependencies. |
| | |
| ==== Compile Packages ==== | ==== Compile Packages ==== |
| After the Makefile is in place, the usual buildroot commands apply: | After the Makefile is in place, the usual buildroot commands apply: |
| |
| Bug: BB SDK for BRCM2708: static compilation broken | Bug: BB SDK for BRCM2708: static compilation broken |
| ===== Links ===== | |
| |
| Archive : [[doc:howto:obtain.firmware.sdk.old]] | |