commit | b1e88405a3628291434c04a760d75b3a4cdaaf79 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jan 11 11:12:32 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 19 17:51:05 2017 +0000 |
tree | 8fba4546148dc42db6c72a3041f88bf343ec9292 | |
parent | 8ef5fd21107625d7480346318cb858759e61ee66 [diff] |
Add recipe for phosphor-hwmon Add a recipe for the phosphor-hwmon application. Change-Id: I5e5100b968852e213ecf56f0ef0f27e8714b4e7e 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