blob: 7162b5d8d8089604330ac47d7dd6e58ecfc6c802 [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
Brad Bishop811eeec2018-03-09 00:04:00 -05008IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', \
Brad Bishop81ea0922017-08-04 23:54:51 -04009 'obmc-ubi-fs', \
10 'mtd-ubi mtd-ubi-tar', \
11 'mtd-static mtd-static-tar mtd-static-alltar', d)}"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060012
Milton D. Miller II44b86a72016-01-28 09:49:39 -060013INITRAMFS_CTYPE ?= "lzma"
Rick Altherrc919f532017-01-11 17:33:47 -080014INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Brad Bishop811eeec2018-03-09 00:04:00 -050015INITRAMFS_IMAGE ?= "obmc-phosphor-initramfs"
16INITRAMFS_IMAGE_df-obmc-ubi-fs ?= ""