fix logic for suppressing ja and ko clean builds when not necessary
This commit is contained in:
parent
83fcdba9c4
commit
934534c9ee
@ -54,18 +54,19 @@ CIRCUITPY_USB_CDC ?= 0
|
||||
|
||||
CIRCUITPY_ULAB = 0
|
||||
|
||||
# We don't have room for the fonts for terminalio for ja and ko
|
||||
# so turn off terminalio, and if it's off and displayio is on,
|
||||
# force a clean build.
|
||||
# Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
|
||||
# ifeq, because it's not set yet.
|
||||
ifeq ($(TRANSLATION), ja)
|
||||
ifeq ($(CIRCUITPY_DISPLAYIO),1)
|
||||
RELEASE_NEEDS_CLEAN_BUILD = 1
|
||||
CIRCUITPY_TERMINALIO = 0
|
||||
endif
|
||||
RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO)
|
||||
endif
|
||||
|
||||
ifeq ($(TRANSLATION), ko)
|
||||
ifeq ($(CIRCUITPY_DISPLAYIO),1)
|
||||
RELEASE_NEEDS_CLEAN_BUILD = 1
|
||||
CIRCUITPY_TERMINALIO = 0
|
||||
endif
|
||||
RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO)
|
||||
endif
|
||||
|
||||
endif # samd21
|
||||
|
Loading…
Reference in New Issue
Block a user