Skip to content

Fix Pull request #83#96

Open
arnopo wants to merge 2 commits intoOpenAMP:mainfrom
arnopo:fix_PR83
Open

Fix Pull request #83#96
arnopo wants to merge 2 commits intoOpenAMP:mainfrom
arnopo:fix_PR83

Conversation

@arnopo
Copy link
Collaborator

@arnopo arnopo commented Feb 13, 2026

aim of this PR is to fix open-amp CI issue https://github.com/OpenAMP/open-amp/actions/runs/21977010300/job/63490789192?pr=676 introduced by #83

When PROJECT_VENDOR is not set it is treated as an empty string
in the path ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_VENDOR}/CMakeLists.txt.

Since examples/legacy_apps/machine/CMakeLists.txt exists, the condition
evaluates to true even though PROJECT_VENDOR is not defined.

Fix this by explicitly testing that PROJECT_VENDOR is defined before
checking for the vendor-specific CMakeLists.txt.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
The purpose of legacy_apps is to provide examples, so it makes sense
to have this configuration enabled by default.

This also fixes a compatibility issue with legacy scripts used,
for instance, in the open-amp CI.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
@arnopo arnopo requested review from edmooring and tnmysh February 13, 2026 10:46
@arnopo
Copy link
Collaborator Author

arnopo commented Feb 13, 2026

@bentheredonethat please could you have a look

@arnopo arnopo linked an issue Feb 13, 2026 that may be closed by this pull request
@bentheredonethat
Copy link
Contributor

@arnopo LGTM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

open-amp CI regression introduce by PR#83

3 participants