Update "make format" message (#13741)
* Update "make format" message * Add examples for `qmk` command as well
This commit is contained in:
		
							parent
							
								
									fcce9f2a4f
								
							
						
					
					
						commit
						491b83aa32
					
				
					 1 changed files with 14 additions and 5 deletions
				
			
		
							
								
								
									
										19
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										19
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -252,11 +252,20 @@ define PARSE_RULE
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        $$(info make: *** No rule to make target '$1'. Stop.)
 | 
					        $$(info make: *** No rule to make target '$1'. Stop.)
 | 
				
			||||||
        $$(info |)
 | 
					        $$(info |)
 | 
				
			||||||
        $$(info |  QMK's make format recently changed to use folder locations and colons:)
 | 
					        $$(info | QMK's make format is:)
 | 
				
			||||||
        $$(info |     make project_folder:keymap[:target])
 | 
					        $$(info |     make keyboard_folder:keymap_folder[:target])
 | 
				
			||||||
        $$(info |  Examples:)
 | 
					        $$(info |)
 | 
				
			||||||
        $$(info |     make dz60:default)
 | 
					        $$(info | Where `keyboard_folder` is the path to the keyboard relative to)
 | 
				
			||||||
        $$(info |     make planck/rev6:default:flash)
 | 
					        $$(info | `qmk_firmware/keyboards/`, and `keymap_folder` is the name of the)
 | 
				
			||||||
 | 
					        $$(info | keymap folder under that board's `keymaps/` directory.)
 | 
				
			||||||
 | 
					        $$(info |)
 | 
				
			||||||
 | 
					        $$(info | Examples:)
 | 
				
			||||||
 | 
					        $$(info |     keyboards/dz60, keyboards/dz60/keymaps/default)
 | 
				
			||||||
 | 
					        $$(info |       -> make dz60:default)
 | 
				
			||||||
 | 
					        $$(info |       -> qmk compile -kb dz60 -km default)
 | 
				
			||||||
 | 
					        $$(info |     keyboards/planck/rev6, keyboards/planck/keymaps/default)
 | 
				
			||||||
 | 
					        $$(info |       -> make planck/rev6:default:flash)
 | 
				
			||||||
 | 
					        $$(info |       -> qmk flash -kb planck/rev6 -km default)
 | 
				
			||||||
        $$(info |)
 | 
					        $$(info |)
 | 
				
			||||||
    endif
 | 
					    endif
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue