commit | 4a2201ff2890167b8d770fcd80783bff72a85382 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Jan 05 10:48:16 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 12 22:56:40 2017 +0000 |
tree | 8d8791e6c2f6d539267e7b71edc117729016e36f | |
parent | 32aa6d76ea76ffbf0e0b403b95609bde9015d1af [diff] |
Add phosphor-logger to all images. Fix a mistake in obmc-phosphor-image.bbclass that was preventing phosphor-logger from being included in images. The logger implements a DISTRO_FEATURE (no specific hardware features required) but the image recipe was checking for hardware support. Change-Id: I434b48dfbae2a2eb058d7ad4511b22f8b40573e4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.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