Skip to content

makefiles.kconfig.mk: use EXTERNAL_MODULE_DIRS in Kconfig resolution#17596

Merged
leandrolanzieri merged 2 commits intoRIOT-OS:masterfrom
fjmolinas:pr_external_module_deps_kconfig
Feb 1, 2022
Merged

makefiles.kconfig.mk: use EXTERNAL_MODULE_DIRS in Kconfig resolution#17596
leandrolanzieri merged 2 commits intoRIOT-OS:masterfrom
fjmolinas:pr_external_module_deps_kconfig

Conversation

@fjmolinas
Copy link
Contributor

Contribution description

While testing and reviewing #16104 I did not realize that although it worked for Kconfig configurations it would not work for dependencies. This was caught thanks to @NikLeberg I #17211, this PR fixes that.

Testing procedure

A test case for the dependencies was as well added to tests/kconfig, the tests should succeed and configurations and dependencies are visible:

image

Issues/PRs references

Follow up to #16104

Using EXTERNAL_MODULE_PATHS works fine when only using Kconfig for
configuratio, but when using it for dependencies this value is not
set since it depends on Kconfig. Instead use EXTERNAL_MODULE_DIRS
and filter matching on Kconfig files.
@github-actions github-actions bot added Area: build system Area: Build system Area: Kconfig Area: Kconfig integration Area: tests Area: tests and testing framework labels Feb 1, 2022
@fjmolinas fjmolinas force-pushed the pr_external_module_deps_kconfig branch from 0ac3b45 to de325cd Compare February 1, 2022 10:59
@fjmolinas fjmolinas added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Feb 1, 2022
Copy link
Contributor

@leandrolanzieri leandrolanzieri left a comment

Choose a reason for hiding this comment

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

ACK

@leandrolanzieri leandrolanzieri added Reviewed: 1-fundamentals The fundamentals of the PR were reviewed according to the maintainer guidelines Reviewed: 2-code-design The code design of the PR was reviewed according to the maintainer guidelines Reviewed: 3-testing The PR was tested according to the maintainer guidelines Reviewed: 4-code-style The adherence to coding conventions by the PR were reviewed according to the maintainer guidelines Reviewed: 5-documentation The documentation details of the PR were reviewed according to the maintainer guidelines labels Feb 1, 2022
@leandrolanzieri leandrolanzieri added this to the Release 2022.04 milestone Feb 1, 2022
@leandrolanzieri leandrolanzieri added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label Feb 1, 2022
@leandrolanzieri leandrolanzieri merged commit 9b95605 into RIOT-OS:master Feb 1, 2022
@fjmolinas fjmolinas deleted the pr_external_module_deps_kconfig branch February 1, 2022 13:27
@fjmolinas
Copy link
Contributor Author

Thanks @leandrolanzieri!

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

Labels

Area: build system Area: Build system Area: Kconfig Area: Kconfig integration Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Reviewed: 1-fundamentals The fundamentals of the PR were reviewed according to the maintainer guidelines Reviewed: 2-code-design The code design of the PR was reviewed according to the maintainer guidelines Reviewed: 3-testing The PR was tested according to the maintainer guidelines Reviewed: 4-code-style The adherence to coding conventions by the PR were reviewed according to the maintainer guidelines Reviewed: 5-documentation The documentation details of the PR were reviewed according to the maintainer guidelines Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants