mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
micropython: Invert fallback detection logic
Rather than specifying architectures that do not have explicit support in micropython invert the logic and set MICROPY_GCREGS_SETJMP=1 if the architecture does not have explicit support. MIPS is listed as being supported but this support consists of automatically defining MICROPY_GCREGS_SETJMP 1 based on __mips__ being defined. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2c5cac6179
commit
4d061220ae
@ -15,7 +15,7 @@ MICROPYTHON_PATCH = \
|
|||||||
|
|
||||||
# Use fallback implementation for exception handling on architectures that don't
|
# Use fallback implementation for exception handling on architectures that don't
|
||||||
# have explicit support.
|
# have explicit support.
|
||||||
ifeq ($(BR2_powerpc)$(BR2_sh)$(BR2_xtensa),y)
|
ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_arm)$(BR2_armeb),)
|
||||||
MICROPYTHON_CFLAGS = -DMICROPY_GCREGS_SETJMP=1
|
MICROPYTHON_CFLAGS = -DMICROPY_GCREGS_SETJMP=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user