Skip to content

Commit 3c58870

Browse files
1 parent 53f4eea commit 3c58870

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

supervisor/supervisor.mk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ SRC_SUPERVISOR = \
1818
supervisor/shared/translate/translate.c \
1919
supervisor/shared/workflow.c
2020

21-
ifeq ($(DISABLE_FILESYSTEM),1)
22-
SRC_SUPERVISOR += supervisor/stub/filesystem.c
23-
else
24-
SRC_SUPERVISOR += supervisor/shared/filesystem.c
25-
endif
26-
2721
NO_USB ?= $(wildcard supervisor/usb.c)
2822

2923
INTERNAL_FLASH_FILESYSTEM ?= 0
@@ -38,6 +32,12 @@ CFLAGS += -DSPI_FLASH_FILESYSTEM=$(SPI_FLASH_FILESYSTEM)
3832
DISABLE_FILESYSTEM ?= 0
3933
CFLAGS += -DDISABLE_FILESYSTEM=$(DISABLE_FILESYSTEM)
4034

35+
ifeq ($(DISABLE_FILESYSTEM),1)
36+
SRC_SUPERVISOR += supervisor/stub/filesystem.c
37+
else
38+
SRC_SUPERVISOR += supervisor/shared/filesystem.c
39+
endif
40+
4141
ifeq ($(CIRCUITPY_BLEIO),1)
4242
SRC_SUPERVISOR += supervisor/shared/bluetooth/bluetooth.c
4343
CIRCUITPY_CREATOR_ID ?= $(USB_VID)

0 commit comments

Comments
 (0)