Minor redundancy fix

This commit is contained in:
Lucian Copeland 2020-04-23 17:12:55 -04:00
parent b6f07a1c41
commit bd0df9e3bc
2 changed files with 3 additions and 12 deletions

View File

@ -64,22 +64,12 @@ ifndef CIRCUITPY_SAMD
CIRCUITPY_SAMD = 1
endif
ifndef CIRCUITPY_ULAB
ifneq ($(CIRCUITPY_FULL_BUILD),0)
CIRCUITPY_ULAB = 1
endif
endif
ifndef CIRCUITPY_RGBMATRIX
ifneq ($(CIRCUITPY_FULL_BUILD),0)
CIRCUITPY_RGBMATRIX = 1
endif
CIRCUITPY_RGBMATRIX = $(CIRCUITPY_FULL_BUILD)
endif
ifndef CIRCUITPY_FRAMEBUFFERIO
ifneq ($(CIRCUITPY_FULL_BUILD),0)
CIRCUITPY_FRAMEBUFFERIO = 1
endif
CIRCUITPY_FRAMEBUFFERIO = $(CIRCUITPY_FULL_BUILD)
endif
endif # samd51

View File

@ -319,6 +319,7 @@ CFLAGS += -DCIRCUITPY_SERIAL_UART=$(CIRCUITPY_SERIAL_UART)
ifndef CIRCUITPY_ULAB
CIRCUITPY_ULAB = $(CIRCUITPY_FULL_BUILD)
endif
CFLAGS += -DCIRCUITPY_ULAB=$(CIRCUITPY_ULAB)
# Enabled micropython.native decorator (experimental)
ifndef CIRCUITPY_ENABLE_MPY_NATIVE