diff options
author | Chris Packham <judge.packham@gmail.com> | 2015-09-24 11:43:49 +1200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-09-24 09:51:20 +0200 |
commit | 4d061220ae85e8f4cae2ebc490f687385e40a677 (patch) | |
tree | 8517643b63665198734e7908e00595807fffa5d1 /package/micropython/micropython.mk | |
parent | 2c5cac617999b55e10a3110558063d6af0c4c4a5 (diff) | |
download | buildroot-4d061220ae85e8f4cae2ebc490f687385e40a677.tar.gz buildroot-4d061220ae85e8f4cae2ebc490f687385e40a677.zip |
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>
Diffstat (limited to 'package/micropython/micropython.mk')
-rw-r--r-- | package/micropython/micropython.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/micropython/micropython.mk b/package/micropython/micropython.mk index 7ae88a05e4..1358864cc9 100644 --- a/package/micropython/micropython.mk +++ b/package/micropython/micropython.mk @@ -15,7 +15,7 @@ MICROPYTHON_PATCH = \ # Use fallback implementation for exception handling on architectures that don't # 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 endif |