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

dynamic parts should use inherit_defer #477

Closed
priv-kweihmann opened this issue Jan 7, 2024 · 0 comments
Closed

dynamic parts should use inherit_defer #477

priv-kweihmann opened this issue Jan 7, 2024 · 0 comments
Labels
New rule New rule to be implemented

Comments

@priv-kweihmann
Copy link
Owner

A new feature is coming to bitbake soon called inherit_defer, which basically allows inherit statements like

FOO ?= "bar"
inherit ${FOO}

to override the value of FOO from a bbappend.

The linter should suggest the following

  • if an inline code block or a variable is used as part of an inherit statement inherit_defer should be used
  • if inherit_defer doesn't use any inline code or variable inherit should be suggested
@priv-kweihmann priv-kweihmann added the New rule New rule to be implemented label Jan 7, 2024
priv-kweihmann added a commit that referenced this issue Jan 17, 2024
of inherit and inherit_defer statements

Closes #477

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
priv-kweihmann added a commit that referenced this issue Jan 17, 2024
of inherit and inherit_defer statements

Closes #477

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New rule New rule to be implemented
Projects
None yet
Development

No branches or pull requests

1 participant