]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/jamvm: restrict on what MIPS procs are allowed
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 13 May 2018 10:34:38 +0000 (12:34 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 13 May 2018 19:47:34 +0000 (21:47 +0200)
jamvm uses deprecated opcodes to store/load words from the FPU
coprocessor registers, and in so doing, expects those registers
to be 32-bit.

Thus, restrict the conditions under which jamvm is available
under mips.

Fixes:
    http://autobuild.buildroot.org/results/f76/f76e10e4c1ce25b42fb2e5d2012adf2eaf1b2fe1/
    http://autobuild.buildroot.org/results/162/162d0e41dc9bc6d6f6594ccee0cb4217067fc71f/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/jamvm/Config.in

index 51d5da03b80ec33ed13e36c98756e8300e4affc7..7717ccaadb798af0ef430d1f15e9a6d94abc18e7 100644 (file)
@@ -2,7 +2,8 @@ config BR2_PACKAGE_JAMVM_ARCH_SUPPORTS
        bool
        default y if BR2_arm || BR2_armeb
        default y if BR2_i386 || BR2_x86_64
-       default y if BR2_mips || BR2_mipsel
+       default y if (BR2_mips || BR2_mipsel) \
+               && (BR2_MIPS_FP32_MODE_32 || BR2_MIPS_SOFT_FLOAT)
        default y if BR2_powerpc
 
 config BR2_PACKAGE_JAMVM