Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syscfg: Always use full repo name in syscfg.h defs #491

Merged
merged 1 commit into from Oct 3, 2022

Conversation

andrzej-kaczmarek
Copy link
Contributor

CI builds have either mynewt-core or mynewt-nimble used as local repository so the repo name is omitted in syscfg.h package defs. This causes build issues since defines do not match those generated in generic configuration, i.e. local project is used as local repo.

To avoid issues in future we'll always use full repo name for defs in syscfg.h, this way those are stable regardless of repo location.

Note: repository name for local repo is the project name and it overrides repository.yml name, if any.

CI builds have either mynewt-core or mynewt-nimble used as local
repository so the repo name is omitted in syscfg.h package defs. This
causes build issues since defines do not match those generated in
generic configuration, i.e. local project is used as local repo.

To avoid issues in future we'll always use full repo name for defs in
syscfg.h, this way those are stable regardless of repo location.

Note: repository name for local repo is the project name and it
overrides repository.yml name, if any.
Copy link
Contributor

@kasjer kasjer left a comment

Choose a reason for hiding this comment

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

LGTM

@andrzej-kaczmarek andrzej-kaczmarek merged commit 65a52c4 into apache:master Oct 3, 2022
@andrzej-kaczmarek andrzej-kaczmarek deleted the syscfg-pkg-defs branch October 3, 2022 10:00
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.

None yet

3 participants