commit | 4ef18bf263b8fc0e8197fadc3cd0dfec7105c6c6 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Mon Oct 24 18:44:49 2016 -0700 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Oct 31 14:42:33 2016 +0000 |
tree | 71ec19f2e69276f668e90770dc432f8de78aeada | |
parent | 4d17194cd0fbf912b559f8426cb4c6a2e1af6f17 [diff] |
meta-phosphor: Add iotools recipe iotools is a command line utility for access to hardware device registers. Since iotools uses a Makefile for building and installing, this recipe includes do_compile for build options and do_install for the packaged binary. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I783477d6de58a1e1868dd0383b46aa9bbe5d37ac
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