package/dav1d: disable tests and tools

Some tools need SDL2 which will break the build if SDL2 is found on host

Fixes:
 - http://autobuild.buildroot.org/results/4cea773805e62911019d0627dcdf5d17b71032b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2019-09-04 20:12:21 +02:00 committed by Peter Korsgaard
parent 0bd7fd495e
commit fc4ee4063b

View File

@ -10,6 +10,9 @@ DAV1D_SITE = https://code.videolan.org/videolan/dav1d/-/archive/$(DAV1D_VERSION)
DAV1D_LICENSE = BSD-2-Clause DAV1D_LICENSE = BSD-2-Clause
DAV1D_LICENSE_FILES = COPYING DAV1D_LICENSE_FILES = COPYING
DAV1D_INSTALL_STAGING = YES DAV1D_INSTALL_STAGING = YES
DAV1D_CONF_OPTS = \
-Denable_tests=false \
-Denable_tools=false
ifeq ($(BR2_i386)$(BR2_x86_64),y) ifeq ($(BR2_i386)$(BR2_x86_64),y)
DAV1D_DEPENDENCIES += host-nasm DAV1D_DEPENDENCIES += host-nasm
@ -17,7 +20,7 @@ endif
# ARM assembly requires v6+ ISA # ARM assembly requires v6+ ISA
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y) ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
DAV1D_CONF_OPTS = -Denable_asm=false DAV1D_CONF_OPTS += -Denable_asm=false
endif endif
# Uses __atomic_fetch_add_4 # Uses __atomic_fetch_add_4