summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2012-05-01 18:12:37 -0500
committerDaniel Levin <dendy@ti.com>2012-11-20 18:29:56 +0200
commit851553ca5bda0e1628b5e76c39db29e500856cbf (patch)
tree55a83fd9b0ac468233ac7bb9effea521e684063b /security
parent313582ef319353f3436543f0e9b9235fa5fb7856 (diff)
downloadhardware_ti_omap4-851553ca5bda0e1628b5e76c39db29e500856cbf.zip
hardware_ti_omap4-851553ca5bda0e1628b5e76c39db29e500856cbf.tar.gz
hardware_ti_omap4-851553ca5bda0e1628b5e76c39db29e500856cbf.tar.bz2
OMAP5: Modify security Android.mk to enable for OMAP4&5 only
Modifying the Android.mk files in the security area to ensure that they are only run for OMAP4/5. They are not used by OMAP3 and this patch ensures that they will not be compiled for customer boards. Change-Id: I245f77280de2ba079104b36649f314b682f0f5bb Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com> Signed-off-by: Daniel Levin <dendy@ti.com>
Diffstat (limited to 'security')
-rw-r--r--security/smc_pa_ctrl/Android.mk7
-rw-r--r--security/tee_client_api/Android.mk7
-rw-r--r--security/tf_daemon/Android.mk7
3 files changed, 18 insertions, 3 deletions
diff --git a/security/smc_pa_ctrl/Android.mk b/security/smc_pa_ctrl/Android.mk
index fe0bdf4..2a123bc 100644
--- a/security/smc_pa_ctrl/Android.mk
+++ b/security/smc_pa_ctrl/Android.mk
@@ -1,4 +1,8 @@
-ifeq ($(TARGET_BOARD_PLATFORM),omap4)
+# 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)
@@ -23,3 +27,4 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
endif
+endif
diff --git a/security/tee_client_api/Android.mk b/security/tee_client_api/Android.mk
index bfd92f4..b2f710b 100644
--- a/security/tee_client_api/Android.mk
+++ b/security/tee_client_api/Android.mk
@@ -1,4 +1,8 @@
-ifeq ($(TARGET_BOARD_PLATFORM),omap4)
+# 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)
@@ -23,3 +27,4 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_STATIC_LIBRARY)
endif
+endif
diff --git a/security/tf_daemon/Android.mk b/security/tf_daemon/Android.mk
index eccba3d..02ff35e 100644
--- a/security/tf_daemon/Android.mk
+++ b/security/tf_daemon/Android.mk
@@ -1,4 +1,8 @@
-ifeq ($(TARGET_BOARD_PLATFORM),omap4)
+# 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)
@@ -29,3 +33,4 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
endif
+endif