Skip to content

Commit

Permalink
buildroot: bump to 2023-11
Browse files Browse the repository at this point in the history
  • Loading branch information
svenrademakers committed Jan 5, 2024
1 parent 83d3ecd commit 85352f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ container. It has all the dependencies needed to build the firmware.
> amount of space reserved and free in the the LIMA VM of Docker or Rancher
> Desktop.
The build process uses [Buildroot](https://buildroot.org/) further documentation
The build process uses [Buildroot](https://buildroot.org/) for further documentation
can be found [here](https://buildroot.org/downloads/manual/manual.html).
Buildroot is not included in this repository and needs to be downloaded once
before building. We included a script (`setup_build.sh`) that does everything
for you. Be aware that this script must be rerun when the buildroot version is updated.

### Using Docker on Linux

Expand Down
11 changes: 10 additions & 1 deletion setup_build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#!/bin/bash
#
# This script downloads, unpacks and installs the buildroot system to a given
# location. The default install location will be used when no install dir is
# passed, this is the root directory of this repository.
#
# Usage:
#
# ./setup_build.sh <install dir> (optional)
#

download_dir=$(mktemp -d)
install_dir="$1"
buildroot_url='https://buildroot.org/downloads/buildroot-2023.08.tar.gz'
buildroot_url='https://buildroot.org/downloads/buildroot-2023.11.tar.gz'
buildroot=$(basename "$buildroot_url")
buildroot_folder="${buildroot%.tar.gz}"
project_root="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
Expand Down

0 comments on commit 85352f4

Please sign in to comment.