summaryrefslogtreecommitdiffstats
path: root/security/tf_daemon/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/tf_daemon/Android.mk')
-rw-r--r--security/tf_daemon/Android.mk16
1 files changed, 5 insertions, 11 deletions
diff --git a/security/tf_daemon/Android.mk b/security/tf_daemon/Android.mk
index 416a9ff..50a51e1 100644
--- a/security/tf_daemon/Android.mk
+++ b/security/tf_daemon/Android.mk
@@ -1,8 +1,4 @@
-# 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)
+ifeq ($(TARGET_BOARD_PLATFORM),omap4)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -16,15 +12,14 @@ LOCAL_SRC_FILES := \
smc_properties_parser.c \
lib_manifest2.c
+LOCAL_CFLAGS += -DLINUX
+LOCAL_CFLAGS += -D__ANDROID32__
+LOCAL_CFLAGS += -DSUPPORT_DELEGATION_EXTENSION
+
ifdef S_VERSION_BUILD
LOCAL_CFLAGS += -DS_VERSION_BUILD=$(S_VERSION_BUILD)
endif
-LOCAL_LDLIBS += -llog
-
-LOCAL_CFLAGS += -DLINUX
-LOCAL_CFLAGS += -DANDROID
-LOCAL_CFLAGS += -DSUPPORT_DELEGATION_EXTENSION
LOCAL_CFLAGS += -I $(LOCAL_PATH)/../tf_sdk/include/
LOCAL_MODULE:= tf_daemon
@@ -33,4 +28,3 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
endif
-endif