diff options
author | Zach White <skullydazed@gmail.com> | 2021-01-30 13:08:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 13:08:58 -0800 |
commit | d02c4c5241b92396c883b9efa6f140236e74fa2d (patch) | |
tree | 22493acec4fc67a4623d9b3d49deb21e63abb722 /build_keyboard.mk | |
parent | 92a787ca4cdecbbb7e2c1394d5192d5fa3dabf6d (diff) | |
download | qmk_firmware-d02c4c5241b92396c883b9efa6f140236e74fa2d.tar.gz qmk_firmware-d02c4c5241b92396c883b9efa6f140236e74fa2d.zip |
Add a <FEATURE>_SUPPORTED flag (#9058)
* Initial attempt at allowing keyboards to indicate what features they do not support
* try to use a for loop instead
* Update disable_features.mk
Co-authored-by: Drashna Jaelre <drashna@live.com>
* add a few more features
* remove my test fixture
* disable things that make all:all suggested"
Co-authored-by: Zach White <skullydazed@users.noreply.github.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index 2b725ea68..fdc17c907 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk | |||
@@ -283,6 +283,9 @@ ifneq ("$(wildcard $(USER_PATH)/config.h)","") | |||
283 | CONFIG_H += $(USER_PATH)/config.h | 283 | CONFIG_H += $(USER_PATH)/config.h |
284 | endif | 284 | endif |
285 | 285 | ||
286 | # Disable features that a keyboard doesn't support | ||
287 | -include disable_features.mk | ||
288 | |||
286 | # Object files directory | 289 | # Object files directory |
287 | # To put object files in current directory, use a dot (.), do NOT make | 290 | # To put object files in current directory, use a dot (.), do NOT make |
288 | # this an empty or blank macro! | 291 | # this an empty or blank macro! |