commit | d5813b4bc57e83259ff601f015ccacce70adacd5 | [log] [tgz] |
---|---|---|
author | Yannick Gicquel <yannick.gicquel@iot.bzh> | Wed Apr 27 16:20:55 2016 +0200 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jan 11 15:53:23 2017 +0000 |
tree | de2e8b392bc5b8f0814ba4e88465154e2a3b410b | |
parent | c16a37d6921841040aed2ff9c906c7bd6198ce83 [diff] |
kernel: fitimage: support device tree compiler options This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" (From OE-Core rev: 9a3f541da305c75418c2eec75ade902717a01b69) Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cb565d5b4009432be2d10568aa07367ca7912770) Change-Id: I65b0fe78c515089069fd94c34548fa45195830b4 Signed-off-by: Rick Altherr <raltherr@google.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