Commit
70bac65 (Split off functionality that depends on libunwind)
in lib-compiler-rt removed the circular dependency between it and
libunwind.
This change thus removes the workaround check for lib-compiler-rt and
more cleanly expresses it through Kconfig `select`.
Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #10
bool "libunwind - unwinder"
select LIBNOLIBC if !HAVE_LIBC
select LIBCXXABI
+ select LIBCOMPILER_RT
default n
################################################################################
$(eval $(call addlib_s,libunwind,$(CONFIG_LIBUNWIND)))
-ifeq ($(CONFIG_LIBUNWIND),y)
-ifneq ($(CONFIG_LIBCOMPILER_RT),y)
-$(error Require libcompiler_rt)
-endif
-endif
-
################################################################################
# Sources
################################################################################