commit | d1bcf3dc1483a0af46e86635363e952b4cd56a52 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri May 06 20:35:43 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue May 17 10:25:52 2016 -0400 |
tree | a4c753cae19f804e6996f9677ae68f85f75aeeca | |
parent | bdff56965d3457d53c488bbf50d2793d9b5983e9 [diff] |
Re-enable out of tree device trees This snippet was mistakenly removed with 8ef9fee. Note that this isn't a matter of policy, it simply enables the option to do it. The in-tree device tree is still the default. This enables things like workbook or schematic generated device trees. It also addresses the inevitable fact that the upstream kernel will probably not want device trees for every board in the world. 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