commit | 2f3b0a4db074a3059d8b638c39e18d526fb30a4a | [log] [tgz] |
---|---|---|
author | Milton D. Miller II <miltonm@us.ibm.com> | Mon Feb 29 11:23:35 2016 -0600 |
committer | Milton D. Miller II <miltonm@us.ibm.com> | Mon Mar 07 15:20:15 2016 -0600 |
tree | df082a077bd4eed9ec3ed814315673b81327511f | |
parent | 9ecec17136be5662cf92046ece5c235e370eb57e [diff] |
init: Be explicit about saving and restoring files. When calling update for save and restore phases be explicitly tell update to clean saved files when we are done and not bother trying to save or restore when we know we will do a split save, erase, and restore sequence. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
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