project,target: msm8953: check for ENABLE_DISPLAY flag
The flag can be set through device's BoardConfig.mk var BOOTLOADER_DISABLE_DISPLAY
Change-Id: I14aa8c51ad01b7810b3a46b9cd2e3bfd44421cd4
diff --git a/project/msm8953.mk b/project/msm8953.mk
index 126c7ba..2359c74 100644
--- a/project/msm8953.mk
+++ b/project/msm8953.mk
@@ -20,10 +20,12 @@
else
ENABLE_SECAPP_LOADER := 1
ENABLE_RPMB_SUPPORT := 1
+ifneq (,$(findstring DISPLAY_SPLASH_SCREEN,$(DEFINES)))
#enable fbcon display menu
ENABLE_FBCON_DISPLAY_MSG := 1
endif
endif
+endif
ENABLE_SMD_SUPPORT := 1
#ENABLE_PWM_SUPPORT := true
@@ -107,9 +109,11 @@
ENABLE_REBOOT_MODULE := 1
ifeq ($(VERIFIED_BOOT),1)
+ifneq (,$(findstring DISPLAY_SPLASH_SCREEN,$(DEFINES)))
#Enable MDTP feature
ENABLE_MDTP_SUPPORT := 1
endif
+endif
ifeq ($(ENABLE_MDTP_SUPPORT),1)
DEFINES += MDTP_SUPPORT=1