Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-developer:helloworld:chapter1 [2018/12/05 17:28] – [Preparing, configuring and building the necessary tools] jeff | docs:guide-developer:helloworld:chapter1 [2024/04/06 02:36] (current) – updated reference to stable branch ingamedeo | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Preparing your OpenWrt build system for use ====== | ====== Preparing your OpenWrt build system for use ====== | ||
| - | This is the first chapter in the " | + | This is the first chapter in the " |
| - | Although this guide will not provide detailed instructions for this approach, you can also use the [[docs: | + | Although this guide will not provide detailed instructions for this approach, you can also use the [[docs: |
| ===== Preparing, configuring and building the necessary tools ===== | ===== Preparing, configuring and building the necessary tools ===== | ||
| Line 11: | Line 11: | ||
| These steps are necessary only if you chose to clone the source code. If you chose to use the SDK, you can skip this section. | These steps are necessary only if you chose to clone the source code. If you chose to use the SDK, you can skip this section. | ||
| - | We first select a stable source code revision (v17.01.2), and ensure our source code directory is clean. The author of this article chose to clone the source code into a folder called ' | + | We first select a stable source code revision (v23.05.3), and ensure our source code directory is clean. The author of this article chose to clone the source code into a folder called ' |
| <WRAP center round tip 80%> | <WRAP center round tip 80%> | ||
| ''/ | ''/ | ||
| - | It is also suggested to use the most-current " | + | It is also suggested to use the most-current " |
| </ | </ | ||
| + | As of April, 2024, the OpenWrt git repository can be cloned using | ||
| + | < | ||
| + | git clone https:// | ||
| + | </ | ||
| + | to place it into the '' | ||
| To perform these steps, issue the following commands to change into the source code directory, checkout a stable code revision and clean any possible build artifacts: | To perform these steps, issue the following commands to change into the source code directory, checkout a stable code revision and clean any possible build artifacts: | ||
| < | < | ||
| cd / | cd / | ||
| - | git checkout | + | git checkout |
| make distclean | make distclean | ||
| </ | </ | ||
| + | |||
| + | It is recommended that you update and install your ' | ||
| + | < | ||
| + | ./ | ||
| + | ./ | ||
| + | </ | ||
| + | |||
| Now, we can configure the cross-compilation toolchain by invoking the graphical configuration menu: | Now, we can configure the cross-compilation toolchain by invoking the graphical configuration menu: | ||
| < | < | ||