summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8195/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8195/Makefile.mk')
-rw-r--r--src/soc/mediatek/mt8195/Makefile.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/soc/mediatek/mt8195/Makefile.mk b/src/soc/mediatek/mt8195/Makefile.mk
index d1c1920482..f91372aeb9 100644
--- a/src/soc/mediatek/mt8195/Makefile.mk
+++ b/src/soc/mediatek/mt8195/Makefile.mk
@@ -87,16 +87,14 @@ $(foreach fw, $(call strip_quotes,$(mcu-firmware-files)), \
$(eval $(fw)-file := $(MT8195_BLOB_DIR)/$(fw)) \
$(eval $(fw)-type := raw) \
$(eval $(fw)-compression := LZ4) \
- $(if $(wildcard $($(fw)-file)), $(eval cbfs-files-y += $(fw)), ) \
+ $(eval cbfs-files-y += $(fw)) \
)
DRAM_CBFS := $(CONFIG_CBFS_PREFIX)/dram
$(DRAM_CBFS)-file := $(MT8195_BLOB_DIR)/dram.elf
$(DRAM_CBFS)-type := stage
$(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
-ifneq ($(wildcard $($(DRAM_CBFS)-file)),)
- cbfs-files-y += $(DRAM_CBFS)
-endif
+cbfs-files-y += $(DRAM_CBFS)
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
./util/mtkheader/gen-bl-img.py mt8183 sf $< $@