commit | 5852acf03fbfc1bdf2d21657812a74536c30d5ce | [log] [tgz] |
---|---|---|
author | Rick Altherr <raltherr@google.com> | Wed May 25 21:36:13 2016 -0700 |
committer | Rick Altherr <raltherr@google.com> | Thu May 26 13:14:52 2016 -0700 |
tree | b69cd917cf02091628e6fd4f7fd0fb993cd85a14 | |
parent | 265b0d55113d364554102d532177916741c8c379 [diff] |
Pin host-ipmi-hw-example to a specific Git SRCREV AUTOREV assumes you can reach the remote repository to lookup the most recent commit. When setting up a hermetic build, that will fail even though a local mirror tarball exists. Pinning the recipe to a specific revision skips the lookup and just checks out the specified commit from the local mirror tarball. Change-Id: I05cfa67dfcd321ff28a93453df5ce1c82666e6c1 Signed-off-by: Rick Altherr <raltherr@google.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