commit | 205469475226853ec068be3c75819d745c3d0ccf | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Mon Jun 20 14:06:54 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Jun 24 15:22:18 2016 -0500 |
tree | a1aecb9568d21b9ff2fd465e64b0f21a1b083192 | |
parent | d9cd4a0b4683d9054b4985013f6b2232ef8740f0 [diff] |
meta-phosphor: Make image-overlay an optional feature Previously, obmc-bsp-common.inc added "overlay" to the IMAGE_FSTYPES but this only has meaning if the 'image-overlay' class is used. The obmc-phosphor-image class explicitly includes 'image-overlay' when appropriate but no other images (ie. ones that come with yocto) do. Changed obmc-bsp-common to instead enable an obmc-phosphor-image feature by setting OBMC_PHOSPHOR_IMAGE_OVERLAY=1. Then in obmc-phosphor-image we add "overlay" to the IMAGE_FSTYPES only when the feature is enabled. This will fix both non-phosphor images on hardware platforms and all images on simulation platforms. Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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