[Buildroot] [PATCH 1/1] package/dav1d: disable tests and tools

Fabrice Fontaine fontaine.fabrice at gmail.com
Wed Sep 4 18:12:21 UTC 2019


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 at gmail.com>
---
 package/dav1d/dav1d.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/dav1d/dav1d.mk b/package/dav1d/dav1d.mk
index 6c08694f15..0e9c79bd34 100644
--- a/package/dav1d/dav1d.mk
+++ b/package/dav1d/dav1d.mk
@@ -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
-- 
2.23.0.rc1



More information about the buildroot mailing list