File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -60,18 +60,19 @@ CIRCUITPY_VECTORIO = 0
6060
6161MICROPY_PY_ASYNC_AWAIT = 0
6262
63- ifeq ($(TRANSLATION ) ,ja)
64- ifeq ($(CIRCUITPY_DISPLAYIO ) ,1)
65- RELEASE_NEEDS_CLEAN_BUILD = 1
63+ # We don't have room for the fonts for terminalio for ja and ko
64+ # so turn off terminalio, and if it's off and displayio is on,
65+ # force a clean build.
66+ # Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
67+ # ifeq, because it's not set yet.
68+ ifeq ($(TRANSLATION ) , ja)
6669CIRCUITPY_TERMINALIO = 0
67- endif
70+ RELEASE_NEEDS_CLEAN_BUILD = $( CIRCUITPY_DISPLAYIO )
6871endif
6972
70- ifeq ($(TRANSLATION ) ,ko)
71- ifeq ($(CIRCUITPY_DISPLAYIO ) ,1)
72- RELEASE_NEEDS_CLEAN_BUILD = 1
73+ ifeq ($(TRANSLATION ) , ko)
7374CIRCUITPY_TERMINALIO = 0
74- endif
75+ RELEASE_NEEDS_CLEAN_BUILD = $( CIRCUITPY_DISPLAYIO )
7576endif
7677
7778SUPEROPT_GC = 0
You can’t perform that action at this time.
0 commit comments