From ac98e808e4485cc93b5456f57d12cc247926c701 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 13 Aug 2022 10:46:59 +0200 Subject: [PATCH] package/ola: ftdidmx needs gcc >= 4.9 Fix the following build failure raised since re-introduction of the package in commit 16ff948444c3978d63f483344a3d92d994c64312: Makefile:575: *** libusb is in the dependency chain of libftdi1 that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop. Fixes: - http://autobuild.buildroot.org/results/f65baf4dd4c9a313745cdb9aefad2eae7a295469 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/ola/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/ola/Config.in b/package/ola/Config.in index cfca09a936..701083b5d3 100644 --- a/package/ola/Config.in +++ b/package/ola/Config.in @@ -86,10 +86,14 @@ config BR2_PACKAGE_OLA_PLUGIN_ESPNET config BR2_PACKAGE_OLA_PLUGIN_FTDIDMX bool "ftdidmx" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi1 -> libusb select BR2_PACKAGE_LIBFTDI1 help Build FTDI USB DMX plugin for OLA. +comment "ftdidmx needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + config BR2_PACKAGE_OLA_PLUGIN_GPIO bool "GPIO" help