fix for conditional via @dungdung
This commit is contained in:
parent
0bb049b926
commit
db3d0199cd
2
Makefile
2
Makefile
@ -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…
Reference in New Issue
Block a user