Fixes from PR feedback: Test DISABLE_FILESYSTEM after it set.
53f4eeaf8b (r899419987)
This commit is contained in:
parent
53f4eeaf8b
commit
3c58870816
@ -18,12 +18,6 @@ SRC_SUPERVISOR = \
|
|||||||
supervisor/shared/translate/translate.c \
|
supervisor/shared/translate/translate.c \
|
||||||
supervisor/shared/workflow.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)
|
NO_USB ?= $(wildcard supervisor/usb.c)
|
||||||
|
|
||||||
INTERNAL_FLASH_FILESYSTEM ?= 0
|
INTERNAL_FLASH_FILESYSTEM ?= 0
|
||||||
@ -38,6 +32,12 @@ CFLAGS += -DSPI_FLASH_FILESYSTEM=$(SPI_FLASH_FILESYSTEM)
|
|||||||
DISABLE_FILESYSTEM ?= 0
|
DISABLE_FILESYSTEM ?= 0
|
||||||
CFLAGS += -DDISABLE_FILESYSTEM=$(DISABLE_FILESYSTEM)
|
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)
|
ifeq ($(CIRCUITPY_BLEIO),1)
|
||||||
SRC_SUPERVISOR += supervisor/shared/bluetooth/bluetooth.c
|
SRC_SUPERVISOR += supervisor/shared/bluetooth/bluetooth.c
|
||||||
CIRCUITPY_CREATOR_ID ?= $(USB_VID)
|
CIRCUITPY_CREATOR_ID ?= $(USB_VID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user