summaryrefslogtreecommitdiff
path: root/users/davidkristoffersen/rules.mk
diff options
context:
space:
mode:
authorDavid Kristoffersen <david.alta2010@gmail.com>2022-07-02 14:18:21 +0200
committerGitHub <noreply@github.com>2022-07-02 22:18:21 +1000
commita80943579c88255fff9de57978b8e577d184785c (patch)
treedba57e907e20f50f4c9cbee22866d99a620e5d0d /users/davidkristoffersen/rules.mk
parentef633cf46139282daaca77939937f7ba2519f56b (diff)
[Keymap] Add prog_qgmlwb keymap (#16890)
Diffstat (limited to 'users/davidkristoffersen/rules.mk')
-rw-r--r--users/davidkristoffersen/rules.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/users/davidkristoffersen/rules.mk b/users/davidkristoffersen/rules.mk
new file mode 100644
index 0000000000..5901b68540
--- /dev/null
+++ b/users/davidkristoffersen/rules.mk
@@ -0,0 +1,12 @@
+SRC += $(USER_PATH)/util/functions.c \
+ $(USER_PATH)/hardware/split_space.c \
+ $(USER_PATH)/macros/macros.c \
+ $(USER_PATH)/macros/debug.c \
+ $(USER_PATH)/macros/language.c
+
+# Firmware size optimizations
+ifeq ($(strip $(SIZE_OPTIMIZE)), yes)
+ CONSOLE_ENABLE := no # 1646: Console for debug
+ AUDIO_ENABLE := no # 8682: Audio output on port C6
+ LTO_ENABLE := yes # 2772: Link time optimization
+endif