5.1.1 Get Sources
To get the source code, clone the buildroot-at91 and buildroot-external-microchip
repositories. Refer the following steps for details:
- Clone the buildroot-at91 repository by using the following
commands:
$ git clone https://github.com/linux4sam/buildroot-at91.git
- Clone the buildroot-external-microchip repository by using the following
command:
$ git clone https://github.com/linux4sam/buildroot-external-microchip.git
-
The source code is taken from the
host
branch which is pointing to the latest version of buildroot-at91 and buildroot-external-microchip. Use linux4sam tags to make sure that there is no mismatch between the versions of the two repositories.Note: The buildroot tag used for testing in this document islinux4sam_6.2
$ cd buildroot-external-microchip $ git tag | grep linux4sam linux4sam_5.8 linux4sam_5.8-rc1 linux4sam_5.8-rc2 linux4sam_6.0 linux4sam_6.0-rc1 […..] linux4sam_6.1 linux4sam_6.1-rc1 linux4sam_6.1-rc2 linux4sam_6.1-rc3 linux4sam_6.1-rc4 linux4sam_6.1-rc5 linux4sam_6.2 $ git checkout linux4sam_6.2 -b buildroot-external-microchip- linux4sam_6.2 Switched to a new branch 'buildroot-external-microchip-linux4sam_6.2 $ cd ../buildroot-at91/ $ git tag | grep linux4sam linux4sam_5.8 linux4sam_5.8-rc1 linux4sam_6.0 linux4sam_6.0-rc1 linux4sam_6.0-rc2 linux4sam_6.0-rc3 linux4sam_6.1 linux4sam_6.1-rc1 linux4sam_6.2 linux4sam_6.2-icp linux4sam_6.2-icp-rc1 linux4sam_6.2-rc1 $ git checkout linux4sam_6.2 -b buildroot-at91-linux4sam_6.2 Switched to a new branch 'buildroot-at91-linux4sam_6.2'