Merge pull request #6492 from EmergReanimator/disabled_fs_support
Fixed build issue when DISABLE_FILESYSTEM is set.
This commit is contained in:
commit
f9bbd0559a
@ -18,12 +18,6 @@ SRC_SUPERVISOR = \
|
||||
supervisor/shared/translate/translate.c \
|
||||
supervisor/shared/workflow.c
|
||||
|
||||
ifeq ($(DISABLE_FILESYSTEM),1)
|
||||
SRC_SUPERVISOR += supervisor/stub/filesystem.c
|
||||
else
|
||||
SRC_SUPERVISOR += supervisor/shared/filesystem.c
|
||||
endif
|
||||
|
||||
NO_USB ?= $(wildcard supervisor/usb.c)
|
||||
|
||||
INTERNAL_FLASH_FILESYSTEM ?= 0
|
||||
@ -35,6 +29,15 @@ CFLAGS += -DQSPI_FLASH_FILESYSTEM=$(QSPI_FLASH_FILESYSTEM)
|
||||
SPI_FLASH_FILESYSTEM ?= 0
|
||||
CFLAGS += -DSPI_FLASH_FILESYSTEM=$(SPI_FLASH_FILESYSTEM)
|
||||
|
||||
DISABLE_FILESYSTEM ?= 0
|
||||
CFLAGS += -DDISABLE_FILESYSTEM=$(DISABLE_FILESYSTEM)
|
||||
|
||||
ifeq ($(DISABLE_FILESYSTEM),1)
|
||||
SRC_SUPERVISOR += supervisor/stub/filesystem.c
|
||||
else
|
||||
SRC_SUPERVISOR += supervisor/shared/filesystem.c
|
||||
endif
|
||||
|
||||
ifeq ($(CIRCUITPY_BLEIO),1)
|
||||
SRC_SUPERVISOR += supervisor/shared/bluetooth/bluetooth.c
|
||||
CIRCUITPY_CREATOR_ID ?= $(USB_VID)
|
||||
|
Loading…
Reference in New Issue
Block a user