qcom: copybit: build proper for qsd8k

Change-Id: Ic4ab7ec7105e45b8e09b232ae8096f3c7ea75ede
This commit is contained in:
Andrew Sutherland 2012-02-06 04:27:53 +00:00
parent 3ca3cb138b
commit a9a3796c03

View File

@ -33,6 +33,18 @@ ifeq ($(TARGET_USES_ION),true)
endif
else
ifneq ($(TARGET_BOARD_PLATFORM),msm7x30)
ifeq ($(TARGET_BOARD_PLATFORM),qsd8k)
include $(CLEAR_VARS)
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_SRC_FILES := software_converter.cpp copybit.cpp
LOCAL_MODULE := copybit.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
LOCAL_CFLAGS += -D__ARM_HAVE_NEON -DCOPYBIT_QSD8K=1
include $(BUILD_SHARED_LIBRARY)
else
include $(CLEAR_VARS)
ifeq ($(ARCH_ARM_HAVE_NEON),true)
LOCAL_CFLAGS += -D__ARM_HAVE_NEON
@ -57,4 +69,5 @@ else
LOCAL_CFLAGS += -DCOPYBIT_MSM7K=1
include $(BUILD_SHARED_LIBRARY)
endif
endif
endif