blob: 3c6bbc97c51ff08236dd8cf9a9e958d752bee549 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#@TYPE: Machine
#@NAME: OpenBMC
#@DESCRIPTION: Common machine configuration for OpenBMC chips
KERNEL_CLASSES ?= "kernel-fitimage"
KERNEL_IMAGETYPES ?= "fitImage"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
UBOOT_SUFFIX ?= "bin"
MACHINEOVERRIDES =. "openbmc:"
IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot mtd-static mtd-static-tar mtd-static-alltar"
OBMC_IMAGE_EXTRA_INSTALL_append = " u-boot-fw-utils"
INITRAMFS_CTYPE ?= "lzma"
INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"
INITRAMFS_IMAGE = "${@bb.utils.contains('MACHINE_FEATURES', \
'obmc-ubi-fs', '', 'obmc-phosphor-initramfs', d)}"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
|