summaryrefslogtreecommitdiff
path: root/supervisor/supervisor.mk
diff options
context:
space:
mode:
authorHierophect <hierophect@gmail.com>2019-07-22 12:58:28 -0400
committerHierophect <hierophect@gmail.com>2019-07-22 12:58:28 -0400
commit58630a844ad1db7d30671a3cb18f433e015a40a3 (patch)
tree4e481c7c9fd007faaa98f879724a89610cf870b7 /supervisor/supervisor.mk
parent10b9ca5a92d876e6a3f0e6fb2fb0c2b317c5046a (diff)
Add feature conditionals and clean up
Diffstat (limited to 'supervisor/supervisor.mk')
-rw-r--r--supervisor/supervisor.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/supervisor/supervisor.mk b/supervisor/supervisor.mk
index 4ea3a8260..b4d7e9d50 100644
--- a/supervisor/supervisor.mk
+++ b/supervisor/supervisor.mk
@@ -2,20 +2,17 @@ SRC_SUPERVISOR = \
main.c \
supervisor/port.c \
supervisor/shared/autoreload.c \
+ supervisor/shared/display.c \
supervisor/shared/filesystem.c \
supervisor/shared/flash.c \
supervisor/shared/micropython.c \
supervisor/shared/rgb_led_status.c \
+ supervisor/shared/safe_mode.c \
supervisor/shared/stack.c \
+ supervisor/shared/status_leds.c \
supervisor/shared/safe_mode.c \
- supervisor/shared/translate.c
-
-#bug, not conditional
-# supervisor/shared/display.c \
-# supervisor/shared/status_leds.c \
-# supervisor/shared/safe_mode.c \
-
-
+ supervisor/shared/translate.c \
+
ifndef $(NO_USB)
NO_USB = $(wildcard supervisor/usb.c)
endif