Skip to content

Make warns to expect errors when disabling optional modules #10047

@ghost

Description

When testing #10005 I got a warning from Make to EXPECT ERRORS! when compiling with DISABLE_MODULE=periph_gpio_irq.
This warning is needless since the feature periph_gpio_irq is optional and thus excluding it should not throw any errors. Even more, if it throws errors then there is a bug that should neither be expected nor in the code at all.

Meaning if a feature added with FEATURES_OPTIONAL is excluded again with DISABLE_MODULE, this warning should not be printed.

Metadata

Metadata

Assignees

Labels

Area: build systemArea: Build systemState: staleState: The issue / PR has no activity for >185 daysType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions