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 | |
| 16 | IMAGE_CLASSES += "obmc-phosphor-image_types_uboot" |
| 17 | IMAGE_CTYPE = "gz" |
| 18 | IMAGE_FSTYPES += "cpio.${IMAGE_CTYPE}.u-boot" |