-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework of qmk compile #13357
Rework of qmk compile #13357
Conversation
7509c21
to
26ba83f
Compare
Thank you for your contribution! |
This allows us to skip validation when the file has not been changed since the last time it was validated.
a25c8a0
to
81b1712
Compare
Split out as |
Description
In draft mode so people can try it out. Feature complete but refactoring to do still.
This adds a new feature to
qmk compile
:-f <filter>
. A filter is a key/value pair that lets you select what to compile instead of using-kb all
. They key is dotted json notation, which you can get usingqmk info -f dotted -kb <keyboard>
, which makes use of the newdotted
format.Example #1, compile all arm boards:
Example #2, compile only arm boards that use the QMK_PROTON_C board definition:
Example #3, compile my keymap on every keyboard that supports rgblight:
The other major change this makes is to bypass the top-level
Makefile
to usebuild_keyboard.mk
directly. This is a stepping stone towards doingqmk multibuild
with a prettier UI.Changelist:
qmk compile
:--filter
qmk compile
:--target
build_keyboard.mk
directly instead of going throughMakefile
Known Bugs
(Checked means it's been fixed.)
qmk flash
is still the old behaviorTypes of Changes
Checklist