Skip to content

build system: fix FEATURES_REQUIRED_ANY [backport 2021.01]#15967

Closed
maribu wants to merge 1 commit intoRIOT-OS:2021.01-branchfrom
maribu:backport/2021.01/features_required_any_order_fix
Closed

build system: fix FEATURES_REQUIRED_ANY [backport 2021.01]#15967
maribu wants to merge 1 commit intoRIOT-OS:2021.01-branchfrom
maribu:backport/2021.01/features_required_any_order_fix

Conversation

@maribu
Copy link
Member

@maribu maribu commented Feb 9, 2021

Backport of #15957

Contribution description

Previously, FEATURES_REQUIRED_ANY didn't honor the order of the alternatives
provided, if none of the features were already in used and multiple options
are provided. This fixes this.

Testing procedure

See #15855 (comment)

Issues/PRs references

Found in #15855

Previously, FEATURES_REQUIRED_ANY didn't honor the order of the alternatives
provided, if none of the features were already in used and multiple options
are provided. This fixes this.

(cherry picked from commit f41dcc9)
@maribu maribu added Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Feb 9, 2021
Copy link
Contributor

@fjmolinas fjmolinas left a comment

Choose a reason for hiding this comment

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

NACK, same issue as reported in #15855

FEATURES_REQUIRED_ANY="periph_i2c|periph_gpio" BOARD=samr21-xpro make -C examples/hello-world/ info-modules | grep periph_i2c
periph_i2c

periph_i2c should not be present, seems like the filter logic still has some issues :(

@maribu maribu removed the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Feb 9, 2021
@maribu
Copy link
Member Author

maribu commented Feb 9, 2021

This introduces a new issue, so let's close this and backport once all issues are fixed.

@maribu maribu closed this Feb 9, 2021
@maribu maribu deleted the backport/2021.01/features_required_any_order_fix branch February 9, 2021 20:10
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 Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Process: release backport Integration Process: The PR is a release backport of a change previously provided to master 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