Brad Bishop | 3d7ad81 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: OpenBMC |
| 3 | #@DESCRIPTION: Common machine configuration for OpenBMC chips |
| 4 | |
| 5 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" |
| 6 | EXTRA_IMAGEDEPENDS += "u-boot" |
| 7 | |
| 8 | KERNEL_CLASSES ?= "kernel-uimage kernel-cuimage" |
| 9 | KERNEL_IMAGETYPE ?= "cuImage" |
| 10 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
| 11 | |
| 12 | UBOOT_SUFFIX ?= "bin" |
Brad Bishop | 3d7ad81 | 2015-10-06 01:53:40 -0400 | [diff] [blame] | 13 | |
| 14 | MACHINEOVERRIDES =. "openbmc:" |
Brad Bishop | becb70f | 2015-10-08 15:18:38 -0400 | [diff] [blame] | 15 | |
Milton D. Miller II | 3e287b3 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 16 | IMAGE_FSTYPES += "overlay" |
Brad Bishop | 64367e4 | 2016-04-21 16:56:01 -0400 | [diff] [blame] | 17 | IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot" |
Milton D. Miller II | 3e287b3 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 18 | IMAGE_INSTALL += "u-boot-fw-utils" |
| 19 | |
Brad Bishop | becb70f | 2015-10-08 15:18:38 -0400 | [diff] [blame] | 20 | IMAGE_CLASSES += "obmc-phosphor-image_types_uboot" |
Milton D. Miller II | 3e287b3 | 2016-01-28 09:49:39 -0600 | [diff] [blame] | 21 | |
| 22 | INITRAMFS_CTYPE ?= "lzma" |
| 23 | INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}" |
| 24 | |
| 25 | |