From 9cbe51951de2b61b70c6b20be683628a3b7c26af Mon Sep 17 00:00:00 2001 From: Chad Froebel Date: Thu, 9 May 2013 11:58:55 -0400 Subject: [PATCH] Allow building with dlx. Use old ion api until we finish updating. --- Android.mk | 2 +- BoardConfigCommon.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index b85e0fd..88a2755 100644 --- a/Android.mk +++ b/Android.mk @@ -16,7 +16,7 @@ LOCAL_PATH := $(call my-dir) -ifneq ($(filter m7 m7wls,$(TARGET_DEVICE)),) +ifneq ($(filter m7 m7wls dlx,$(TARGET_DEVICE)),) include $(call all-subdir-makefiles,$(LOCAL_PATH)) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a1f1de8..d5d81b8 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -43,7 +43,7 @@ TARGET_CPU_SMP := true TARGET_USE_KRAIT_BIONIC_OPTIMIZATION := true # Flags -COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE -DNEW_ION_API=1 +COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE # QCOM hardware BOARD_USES_QCOM_HARDWARE := true @@ -60,6 +60,7 @@ USE_CAMERA_STUB := true USE_OPENGL_RENDERER := true TARGET_USES_C2D_COMPOSITION := true TARGET_USES_ION := true +BOARD_HAVE_OLD_ION_API := true TARGET_QCOM_DISPLAY_VARIANT := caf BOARD_EGL_CFG := device/htc/apq8064-common/configs/egl.cfg