Brad Bishop | 437c060 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: OpenBMC |
| 3 | #@DESCRIPTION: Common machine configuration for OpenBMC chips |
| 4 | |
Rick Altherr | b08bb15 | 2017-01-09 15:44:57 -0800 | [diff] [blame] | 5 | KERNEL_CLASSES ?= "kernel-fitimage" |
| 6 | KERNEL_IMAGETYPES ?= "fitImage" |
Brad Bishop | 83bdcdf | 2015-10-08 15:18:38 -0400 | [diff] [blame] | 7 | |
Brad Bishop | 811eeec | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 8 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', \ |
Brad Bishop | 81ea092 | 2017-08-04 23:54:51 -0400 | [diff] [blame] | 9 | 'obmc-ubi-fs', \ |
| 10 | 'mtd-ubi mtd-ubi-tar', \ |
| 11 | 'mtd-static mtd-static-tar mtd-static-alltar', d)}" |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 12 | |
Milton D. Miller II | 44b86a7 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 13 | INITRAMFS_CTYPE ?= "lzma" |
Rick Altherr | c919f53 | 2017-01-11 17:33:47 -0800 | [diff] [blame] | 14 | INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}" |
Brad Bishop | 811eeec | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 15 | INITRAMFS_IMAGE ?= "obmc-phosphor-initramfs" |
| 16 | INITRAMFS_IMAGE_df-obmc-ubi-fs ?= "" |