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 @@ -54,18 +54,19 @@ CIRCUITPY_USB_CDC ?= 0
54
54
55
55
CIRCUITPY_ULAB = 0
56
56
57
- ifeq ($(TRANSLATION ) ,ja)
58
- ifeq ($(CIRCUITPY_DISPLAYIO ) ,1)
59
- RELEASE_NEEDS_CLEAN_BUILD = 1
57
+ # We don't have room for the fonts for terminalio for ja and ko
58
+ # so turn off terminalio, and if it's off and displayio is on,
59
+ # force a clean build.
60
+ # Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
61
+ # ifeq, because it's not set yet.
62
+ ifeq ($(TRANSLATION ) , ja)
60
63
CIRCUITPY_TERMINALIO = 0
61
- endif
64
+ RELEASE_NEEDS_CLEAN_BUILD = $( CIRCUITPY_DISPLAYIO )
62
65
endif
63
66
64
- ifeq ($(TRANSLATION ) ,ko)
65
- ifeq ($(CIRCUITPY_DISPLAYIO ) ,1)
66
- RELEASE_NEEDS_CLEAN_BUILD = 1
67
+ ifeq ($(TRANSLATION ) , ko)
67
68
CIRCUITPY_TERMINALIO = 0
68
- endif
69
+ RELEASE_NEEDS_CLEAN_BUILD = $( CIRCUITPY_DISPLAYIO )
69
70
endif
70
71
71
72
endif # samd21
You can’t perform that action at this time.
0 commit comments