summaryrefslogtreecommitdiff
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-01-30 13:08:58 -0800
committerGitHub <noreply@github.com>2021-01-30 13:08:58 -0800
commitd02c4c5241b92396c883b9efa6f140236e74fa2d (patch)
tree22493acec4fc67a4623d9b3d49deb21e63abb722 /build_keyboard.mk
parent92a787ca4cdecbbb7e2c1394d5192d5fa3dabf6d (diff)
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.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 2b725ea68d..fdc17c907d 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -283,6 +283,9 @@ ifneq ("$(wildcard $(USER_PATH)/config.h)","")
CONFIG_H += $(USER_PATH)/config.h
endif
+# Disable features that a keyboard doesn't support
+-include disable_features.mk
+
# Object files directory
# To put object files in current directory, use a dot (.), do NOT make
# this an empty or blank macro!