blob: 4a800ddc6a496df0d3a4f0e6e3425dbbcb7ee765 [file] [log] [blame]
#@TYPE: Machine
#@NAME: OpenBMC
#@DESCRIPTION: Common machine configuration for OpenBMC chips
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
EXTRA_IMAGEDEPENDS += "u-boot"
KERNEL_CLASSES ?= "kernel-uimage kernel-cuimage"
KERNEL_IMAGETYPE ?= "cuImage"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
UBOOT_SUFFIX ?= "bin"
MACHINEOVERRIDES =. "openbmc:"
IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"
IMAGE_CTYPE = "gz"
IMAGE_FSTYPES += "cpio.${IMAGE_CTYPE}.u-boot"