Merge "build: use ar over gcc-ar" into integration

This commit is contained in:
Olivier Deprez 2024-09-06 09:02:56 +02:00 committed by TrustedFirmware Code Review
commit eb366ee769

View file

@ -289,7 +289,7 @@ ifndef toolchain-mk
guess-gnu-gcc-ld = $(1) guess-gnu-gcc-ld = $(1)
guess-gnu-gcc-oc = $(shell $(1) --print-prog-name objcopy 2>$(nul)) guess-gnu-gcc-oc = $(shell $(1) --print-prog-name objcopy 2>$(nul))
guess-gnu-gcc-od = $(shell $(1) --print-prog-name objdump 2>$(nul)) guess-gnu-gcc-od = $(shell $(1) --print-prog-name objdump 2>$(nul))
guess-gnu-gcc-ar = $(call which,$(call decompat-path,$(patsubst %$(call file-name,$(1)),%$(subst gcc,gcc-ar,$(call file-name,$(1))),$(call compat-path,$(1))))) guess-gnu-gcc-ar = $(shell $(1) --print-prog-name ar 2>$(nul))
define toolchain-warn-unrecognized define toolchain-warn-unrecognized
$$(warning ) $$(warning )