commit | 68aa14044f4686547b8e18fa4c64d43a2bb0e5ad | [log] [tgz] |
---|---|---|
author | Rick Altherr <raltherr@google.com> | Mon Aug 01 14:20:50 2016 -0700 |
committer | Rick Altherr <raltherr@google.com> | Mon Aug 01 14:52:54 2016 -0700 |
tree | 3a7d2ce9b248ced45dadb870ecfae0f07c653d06 | |
parent | ea4022a0212f00d6174c2e52d166697d81c49748 [diff] |
obmc-mapper: add dependency on systemd mapper.c includes systemd/sd-bus.h which requires systemd to be installed before obmc-mapper is built. This may have been working via an indirect dependency previously. Regardless, an explicit dependency is appropriate. Change-Id: Ia0c1816568a526c8e96703d866c7b00a1e1b3fc0 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