1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-02 17:01:04 +00:00

ti-k3-secdev: move from meta-ti-extras to meta-ti-bsp

The meta-ti-bsp layer is still broken for K3 HS platforms.

The patch [1] makes the check-layer happy again as it does not
fail any more during bitbake parsing but it will be difficult
for the end user to discover this dependency on meta-ti-extras.
On the other side, meta-ti-extras depends on meta-ti-bsp so
this is a circular dependency.

Currently the layer is broken for am62xx-evm/am64xx-evm machines:

| ERROR: Nothing PROVIDES 'ti-k3-secdev-native' (but mc:k3r5:/srv/oe/build/conf/../../layers/meta-ti/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb DEPENDS on or otherwise requires it). Close matches:
|  libtspi-dev-native
|  makedevs-native

[1] - 8e43835c ti-sci-fw: make dependency on meta-ti-extras soft

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Jose Quaresma
2023-01-16 12:16:24 +00:00
committed by Ryan Eatmon
parent cdc19549d5
commit b7823d771c
@@ -1,38 +0,0 @@
DESCRIPTION = "Security development tools for High-Security(HS) TI K3 processors."
HOMEPAGE = "https://git.ti.com/cgit/security-development-tools/core-secdev-k3"
SECTION = "devel"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://manifest/k3-secdev-0.2-manifest.html;md5=f632a78870cc64550078d7b3cbac0892"
require recipes-ti/includes/ti-paths.inc
# Native host tool only
COMPATIBLE_MACHINE = "null"
COMPATIBLE_MACHINE:class-native = "(.*)"
COMPATIBLE_MACHINE:class-nativesdk = "(.*)"
GIT_URI = "git://git.ti.com/git/security-development-tools/core-secdev-k3.git"
GIT_PROTOCOL = "https"
GIT_BRANCH = "master"
GIT_SRCREV = "eb2c4d734487e5095b94cef3fd7213ee71d9e016"
SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${GIT_BRANCH}"
SRCREV = "${GIT_SRCREV}"
S = "${WORKDIR}/git"
do_install() {
CP_ARGS="-Prf --preserve=mode,links,timestamps --no-preserve=ownership"
install -d ${D}${TI_K3_SECDEV_INSTALL_DIR_RECIPE}
cp ${CP_ARGS} ${S}/* ${D}${TI_K3_SECDEV_INSTALL_DIR_RECIPE}
}
FILES:${PN} += "${TI_K3_SECDEV_INSTALL_DIR_RECIPE}"
INSANE_SKIP:${PN} = "arch ldflags file-rdeps"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
BBCLASSEXTEND = "native nativesdk"