diff --git a/Makefile.uk b/Makefile.uk index 1a29585dcbc849bfa30daf67960d888ecf2c4e1b..8c124c1dee34c33a988a6b533d11df6471a5792c 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