diff options
| author | Joel Challis <git@zvecr.com> | 2023-01-18 23:44:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-19 10:44:41 +1100 |
| commit | 88ec588ae7f6d36b23578135cde8b7a5160ff8b7 (patch) | |
| tree | 261e8e6798f7d9b9c06ea7517493236b851f36c9 /Makefile | |
| parent | 272281f1a0a3d5f07e0dfa890f1af2f360ca54bf (diff) | |
Remove `make all-<platform>` build targets (#19496)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
| @@ -124,24 +124,11 @@ endef | |||
| 124 | define PARSE_RULE | 124 | define PARSE_RULE |
| 125 | RULE := $1 | 125 | RULE := $1 |
| 126 | COMMANDS := | 126 | COMMANDS := |
| 127 | REQUIRE_PLATFORM_KEY := | ||
| 128 | # If the rule starts with all, then continue the parsing from | 127 | # If the rule starts with all, then continue the parsing from |
| 129 | # PARSE_ALL_KEYBOARDS | 128 | # PARSE_ALL_KEYBOARDS |
| 130 | ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all),true) | 129 | ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all),true) |
| 131 | KEYBOARD_RULE=all | 130 | KEYBOARD_RULE=all |
| 132 | $$(eval $$(call PARSE_ALL_KEYBOARDS)) | 131 | $$(eval $$(call PARSE_ALL_KEYBOARDS)) |
| 133 | else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all-avr),true) | ||
| 134 | KEYBOARD_RULE=all | ||
| 135 | REQUIRE_PLATFORM_KEY := avr | ||
| 136 | $$(eval $$(call PARSE_ALL_KEYBOARDS)) | ||
| 137 | else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all-chibios),true) | ||
| 138 | KEYBOARD_RULE=all | ||
| 139 | REQUIRE_PLATFORM_KEY := chibios | ||
| 140 | $$(eval $$(call PARSE_ALL_KEYBOARDS)) | ||
| 141 | else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,all-arm_atsam),true) | ||
| 142 | KEYBOARD_RULE=all | ||
| 143 | REQUIRE_PLATFORM_KEY := arm_atsam | ||
| 144 | $$(eval $$(call PARSE_ALL_KEYBOARDS)) | ||
| 145 | else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,test),true) | 132 | else ifeq ($$(call COMPARE_AND_REMOVE_FROM_RULE,test),true) |
| 146 | $$(eval $$(call PARSE_TEST)) | 133 | $$(eval $$(call PARSE_TEST)) |
| 147 | # If the rule starts with the name of a known keyboard, then continue | 134 | # If the rule starts with the name of a known keyboard, then continue |
| @@ -271,7 +258,7 @@ define PARSE_KEYMAP | |||
| 271 | # Format it in bold | 258 | # Format it in bold |
| 272 | KB_SP := $(BOLD)$$(KB_SP)$(NO_COLOR) | 259 | KB_SP := $(BOLD)$$(KB_SP)$(NO_COLOR) |
| 273 | # Specify the variables that we are passing forward to submake | 260 | # Specify the variables that we are passing forward to submake |
| 274 | MAKE_VARS := KEYBOARD=$$(CURRENT_KB) KEYMAP=$$(CURRENT_KM) REQUIRE_PLATFORM_KEY=$$(REQUIRE_PLATFORM_KEY) QMK_BIN=$$(QMK_BIN) | 261 | MAKE_VARS := KEYBOARD=$$(CURRENT_KB) KEYMAP=$$(CURRENT_KM) QMK_BIN=$$(QMK_BIN) |
| 275 | # And the first part of the make command | 262 | # And the first part of the make command |
| 276 | MAKE_CMD := $$(MAKE) -r -R -C $(ROOT_DIR) -f $(BUILDDEFS_PATH)/build_keyboard.mk $$(MAKE_TARGET) | 263 | MAKE_CMD := $$(MAKE) -r -R -C $(ROOT_DIR) -f $(BUILDDEFS_PATH)/build_keyboard.mk $$(MAKE_TARGET) |
| 277 | # The message to display | 264 | # The message to display |
