summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8188/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8188/Makefile.mk')
-rw-r--r--src/soc/mediatek/mt8188/Makefile.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/soc/mediatek/mt8188/Makefile.mk b/src/soc/mediatek/mt8188/Makefile.mk
index 6a57da49db..727b3f8c7c 100644
--- a/src/soc/mediatek/mt8188/Makefile.mk
+++ b/src/soc/mediatek/mt8188/Makefile.mk
@@ -78,16 +78,14 @@ $(foreach fw, $(call strip_quotes,$(mcu-firmware-files)), \
$(eval $(fw)-file := $(MT8188_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 := $(MT8188_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 $< $@