build: Add more targets for which toolchain is not checked

This commit is contained in:
mintsuki 2022-01-21 03:51:43 +01:00
parent d1cc97006c
commit 48d8b59986
1 changed files with 10 additions and 0 deletions

View File

@ -95,6 +95,11 @@ ifneq ($(MAKECMDGOALS), distclean)
ifneq ($(MAKECMDGOALS), maintainer-clean)
ifneq ($(MAKECMDGOALS), uninstall)
ifneq ($(MAKECMDGOALS), dist)
ifneq ($(MAKECMDGOALS), limine-install)
ifneq ($(MAKECMDGOALS), limine-eltorito-efi)
ifneq ($(MAKECMDGOALS), install)
ifneq ($(MAKECMDGOALS), install-data)
ifneq ($(MAKECMDGOALS), install-strip)
override USING_GNU_LD := $(shell PATH='$(call SHESCAPE,$(PATH))' $(LIMINE_LD) --version | grep Binutils >/dev/null && echo 1)
ifneq ($(USING_GNU_LD), 1)
@ -112,6 +117,11 @@ $(error No suitable x86_64 C compiler found, please install an x86_64 C toolchai
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif