package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 11 Nov 2017 16:22:41 +0000 (17:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Nov 2017 22:20:42 +0000 (23:20 +0100)
Suggested by Arnout:
http://lists.busybox.net/pipermail/buildroot/2017-November/206631.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ffmpeg/Config.in

index ed87ddd4929da214746294591c8280c4924509d7..17a4881348c1e98dba36891ef5d92fb95a2dec32 100644 (file)
@@ -1,15 +1,19 @@
 config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
        bool
+       default y
        # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2
+       depends on !BR2_nios
        # No support for ARMv7-M in the ARM assembly logic
+       depends on !BR2_ARM_CPU_ARMV7M
        # Microblaze build affected by gcc PR71124 (infinite loop)
+       depends on !BR2_microblaze
        # m68k coldfire causes a build failure, because the check for
        # atomics (atomic_store) succeeds, which causes ffmpeg to
        # think atomic intrinsics are available, while they are
        # not. See https://patchwork.ozlabs.org/patch/756664/ and
        # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 for more
        # details.
-       default y if !BR2_nios2 && !BR2_ARM_CPU_ARMV7M && !BR2_microblaze && !BR2_m68k_cf
+       depends on !BR2_m68k_cf
 
 menuconfig BR2_PACKAGE_FFMPEG
        bool "ffmpeg"