diff options
author | Rick Altherr <raltherr@google.com> | 2017-01-05 04:25:18 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-01-10 22:07:45 +0300 |
commit | 2a9a08a553bbd72db658cdef5c5f2136f524c4f4 (patch) | |
tree | 363410737c66c36c9cc43cef53ddab612f0fd6fc /meta-phosphor/conf/machine | |
parent | 94a0a84c3990f23586f081f1abc54208961380bd (diff) | |
download | openbmc-2a9a08a553bbd72db658cdef5c5f2136f524c4f4.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/conf/machine')
-rw-r--r-- | meta-phosphor/conf/machine/include/obmc-bsp-common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc index 99855cad6..fb68f3189 100644 --- a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc +++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc @@ -17,7 +17,7 @@ OBMC_PHOSPHOR_IMAGE_OVERLAY= "1" IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot" OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils" -IMAGE_CLASSES += "obmc-phosphor-image_types_uboot" +IMAGE_CLASSES += "image_types_uboot" INITRAMFS_CTYPE ?= "lzma" INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot" |