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

Infer more when building features #13890

Merged
merged 2 commits into from
Oct 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix 'no' logic
  • Loading branch information
zvecr committed Oct 17, 2021
commit 6f0f8db8ffff7de38032a2540e244f56e4420f5b
4 changes: 2 additions & 2 deletions generic_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ define HANDLE_GENERIC_FEATURE
OPT_DEFS += -D$1_ENABLE
endef

$(foreach F,$(sort $(GENERIC_FEATURES)),\
$(if $($(F)_ENABLE),\
$(foreach F,$(GENERIC_FEATURES),\
$(if $(filter yes, $(strip $($(F)_ENABLE))),\
$(eval $(call HANDLE_GENERIC_FEATURE,$(F),$(shell echo $(F) | tr '[:upper:]' '[:lower:]'))) \
) \
)