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