Skip to content

Commit

Permalink
build: Fix QCOM_BSP_LEGACY cflags
Browse files Browse the repository at this point in the history
Change-Id: I880f32892d9e082e3ba92878414f3cb3c6f08066
  • Loading branch information
mikeNG committed Dec 12, 2014
1 parent 5e2a675 commit 599a693
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/qcom_target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ define qcom-set-path-variant
$(call project-set-path-variant,qcom-$(2),TARGET_QCOM_$(1)_VARIANT,hardware/qcom/$(2))
endef

# Enable DirectTrack on QCOM legacy boards
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)

TARGET_GLOBAL_CFLAGS += -DQCOM_HARDWARE
Expand All @@ -23,9 +22,8 @@ ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
TARGET_GLOBAL_CFLAGS += -DQCOM_DIRECTTRACK
TARGET_GLOBAL_CPPFLAGS += -DQCOM_DIRECTTRACK
endif
# Enable legacy graphics functions
LOCAL_GLOBAL_CFLAGS += -DQCOM_BSP_LEGACY
LOCAL_GLOBAL_CPPFLAGS += -DQCOM_BSP_LEGACY
# Enable legacy graphics functions
TARGET_USES_QCOM_BSP_LEGACY := true
endif

$(call project-set-path,qcom-audio,hardware/qcom/audio-caf/$(TARGET_BOARD_PLATFORM))
Expand Down

0 comments on commit 599a693

Please sign in to comment.