]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Print error when building non-existing keyboard
authorFred Sundvik <fsundvik@gmail.com>
Sun, 7 Aug 2016 15:15:45 +0000 (18:15 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Sat, 20 Aug 2016 00:56:20 +0000 (03:56 +0300)
Makefile

index a9a2d98fcbd0f5aa109ba136da28cf69810cd187..623e4b064dd508e86fa61273998c47b0d69a35c1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,9 @@ define PARSE_RULE
         $$(eval $$(call PARSE_ALL_KEYBOARDS))
     else ifeq ($$(call TRY_TO_MATCH_RULE_FROM_LIST,$$(KEYBOARDS)),true)
         $$(eval $$(call PARSE_KEYBOARD,$$(MATCHED_ITEM)))
+    else
+        $$(info make: *** No rule to make target '$1'. Stop.)
+               exit 1
     endif
 endef