summaryrefslogtreecommitdiff
path: root/users/yanfali/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/yanfali/rules.mk')
-rw-r--r--users/yanfali/rules.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/users/yanfali/rules.mk b/users/yanfali/rules.mk
new file mode 100644
index 0000000000..c43f298588
--- /dev/null
+++ b/users/yanfali/rules.mk
@@ -0,0 +1,16 @@
+BOOTMAGIC = lite
+DYNAMIC_KEYMAP_ENABLE = no
+CONSOLE_ENABLE = yes
+COMMAND_ENABLE = yes
+LINK_TIME_OPTIMIZATION_ENABLE = yes
+
+# only enable audio on specific boards
+ifeq ($(strip $(KEYBOARD)), maartenwut/plain60)
+ AUDIO_ENABLE = yes
+else
+ AUDIO_ENABLE = no
+endif
+
+ifeq ($(strip $(KEYBOARD)), fruity60)
+ COMMAND_ENABLE = no
+endif