exynos: only build for insignal SLSI variant
authorEthan Chen <intervigil@gmail.com>
Tue, 27 Aug 2013 20:48:05 +0000 (13:48 -0700)
committerEthan Chen <intervigil@gmail.com>
Tue, 27 Aug 2013 20:58:06 +0000 (13:58 -0700)
Android.mk
libcsc/Android.mk

index 078e3b547eeb79f95d3c21b13ae100fe7852dc07..9c2d0c37e618d3df6206beacb89c9a73d48835b5 100644 (file)
@@ -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
index b46f3dbda08b8786178596b4b3b3f9de10bf94e2..00b1f5b6b3157e9c36ce9639f60e8ce92f954520 100644 (file)
@@ -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