Update BoardConfigCommon.mk

add QCOM BSP Support When trying to build display-caf we need BSP
- fix the graphics_overlay.c error with the new graphics.c




If building CAF change:
TARGET_QCOM_DISPLAY_VARIANT    from legacy to caf


ADD lines:
# Qcom BSP (Board Support Package)
TARGET_USES_QCOM_BSP := true
COMMON_GLOBAL_CFLAGS += -DQCOM_BSP


REMOVE the following lines:
-DREFRESH_RATE=60 -DHTC_RGBA_8888_OFFSET
COMMON_GLOBAL_CFLAGS += -DGENLOCK_IOC_DREADLOCK -DUSE_GENLOCK -DDONT_USE_FENCE_SYNC
COMMON_GLOBAL_CFLAGS += -DFORCE_SCREENSHOT_CPU_PATH
TARGET_NO_HW_VSYNC := true
TARGET_USES_ION := true
TARGET_USES_POST_PROCESSING := true
BOARD_EGL_NEEDS_LEGACY_FB := true
TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true
# Bug
BOARD_EGL_WORKAROUND_BUG_10194508 := true




We connot build our legacy sources with the Qcom BSP lines added in BoardConfigCommon.mk at the same time
watch this code review for now because there may be a fix but im not completely sure if its related
http://review.cyanogenmod.org/#/c/63900/