blob: d7a681cdeca5a34bd1d3b00682288926c4af63ee [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
16IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"
Brad Bishop460ea912015-10-12 22:56:54 -040017IMAGE_CTYPE = "lzma"
Brad Bishop83bdcdf2015-10-08 15:18:38 -040018IMAGE_FSTYPES += "cpio.${IMAGE_CTYPE}.u-boot"