summaryrefslogtreecommitdiffstats
path: root/libstagefrighthw
diff options
context:
space:
mode:
authorDaniel Levin <dendy@ti.com>2012-12-21 17:15:48 +0200
committerHashcode <hashcode0f@gmail.com>2015-02-03 13:36:13 -0800
commit273ffe268a14a270550d584bbaf9c10fed90e3b9 (patch)
tree461f36c9c9232173d0e423cc6f6428651b932949 /libstagefrighthw
parent7c1db5386a51eb8fbf79930c8f452214a710d6c2 (diff)
downloadhardware_ti_omap4-273ffe268a14a270550d584bbaf9c10fed90e3b9.tar.gz
hardware_ti_omap4-273ffe268a14a270550d584bbaf9c10fed90e3b9.tar.bz2
hardware_ti_omap4-273ffe268a14a270550d584bbaf9c10fed90e3b9.zip
OMAP5: Check TARGET_BOARD_PLATFORM in the root Android.mk
The omap4xxx projects are supposed to be buildable only for OMAP4 and OMAP5 but not OMAP3. This patch adds checking for the proper TARGET_BOARD_PLATFORM to the root Android.mk and removes useless double checking from subprojects. Change-Id: Ic103304d24c2ffdbb82b3a277d0b66e0e44e4bc0 Signed-off-by: Daniel Levin <dendy@ti.com> Conflicts: Android.mk security/smc_pa_ctrl/Android.mk security/tee_client_api/Android.mk security/tf_daemon/Android.mk
Diffstat (limited to 'libstagefrighthw')
-rw-r--r--libstagefrighthw/Android.mk9
1 files changed, 0 insertions, 9 deletions
diff --git a/libstagefrighthw/Android.mk b/libstagefrighthw/Android.mk
index 32f913b..a388808 100644
--- a/libstagefrighthw/Android.mk
+++ b/libstagefrighthw/Android.mk
@@ -1,9 +1,3 @@
-# Only applicable for OMAP4 and OMAP5 boards.
-# First eliminate OMAP3 and then ensure that this is not used
-# for customer boards
-ifneq ($(TARGET_BOARD_PLATFORM),omap3)
-ifeq ($(findstring omap, $(TARGET_BOARD_PLATFORM)),omap)
-
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -25,6 +19,3 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_MODULE := libstagefrighthw
include $(BUILD_HEAPTRACKED_SHARED_LIBRARY)
-
-endif
-endif