commit | e33beb5b178f9936b1a4021847c0c285b61dd03c | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Sep 13 20:45:50 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Sep 14 21:20:55 2016 -0400 |
tree | e4f2a119857220f73a98843275e06ee5d3ca1082 | |
parent | 345f696d700a113d7e434f8655f59ca7cd5890ed [diff] |
remove sample.inc include from local.conf.example sample.inc has been reduced to simply appending some server related machine features. For the sake of correctness, don't assume anything about the machine features desired to be simulated by the phosphor layer client. Accomplish this by removing sample.inc from local.conf(.sample). To simulate additional machine features on fake platforms like evaluation boards or the default qemu models, append additional features to OBMC_MACHINE_FEATURES in local.conf. Change-Id: I8bf3e0b428a3d0c20136340720aa500e1312607e 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