Update "make format" message (#13741)

* Update "make format" message

* Add examples for `qmk` command as well
master
Ryan 2021-07-28 21:02:29 +10:00 committed by GitHub
parent fcce9f2a4f
commit 491b83aa32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 5 deletions

View File

@ -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 |)
$$(info | Where `keyboard_folder` is the path to the keyboard relative to)
$$(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 | Examples:)
$$(info | make dz60:default) $$(info | keyboards/dz60, keyboards/dz60/keymaps/default)
$$(info | make planck/rev6:default:flash) $$(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