blob: 8a3da11999caa9c05bee1e0c69ca1017e9531654 [file] [log] [blame]
Brad Bishop437c0602015-10-06 01:53:40 -04001#@TYPE: Machine
2#@NAME: OpenBMC
3#@DESCRIPTION: Common machine configuration for OpenBMC chips
4
Rick Altherrb08bb152017-01-09 15:44:57 -08005KERNEL_CLASSES ?= "kernel-fitimage"
6KERNEL_IMAGETYPES ?= "fitImage"
Brad Bishop83bdcdf2015-10-08 15:18:38 -04007
Adriana Kobylak2f1584b2020-05-22 13:05:55 -05008# Static images. This is the default if no other layout is specified.
9IMAGE_FSTYPES += "${@bb.utils.contains_any('DISTRO_FEATURES', \
10 'obmc-ubi-fs phosphor-mmc', \
11 '', \
12 'mtd-static mtd-static-tar mtd-static-alltar', d)}"
13
14# UBI images.
Brad Bishop811eeec2018-03-09 00:04:00 -050015IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', \
Brad Bishop81ea0922017-08-04 23:54:51 -040016 'obmc-ubi-fs', \
17 'mtd-ubi mtd-ubi-tar', \
Adriana Kobylak2f1584b2020-05-22 13:05:55 -050018 '', d)}"
19
20# eMMC images.
21IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', \
22 'phosphor-mmc', \
23 'wic.xz mmc-ext4-tar', \
24 '', d)}"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060025
William A. Kennington III282c6e72019-09-23 12:36:48 -070026INITRAMFS_CTYPE ?= "xz"
Brad Bishop2f246472019-08-08 12:58:32 -040027INITRAMFS_FSTYPES = "cpio.${INITRAMFS_CTYPE}"
28INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
29INITRAMFS_IMAGE_df-obmc-ubi-fs = ""