fix for conditional via @dungdung

make_autocomplete
Jack Humbert 7 years ago
parent 0bb049b926
commit db3d0199cd

@ -595,7 +595,7 @@ endef
define ALL_SUBPROJECTS define ALL_SUBPROJECTS
SUBPROJECTS_OPTION := $$(notdir $$(patsubst %/rules.mk,%,$$(wildcard $(ROOT_DIR)/keyboards/$$(KEYBOARD_OPTION)/*/rules.mk))) SUBPROJECTS_OPTION := $$(notdir $$(patsubst %/rules.mk,%,$$(wildcard $(ROOT_DIR)/keyboards/$$(KEYBOARD_OPTION)/*/rules.mk)))
$$(eval $$(call ALL_KEYMAPS)) $$(eval $$(call ALL_KEYMAPS))
ifneq ($$(SUBPROJECT_OPTION),) ifneq ($$(SUBPROJECTS_OPTION),)
$$(foreach SUBPROJECT_OPTION, $$(SUBPROJECTS_OPTION), $$(eval $$(call ALL_KEYMAPS))) $$(foreach SUBPROJECT_OPTION, $$(SUBPROJECTS_OPTION), $$(eval $$(call ALL_KEYMAPS)))
endif endif
endef endef

Loading…
Cancel
Save