Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:guide-developer:external_toolchain [2022/09/10 12:50] – [Step 2: Build Firmware] ansueldocs:guide-developer:external_toolchain [2022/09/10 12:53] (current) – [Step 2: Build Firmware] ansuel
Line 15: Line 15:
 ==== Step 2: Build Firmware ==== ==== Step 2: Build Firmware ====
  
-1. Checkout OpenWrt into directory **openwrt** +  - Checkout OpenWrt into directory **openwrt** 
-2. Follow normal instruction for openwrt prereq +  Follow normal instruction for openwrt prereq 
-3. Use the utility script to setup your buildroot +  Use the utility script to setup your buildroot <code>
-<code>+
    ./scripts/ext-toolchain.sh \    ./scripts/ext-toolchain.sh \
             --toolchain TOOLCHAIN_FILE_LOCATION \             --toolchain TOOLCHAIN_FILE_LOCATION \
             --config TARGET_NAME (example ipq806x/generic)             --config TARGET_NAME (example ipq806x/generic)
-</code> +  </code> 
-4. Use your buildroot like a normal one. Edit your config with ''make menuconfig'' and run ''make'' to compile your image+  Use your buildroot like a normal one. Edit your config with ''make menuconfig'' and run ''make'' to compile your image 
  
 If you want to update a .config to use an external toolchain you can use the ''--overwrite-config''. For example: If you want to update a .config to use an external toolchain you can use the ''--overwrite-config''. For example:
Line 32: Line 32:
             --config TARGET_NAME (example ipq806x/generic)             --config TARGET_NAME (example ipq806x/generic)
 </code> </code>
- 
  • Last modified: 2022/09/10 12:50
  • by ansuel