commit | f5e6dbae7b1f94a01bad5691fca6c5a78119fd44 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri Aug 12 16:11:00 2016 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Aug 18 17:03:41 2016 +0000 |
tree | bca01b36a08a21cafe0b2ec3d2912bd002e8501d | |
parent | 2535f194917126ed3d3233940f03489d3d4ab0be [diff] |
Remove native/sdk classes from recipes There isn't any reason to be baking pflash or libobmc_intf recipes for sdk or build machines (x86). This was mistakenly added (by me) based on misunderstanding of how to get dev packages into the target sysroot. The correct way to do this is to just have a dev package whose main package is in IMAGE_INSTALL or has a dependency on another dev package (whose main package is in IMAGE_INSTALL). I'm not adding those dependencies now here because at the moment pflash-dev is unused and libobmc_intf will eventually disappear. Change-Id: I691cd029a69ad7554faeb4782ae97b92946c9a7b 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