summaryrefslogtreecommitdiff
path: root/keyboards/converter/sun_usb/post_rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/sun_usb/post_rules.mk')
-rw-r--r--keyboards/converter/sun_usb/post_rules.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/converter/sun_usb/post_rules.mk b/keyboards/converter/sun_usb/post_rules.mk
new file mode 100644
index 0000000000..2ea1f0a5bf
--- /dev/null
+++ b/keyboards/converter/sun_usb/post_rules.mk
@@ -0,0 +1,6 @@
+ifdef HARDWARE_SERIAL
+ SRC += protocol/serial_uart.c
+ OPT_DEFS += -DHARDWARE_SERIAL
+else
+ SRC += protocol/serial_soft.c
+endif