summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
blob: 60ed0888a801b1fa1224657ee3588b26d70453dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#@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_FSTYPES += "overlay"
IMAGE_INSTALL += "u-boot-fw-utils"

IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"

INITRAMFS_CTYPE ?= "lzma"
INITRAMFS_FSTYPES += "cpio.${INITRAMFS_CTYPE}"


OpenPOWER on IntegriCloud