From fca96b1c8158db9a6fd9ab5118b9f4f1424a181f Mon Sep 17 00:00:00 2001 From: wangguokun Date: Thu, 18 Jul 2024 18:25:17 +0800 Subject: [PATCH] lib/compiler-rt: remove unconditional download of source code during build process Signed-off-by: wangguokun --- Makefile.uk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.uk b/Makefile.uk index 1a29585..8c124c1 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -44,8 +44,11 @@ $(eval $(call addlib_s,libcompiler_rt,$(CONFIG_LIBCOMPILER_RT))) LIBCOMPILER_RT_VERSION=14.0.6 LIBCOMPILER_RT_URL=https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LIBCOMPILER_RT_VERSION)/compiler-rt-$(LIBCOMPILER_RT_VERSION).src.tar.xz LIBCOMPILER_RT_PATCHDIR=$(LIBCOMPILER_RT_BASE)/patches + +ifeq ($(CONFIG_LIBCOMPILER_RT),y) $(eval $(call fetch,libcompiler_rt,$(LIBCOMPILER_RT_URL))) $(eval $(call patch,libcompiler_rt,$(LIBCOMPILER_RT_PATCHDIR),compiler-rt-$(LIBCOMPILER_RT_VERSION).src)) +endif ################################################################################ # Helpers -- Gitee