build: Fix wrong variable used on 'which' invocation in decompressor Makefile

This commit is contained in:
mintsuki 2021-04-09 02:52:23 +02:00
parent c3481e12cc
commit 1a7736b295
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ TOOLCHAIN_OBJCOPY = $(TOOLCHAIN)-objcopy
ifeq ($(shell which $(TOOLCHAIN_CC)), ) ifeq ($(shell which $(TOOLCHAIN_CC)), )
TOOLCHAIN_CC := gcc TOOLCHAIN_CC := gcc
endif endif
ifeq ($(shell which $(OBJCOPY)), ) ifeq ($(shell which $(TOOLCHAIN_OBJCOPY)), )
TOOLCHAIN_OBJCOPY := objcopy TOOLCHAIN_OBJCOPY := objcopy
endif endif