commit | 11381c45b0bb3c7856d28f708610dfaa2353a2e7 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Wed Oct 05 16:20:54 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Nov 11 14:53:12 2016 +0000 |
tree | 7cf70d25728fc8edfafb1df74750443bef8166bc | |
parent | 9e376b889a756ed0760dfb4ae402e9b7c2f2d7ab [diff] |
phosphor-objmgr:Convert build process to autotools Resolves openbmc/openbmc#380 Change-Id: I63c15e56c3d58959e567a561fa890e1806a14177 Signed-off-by: Matthew Barth <msbarth@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