summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7280/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/sc7280/Makefile.inc')
-rw-r--r--src/soc/qualcomm/sc7280/Makefile.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/soc/qualcomm/sc7280/Makefile.inc b/src/soc/qualcomm/sc7280/Makefile.inc
index 440148494d..ae23f45ede 100644
--- a/src/soc/qualcomm/sc7280/Makefile.inc
+++ b/src/soc/qualcomm/sc7280/Makefile.inc
@@ -62,10 +62,11 @@ ramstage-$(CONFIG_SDHCI_CONTROLLER) += sdhci.c ../common/storage/sdhci_msm.c
CPPFLAGS_common += -Isrc/soc/qualcomm/sc7280/include
CPPFLAGS_common += -Isrc/soc/qualcomm/common/include
-SC7280_BLOB := $(top)/3rdparty/qc_blobs/sc7280
+BL31_MAKEARGS += PLAT=sc7280
################################################################################
-BL31_MAKEARGS += PLAT=sc7280
+ifeq ($(CONFIG_USE_QC_BLOBS),y)
+SC7280_BLOB := $(top)/3rdparty/qc_blobs/sc7280
ifeq ($(CONFIG_QC_SDI_ENABLE),y)
BL31_MAKEARGS += QTI_SDI_BUILD=1
@@ -175,3 +176,5 @@ $(GSI_FW_CBFS)-compression := $(CBFS_COMPRESS_FLAG)
cbfs-files-y += $(GSI_FW_CBFS)
endif
+
+endif