X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752..a991bd8d3e7fe02dbca0644054bab73c5b75324a:/san/Makefile diff --git a/san/Makefile b/san/Makefile index c22e3a9d1..44c8554d8 100644 --- a/san/Makefile +++ b/san/Makefile @@ -58,6 +58,7 @@ SYMROOT_KEXT += $(SYMROOT_KEXT_PATH)/Kasan_kasan SYMBOL_SET_BUILD += $(OBJPATH)/Kasan_kasan.symbolset endif +ifneq ($(RC_ProjectName),xnu_libraries) # Our external dependency on allsymbols is fine because this runs in a later phase (config_install vs. config_all) $(OBJPATH)/%.symbolset: $(SOURCE)/%.exports @$(LOG_SYMBOLSET) "$*$(Color0) ($(ColorLF)$(CURRENT_ARCH_CONFIG_LC)$(Color0))" @@ -85,7 +86,9 @@ $(SYMROOT_KEXT): $(SYMBOL_SET_BUILD) ALWAYS exit $$cmdstatus do_config_install:: $(SYMROOT_KEXT) $(DSTROOT_KEXT) - +else +# We are building XNU as a static library - no need for the symbol kexts +endif # Install helper scripts