mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-18 05:02:18 +02:00
Add bits to handle the new codebench layout
If the user hasn't set EXTERNAL_TOOLCHAIN, but CODEBENCH_PATH is set, then we automatically set both EXTERNAL_TOOLCHAIN and EXTERNAL_TARGET_SYS based on the installed toolchains in CODEBENCH_PATH/../toolchains. This adds a new variable, rather than allowing EXTERNAL_TOOLCHAIN to point to CodeBench instead of the actual toolchain path, to keep the clean separation between the generic toolchain logic and that which is specific to our toolchains, and also avoids overloading the variable's meaning. JIRA: SB-7881 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -51,6 +51,9 @@ PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers-external"
|
||||
# Support use of an external toolchain with the SDK/ADE/etc
|
||||
TOOLCHAIN_TARGET_TASK_append = " sdk-env-external-toolchain"
|
||||
|
||||
# Set our vars based on the codebench path, if available
|
||||
INHERIT += "codebench"
|
||||
|
||||
# Pull in our utility functions for use elsewhere
|
||||
INHERIT += "external-common"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user