mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
The TI_EXTRAS infrastructure needs a little tweaking to support turning on multiple extra options at the same time. 1) Since TI_EXTRAS can be a space separated list and not a single fixed value, we need to change how we detect when to include the TI_EXTRA values. 2) The tie-jailhouse overrides were being a little too heavy handed. All of the variables that are changed for any given extra feature needs to use the proper variable override. This was most important for the COMPATIBLE_MACHINE settings. 3) Move the ti-extras out of specific machine configs and into the ti-soc so that all machines can use the extras. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
# This is a generic TI SOC family. It is a superset of all other SOCs
|
|
# and platforms defined in meta-ti to allow BSP-level overrides.
|
|
SOC_FAMILY = "ti-soc"
|
|
require conf/machine/include/soc-family.inc
|
|
require conf/machine/include/ti-extras.inc
|
|
|
|
# kernel, initrd load addresses for the fitImage in all TI platforms
|
|
UBOOT_ENTRYPOINT = "0x82000000"
|
|
UBOOT_LOADADDRESS = "0x82000000"
|
|
UBOOT_RD_LOADADDRESS = "0x84000000"
|
|
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
|
|
|
# TI platforms all use devicetrees with overlays
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree"
|
|
|
|
# Tell the kernel class to install the DTBs in the same directory structure as
|
|
# the kernel
|
|
KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
|
|
KERNEL_DTBVENDORED = "1"
|
|
|
|
# Also build a non-vendored list w/o dir structure
|
|
DEVICETREE_FILES = "${@' '.join([os.path.basename(f) for f in d.getVar("KERNEL_DEVICETREE").split()])}"
|
|
|
|
KERNEL_DEVICETREE_DTBMERGE ?= ""
|
|
|
|
# Dynamically build DTBs list based on prefix matching
|
|
CLASS_DEVICETREE_PREFIX = "${@ 'ti-devicetree-prefix' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}"
|
|
|
|
KERNEL_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
|
|
IMAGE_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
|