diff options
Diffstat (limited to 'meta-phosphor/conf')
-rw-r--r-- | meta-phosphor/conf/machine/include/obmc-bsp-common.inc | 6 |
1 files changed, 5 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 3c6bbc97c..165eca422 100644 --- a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc +++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc @@ -10,7 +10,11 @@ UBOOT_SUFFIX ?= "bin" MACHINEOVERRIDES =. "openbmc:" -IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot mtd-static mtd-static-tar mtd-static-alltar" +IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot" +IMAGE_FSTYPES += "${@bb.utils.contains('MACHINE_FEATURES', \ + 'obmc-ubi-fs', \ + 'mtd-ubi mtd-ubi-tar', \ + 'mtd-static mtd-static-tar mtd-static-alltar', d)}" OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils" INITRAMFS_CTYPE ?= "lzma" |