package/dav1d: disable tests and tools
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 4 Sep 2019 18:12:21 +0000 (20:12 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Sep 2019 19:44:48 +0000 (21:44 +0200)
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>
package/dav1d/dav1d.mk

index 6c08694f1576327f14583168975f757a5864a359..0e9c79bd34208ac74ee83d4aea59111433f9aab7 100644 (file)
@@ -10,6 +10,9 @@ DAV1D_SITE = https://code.videolan.org/videolan/dav1d/-/archive/$(DAV1D_VERSION)
 DAV1D_LICENSE = BSD-2-Clause
 DAV1D_LICENSE_FILES = COPYING
 DAV1D_INSTALL_STAGING = YES
+DAV1D_CONF_OPTS = \
+       -Denable_tests=false \
+       -Denable_tools=false
 
 ifeq ($(BR2_i386)$(BR2_x86_64),y)
 DAV1D_DEPENDENCIES += host-nasm
@@ -17,7 +20,7 @@ endif
 
 # ARM assembly requires v6+ ISA
 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
 
 # Uses __atomic_fetch_add_4