Skip to content

RDKE-979 : standardize the TARGET_VENDOR variable with -rdk#17

Merged
sreejithravi086 merged 2 commits into
developfrom
feature/RDKE-979-Setting-default-TARGET_VENDOR-as-rdk
Dec 1, 2025
Merged

RDKE-979 : standardize the TARGET_VENDOR variable with -rdk#17
sreejithravi086 merged 2 commits into
developfrom
feature/RDKE-979-Setting-default-TARGET_VENDOR-as-rdk

Conversation

@sreejithravi086
Copy link
Copy Markdown
Contributor

Standardize the TARGET_VENDOR variable
The TARGET_VENDOR variable is used to generate the folder structure for toolchain components.
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}".
To ensure that the prebuilt libraries are usable across all stack layers, we should standardize the TARGET_VENDOR value across the entire system.
If we do not use a common value for this variable, we won't be able to use the toolchain's prebuilt libraries, such as libgcc.

@sreejithravi086 sreejithravi086 requested a review from a team as a code owner December 1, 2025 12:46
Copilot AI review requested due to automatic review settings December 1, 2025 12:46
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes the TARGET_VENDOR variable to "-rdk" across the build system to ensure compatibility with toolchain prebuilt libraries like libgcc. Without a common TARGET_VENDOR value, the folder structure for toolchain components would be inconsistent, preventing proper use of prebuilt libraries across all stack layers.

Key Changes:

  • Adds conditional logic to set TARGET_VENDOR to "-rdk" if not already defined
  • Writes the standardized TARGET_VENDOR value to conf/local.conf with explanatory comments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread setup-environment Outdated
@sreejithravi086 sreejithravi086 merged commit 526ea3f into develop Dec 1, 2025
7 checks passed
@sreejithravi086 sreejithravi086 deleted the feature/RDKE-979-Setting-default-TARGET_VENDOR-as-rdk branch December 1, 2025 17:14
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 1, 2025
Copy link
Copy Markdown

@maniselva006c maniselva006c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change can be reverted once the changes are moved to oss-ref layer.
Make sure this change doesn't cause any build error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants