blob: 202626031424cd0f26bd18918c6abda6a255aba3 [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"
Brad Bishop2f246472019-08-08 12:58:32 -040014INITRAMFS_FSTYPES = "cpio.${INITRAMFS_CTYPE}"
15INITRAMFS_IMAGE = "obmc-phosphor-initramfs"
16INITRAMFS_IMAGE_df-obmc-ubi-fs = ""