1# Only applicable for OMAP4 and OMAP5 boards.
2# First eliminate OMAP3 and then ensure that this is not used
3# for customer boards
4ifneq ($(TARGET_BOARD_PLATFORM),omap3)
5ifeq ($(findstring omap, $(TARGET_BOARD_PLATFORM)),omap)
6
7LOCAL_PATH := $(call my-dir)
8include $(CLEAR_VARS)
9
10LOCAL_ARM_MODE := arm
11
12LOCAL_SRC_FILES := \
13	delegation_client.c \
14	delegation_client_extension.c \
15	smc_properties.c \
16	smc_properties_parser.c \
17	lib_manifest2.c
18
19ifdef S_VERSION_BUILD
20LOCAL_CFLAGS += -DS_VERSION_BUILD=$(S_VERSION_BUILD)
21endif
22
23LOCAL_LDLIBS += -llog
24
25LOCAL_CFLAGS += -DLINUX
26LOCAL_CFLAGS += -DANDROID
27LOCAL_CFLAGS += -DSUPPORT_DELEGATION_EXTENSION
28LOCAL_CFLAGS += -I $(LOCAL_PATH)/../tf_sdk/include/
29
30LOCAL_MODULE:= tf_daemon
31LOCAL_STATIC_LIBRARIES := libtee_client_api_driver
32LOCAL_MODULE_TAGS := optional
33
34include $(BUILD_EXECUTABLE)
35endif
36endif
37