blob: 7162b5d8d8089604330ac47d7dd6e58ecfc6c802 [file] [log] [blame]
Brad Bishop3d7ad812015-10-06 01:53:40 -04001#@TYPE: Machine
2#@NAME: OpenBMC
3#@DESCRIPTION: Common machine configuration for OpenBMC chips
4
Rick Altherr8ce17d12017-01-09 15:44:57 -08005KERNEL_CLASSES ?= "kernel-fitimage"
6KERNEL_IMAGETYPES ?= "fitImage"
Brad Bishopbecb70f2015-10-08 15:18:38 -04007
Brad Bishop8623bbe2018-03-09 00:04:00 -05008IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', \
Brad Bishopdfd2dd22017-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 II3e287b32016-01-28 09:49:39 -060012
Milton D. Miller II3e287b32016-01-28 09:49:39 -060013INITRAMFS_CTYPE ?= "lzma"
Rick Altherr1ed6fe32017-01-11 17:33:47 -080014INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
Brad Bishop8623bbe2018-03-09 00:04:00 -050015INITRAMFS_IMAGE ?= "obmc-phosphor-initramfs"
16INITRAMFS_IMAGE_df-obmc-ubi-fs ?= ""