blob: fb6cc8ce726a00d19a5023a270ceb0584444075a [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
5MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
6EXTRA_IMAGEDEPENDS += "u-boot"
7
8KERNEL_CLASSES ?= "kernel-uimage kernel-cuimage"
9KERNEL_IMAGETYPE ?= "cuImage"
10KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
11
12UBOOT_SUFFIX ?= "bin"
Brad Bishop437c0602015-10-06 01:53:40 -040013
14MACHINEOVERRIDES =. "openbmc:"
Brad Bishop83bdcdf2015-10-08 15:18:38 -040015
Milton D. Miller II44b86a72016-01-28 09:49:39 -060016IMAGE_FSTYPES += "overlay"
17IMAGE_INSTALL += "u-boot-fw-utils"
18
Brad Bishop83bdcdf2015-10-08 15:18:38 -040019IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"
Milton D. Miller II44b86a72016-01-28 09:49:39 -060020IMAGE_CLASSES += "image-overlay"
21
22INITRAMFS_CTYPE ?= "lzma"
23INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
24
25