Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 2.71 KB

File metadata and controls

80 lines (56 loc) · 2.71 KB

Metrological Open Source Buildroot External

This buildroot external includes Metrological's open source packages, patches, setup, and configuration to work on Metrological provided software not provided in mainline buildroot. This project gives you an extension to buildroot to support these customizations outside of the standard buildroot tree.

Install System Dependencies

We are using this external on Ubuntu version 18.04 LTS and 21.04, but it should work on any Linux OS. The following system build dependencies are required.

sudo apt-get install subversion build-essential bison flex gettext \
libncurses5-dev texinfo autoconf automake libtool mercurial git-core \
gperf gawk expat curl cvs libexpat-dev bzr unzip bc python3-dev \
wget cpio rsync xxd libmpc-dev libgmp3-dev gcc-multilib g++-multilib

In some cases, buildroot will notify that additional host dependencies are required. It will let you know what those are.

Build

Starting is easy, clone, configure and build. When building, use the appropriate defconfig in the buildroot-external-metrological-open-source/configs directory for your platform. Feel free to add defconfig if you are missing one.

  1. Clone the required buildroot sources.
    git clone -b 2024.02.2 https://git.buildroot.net/buildroot
    git clone [email protected]:Metrological/buildroot-external-metrological-open-source.git
  2. Enter the buildroot directory and prepare the environment. Usually the export is only needed once unless you want to add/remove layers.
    export BR2_EXTERNAL="${PWD}/../buildroot-external-metrological-open-source"
  3. Continue your build as a usual buildroot build.
    make <defconfig>
    make

Buildroot will put the binaries like kernel and root filesystem in the 'output/images' directory.

Optionally Configure Packages and Kernel

Userspace packages and the Linux kernel, for example, can be optionally selected and configured using buildroot.

To configure userspace packages and build:

make menuconfig
make

To configure the kernel and build:

make linux-menuconfig
make

Create a list of software licenses used:

make legal-info

License

This project is licensed under the GPLv2 or later with exceptions. See the COPYING file for more information. Buildroot is licensed under the GPLv2 or later with exceptions. See the COPYING file in that project for more information.

Documentation

For more information on using and updating buildroot, see the buildroot documentation.