obmc-phosphor-image: Variable for kernel image type written to flash

obmc-phosphor-image_types_uboot generates a complete flash image as the
last step in the build process.  This step assumed that only a single
kernel image type was being built so it used KERNEL_IMAGETYPE to
determine which kernel image to include in the flash image.  When
multiple kernel images are built via KERNEL_IMAGETYPES, a separate
variable, FLASH_KERNEL_IMAGETYPE, is needed to specify which one should
be included in the flash image. FLASH_KERNEL_IMAGETYPE has a weak
default of 'cuImage' which allows machine configs change it on a
per-machine basis.

Change-Id: I9feb327e895f15e2c289e9195a9b92dd880cded3
Signed-off-by: Rick Altherr <raltherr@google.com>
1 file changed
tree: 90318620e582169bc676d4bb3dc979d766e59a2e
  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