From 3c5b47bb32acc2204133070cc26c23323dcdb5f9 Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 1 Dec 2021 07:21:18 +0100 Subject: [PATCH] config/functions: fix file get_handler_support with manual toolchain Currently building a package with GET_HANDLER_SUPPORT="file" PKG_URL="file:///some_path_to_file_with_sources" throws an error ERROR: using manual toolchain but PKG_TAR_COPY_OPTS is configured. --- config/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/functions b/config/functions index 708aa9593f..a070bd77d9 100644 --- a/config/functions +++ b/config/functions @@ -218,7 +218,7 @@ check_toolchain_config() { toolchain="CMAKE" fi for var in "${!PKG_@}"; do - if [[ "${var}" =~ INSTALL_OPTS_ || "${var}" =~ _MAKE_OPTS ]]; then + if [[ "${var}" =~ INSTALL_OPTS_ || "${var}" =~ _MAKE_OPTS || "${var}" =~ _TAR_COPY_OPTS ]]; then continue fi if [[ "${var}" =~ _OPTS_${target}$ \