summaryrefslogtreecommitdiff
path: root/users/yanfali/rules.mk
diff options
context:
space:
mode:
authorWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
committerWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
commite7f4d56592b3975c38af329e77b4efd9108495e8 (patch)
tree0a416bccbf70bfdbdb9ffcdb3bf136b47378c014 /users/yanfali/rules.mk
parent71493b2f9bbd5f3d18373c518fa14ccafcbf48fc (diff)
parent8416a94ad27b3ff058576f09f35f0704a8b39ff3 (diff)
Merge remote-tracking branch 'upstream/master'
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