From d107aa6c5809e3307c50d25ff73c3a72287daf52 Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Wed, 25 Jun 2025 10:35:13 -0500 Subject: ti-ipc-rtos: Update to handle nested git repos When specifying multiple git repos in the SRC_URI and you want the "secondary" repositories to appear within the directory structure of the primary repository, then we need to make sure that the destsuffix is correct. With the change to calculating the value of S to use BB_GIT_DEFAULT_DESTSUFFIX, we need to make sure that the destsuffix is based on that variable as well. Also, update the paths for S to be within new source location. Signed-off-by: Ryan Eatmon --- meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc index 14ac7c77..2f93db72 100644 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc @@ -1,7 +1,7 @@ require recipes-ti/includes/ti-paths.inc TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/git/ipc/ipc-examples.git" -TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" +TI_IPC_EXAMPLES_DEST_SUFFIX = "${BB_GIT_DEFAULT_DESTSUFFIX}/ipc-examples" TI_IPC_EXAMPLES_GIT_PROTOCOL = "https" TI_IPC_EXAMPLES_GIT_BRANCH = "master" TI_IPC_EXAMPLES_NAME = "ipc-examples" @@ -13,7 +13,7 @@ branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ name=${TI_IPC_EXAMPLES_NAME}" TI_IPC_METADATA_GIT_URI = "git://git.ti.com/git/ipc/ipc-metadata.git" -TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" +TI_IPC_METADATA_DEST_SUFFIX = "${BB_GIT_DEFAULT_DESTSUFFIX}/ipc-metadata" TI_IPC_METADATA_GIT_PROTOCOL = "https" TI_IPC_METADATA_GIT_BRANCH = "master" TI_IPC_METADATA_NAME = "ipc-metadata" @@ -33,8 +33,8 @@ SRCREV_FORMAT = "default" SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}" SRCREV_ipc-examples = "${TI_IPC_EXAMPLES_SRCREV}" -S_ipc-examples = "${WORKDIR}/git/ipc-examples" -S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" +S_ipc-examples = "${S}/ipc-examples" +S_ipc-metadata = "${S}/ipc-metadata" RELEASE_TYPE = "GA" RELEASE_SUFFIX = "" -- cgit v1.2.3-54-g00ecf