Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "buildroot"]
path = buildroot
url = https://github.com/bootlin/buildroot.git
branch = st/2025.02.5
25 changes: 10 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,39 +214,34 @@ Please see the [corresponding manual section](https://buildroot.org/downloads/ma

This `BR2_EXTERNAL` tree is designed to work with the `2025.02.x` LTS
version of Buildroot. However, we needed a few changes on top of
upstream Buildroot, so you need to use our own Buildroot fork together
upstream Buildroot, so you will use our own Buildroot fork together
with this `BR2_EXTERNAL` tree, and more precisely its `st/2025.02.5`
branch.
branch. See our documentation on [internal details](docs/internals.md)
for more information about the changes we have compared to upstream
Buildroot.

```bash
$ git clone -b st/2025.02.5 https://github.com/bootlin/buildroot.git
```

See our documentation on [internal details](docs/internals.md) for more
information about the changes we have compared to upstream Buildroot.

Now, clone the matching branch of the `BR2_EXTERNAL` tree:
Clone the matching branch of the `BR2_EXTERNAL` tree:

```bash
$ git clone -b st/2025.02.5 https://github.com/bootlin/buildroot-external-st.git
$ git clone -b st/2025.02.5 --remote-submodules --recurse-submodules https://github.com/bootlin/buildroot-external-st.git
```

You now have side-by-side a `buildroot` directory and a
`buildroot-external-st` directory.
You now have a `buildroot` directory inside `buildroot-external-st`
directory.

### Configure and build

Go to the Buildroot directory:

```bash
$ cd buildroot/
$ cd buildroot-external-st/buildroot/
```

And then, configure the system you want to build by using one of the 14
*defconfigs* provided in this `BR2_EXTERNAL` tree. For example:

```bash
buildroot/ $ make BR2_EXTERNAL=../buildroot-external-st st_stm32mp157f_dk2_defconfig
buildroot/ $ make BR2_EXTERNAL=.. st_stm32mp157f_dk2_defconfig
```

We are passing two informations to `make`:
Expand Down
1 change: 1 addition & 0 deletions buildroot
Submodule buildroot added at 3a7746