target: msm8952: Define display specific configurations in makefile.

Change to define display specific configurations in makefile,
instead of target rules. This is required as project specific rules,
are dependent on target specific rules, but not included in that
order.

Change-Id: I181fd760f1988d72b029036fafe684aaec8d73d0
diff --git a/project/msm8952.mk b/project/msm8952.mk
index ee9063c..817499e 100644
--- a/project/msm8952.mk
+++ b/project/msm8952.mk
@@ -14,6 +14,10 @@
 
 EMMC_BOOT := 1
 
+ifeq ($(ENABLE_DISPLAY),1)
+DEFINES += ENABLE_DISPLAY=1
+DEFINES += DISPLAY_SPLASH_SCREEN=1
+endif
 
 ifeq ($(VERIFIED_BOOT),1)
 ENABLE_MDTP_SUPPORT := 1
diff --git a/target/msm8952/rules.mk b/target/msm8952/rules.mk
index d86ea01..ccc7e92 100644
--- a/target/msm8952/rules.mk
+++ b/target/msm8952/rules.mk
@@ -18,10 +18,6 @@
 SCRATCH_SIZE     := 511
 SCRATCH_SIZE_512 := 234
 
-ifeq ($(ENABLE_DISPLAY),1)
-DEFINES += ENABLE_DISPLAY=1
-DEFINES += DISPLAY_SPLASH_SCREEN=1
-endif
 DEFINES += DISPLAY_TYPE_MIPI=1
 DEFINES += DISPLAY_TYPE_DSI6G=1