commit | 7f32d211b5b8b5eeb9b79e7dde966a0449ffece9 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 23 23:43:17 2016 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Wed Feb 24 16:38:39 2016 +1030 |
tree | 4c6d9cc0b5af4959c977183807541e5c27ded1b4 | |
parent | 43f931d610c79b13faea2ca31b12eb7f50559e72 [diff] |
openbmc: Lift mkfs opts to variables and use OVERRIDES capability Moves the ext4-specific mkfs options out to configuration variables. OVERLAY_MKFS_OPTS can be overridden using the usual bitbake OVERRIDES mechanism, where the override postfix is 'rwfs-${OVERLAY_BASETYPE}', e.g. rwfs-ext4. Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
OpenBMC uses Yocto/Open-Embedded for a build system, which supports an out-of-tree build. It is recommended that you create an empty directory somewhere to hold the build. This directory will get big.
On Ubuntu 14.04 the following packages are required to build the default target
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
On Fedora 23 the following packages are required to build the default target:
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake sudo dnf groupinstall "C Development Tools and Libraries"
To start a build:
cd <builddir> . <repodir>/openbmc-env bitbake obmc-phosphor-image