4.1 Get Buildroot

To get the source code, the buildroot-mchp and buildroot-external-microchip repositories should be cloned.

buildroot-mchp is a fork of Buildroot with a few specific patches. The external tree provides added defconfigs and packages dedicated to the demos.

To clone buildroot-mchp from the repository:

$ git clone https://github.com/linux4microchip/buildroot-mchp.git

To clone buildroot-external-microchip from the repository:

$ git clone https://github.com/linux4microchip/buildroot-external-microchip.git

The source code should be pointing to the latest version of the buildroot-mchp and buildroot-external-microchip repositories.

Tip: We recommend to use the same linux4microchip tag for both repositories.
Note: This document is verified with the tag linux4microchip-2024.04.