Consolidate flash image generation

Before c7248eb11c and 794bd3d4ac, flash image generation was split
between obmc-phosphor-image_types_uboot.bbclass and
image-overlay.bbclass.  This was because generate_flash() relied on
calling oe_mkimage() which was also defined in
obmc-phosphor-image_types_uboot.bbclass.  With that dependency removed,
all of the flash image generation can now be consolidated into
image-overlay.bbclass.  This location makes more sense as the .uboot
image type is for generating U-Boot legacy ramdisks while the overlay
image type is specifically for OpenBMC and its flash layout.
obmc-phopshor-image_types_uboot.bbclass is now empty and has been
removed.

Change-Id: Idcf38d3ef6f419780a7c54c77f1195bf3b5f5667
Signed-off-by: Rick Altherr <raltherr@google.com>
3 files changed
tree: 363410737c66c36c9cc43cef53ddab612f0fd6fc
  1. import-layers/
  2. meta-openbmc-bsp/
  3. meta-openbmc-machines/
  4. meta-phosphor/
  5. .gitignore
  6. .gitreview
  7. .templateconf
  8. openbmc-env
  9. README.md
README.md

OpenBMC

Build Status

Building

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