From: Ethan Chen Date: Tue, 27 Aug 2013 20:48:05 +0000 (-0700) Subject: exynos: only build for insignal SLSI variant X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4e885a84a2cf2913e290397259440f41096e5ea;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_exynos.git exynos: only build for insignal SLSI variant --- diff --git a/Android.mk b/Android.mk index 078e3b5..9c2d0c3 100644 --- a/Android.mk +++ b/Android.mk @@ -14,6 +14,8 @@ # limitations under the License. # +ifeq ($(TARGET_SLSI_VARIANT),insignal) + common_exynos_dirs := \ libstagefrighthw \ libcsc \ @@ -22,3 +24,5 @@ common_exynos_dirs := \ libfimg4x include $(call all-named-subdir-makefiles,$(common_exynos_dirs)) + +endif diff --git a/libcsc/Android.mk b/libcsc/Android.mk index b46f3db..00b1f5b 100644 --- a/libcsc/Android.mk +++ b/libcsc/Android.mk @@ -1,5 +1,7 @@ LOCAL_PATH := $(call my-dir) +PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal + OMX_NAME := exynos include $(CLEAR_VARS) @@ -13,7 +15,7 @@ LOCAL_C_INCLUDES := \ system/core/include \ hardware/samsung_slsi/openmax/include/khronos \ hardware/samsung_slsi/openmax/include/$(OMX_NAME) \ - hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include \ + hardware/samsung_slsi/$(PLATFORM_DIR)/include \ $(LOCAL_PATH)/../include LOCAL_CFLAGS := \ @@ -34,7 +36,7 @@ LOCAL_SRC_FILES := \ csc.c LOCAL_C_INCLUDES := \ - hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include \ + hardware/samsung_slsi/$(PLATFORM_DIR)/include \ hardware/samsung_slsi/openmax/include/khronos \ hardware/samsung_slsi/openmax/include/$(OMX_NAME) \ $(LOCAL_PATH)/../libexynosutils