1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-22 12:39:02 +00:00
Files
meta-ti/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
Denys Dmytriyenko 0aa7a43f7f common-csl-ip-rtos: drop unnecessary dependency on ti-sysbios
It appears common-csl-ip-rtos does not require ti-sysbios dependency to build,
but ti-pdk.bbclass adds it by default. While most of PDK-based components do
require ti-sysbios to be built from sources, it is safe to remove it from CSL,
reducing the dependency tree for special cases like PRU FW based on CSL, but
not needing ti-sysbios.

This only affects firmwares built from sources against PDK and CSL, not when
RTOS firmwares are delivered in binary form for newer K3 platforms.

Build-tested on am335x, am57xx, k2g and am65xx.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2021-04-05 23:03:40 -05:00

24 lines
591 B
BlitzBasic

require common-csl-ip.inc
PR = "${INC_PR}.6"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE_append = "|c66x|k3"
inherit ti-pdk
DEPENDS_remove = "${PN}"
DEPENDS_remove = "ti-sysbios"
# Build with make instead of XDC
TI_PDK_XDCMAKE = "0"
export PDK_CSL_ROOT_PATH ="${WORKDIR}/build"
export DEST_ROOT="${S}"
# HTML doc link params
PDK_COMP_LINK_TEXT = "CSL-Chip Support Library"
# Workaround: dra7xx build requires am57xx CSL libraries for opencl-monitor
TI_PDK_LIMIT_SOCS_append_dra7xx = " am571x am572x am574x"
TI_PDK_LIMIT_BOARDS_append_dra7xx = " evmAM571x evmAM572x idkAM574x"