mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
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 <reatmon@ti.com>
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user