Skip to content

Commit

Permalink
Fill out some qcom related build flags
Browse files Browse the repository at this point in the history
Change-Id: Ie3ef85f1ae8afcd931fdddcd1e6eb61511a380d1
  • Loading branch information
mdmower committed Aug 31, 2014
1 parent a6461f5 commit 645c9e1
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions BoardConfig.mk
Expand Up @@ -27,12 +27,26 @@ TARGET_KERNEL_CONFIG := jet_defconfig
TARGET_KERNEL_SOURCE := kernel/htc/msm8960
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01700000

# Power
TARGET_POWERHAL_VARIANT := cm
# QCOM hardware
BOARD_USES_QCOM_HARDWARE := true
TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
TARGET_QCOM_AUDIO_VARIANT := caf
TARGET_QCOM_DISPLAY_VARIANT := caf
TARGET_QCOM_MEDIA_VARIANT := caf
TARGET_USES_QCOM_BSP := true

# Flags
COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE
COMMON_GLOBAL_CFLAGS += -DQCOM_BSP
COMMON_GLOBAL_CFLAGS += -DHTCLOG

# Graphics
USE_OPENGL_RENDERER := true
TARGET_DISPLAY_USE_RETIRE_FENCE := true
TARGET_USES_C2D_COMPOSITION := true
TARGET_USES_ION := true
BOARD_EGL_CFG := device/htc/m7wlv/configs/egl.cfg

# Power
TARGET_POWERHAL_VARIANT := cm

# Filesystem (cat /proc/emmc)
TARGET_USERIMAGES_USE_EXT4 := true
Expand Down

0 comments on commit 645c9e1

Please sign in to comment.