summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/micropython/micropython.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/micropython/micropython.mk b/package/micropython/micropython.mk
index 2d7c924070..62668828af 100644
--- a/package/micropython/micropython.mk
+++ b/package/micropython/micropython.mk
@@ -12,7 +12,7 @@ MICROPYTHON_DEPENDENCIES = host-pkgconf libffi
# Use fallback implementation for exception handling on architectures that don't
# have explicit support.
-ifeq ($(BR2_powerpc),y)
+ifeq ($(BR2_powerpc)$(BR2_sh)$(BR2_xtensa),y)
MICROPYTHON_CFLAGS = -DMICROPY_GCREGS_SETJMP=1
endif
OpenPOWER on IntegriCloud