summaryrefslogtreecommitdiff
path: root/libkeymaster/Android.mk
diff options
context:
space:
mode:
authorDongJin Park <djpax.park@samsung.com>2012-08-31 18:08:58 +0900
committerDima Zavin <dima@android.com>2012-09-18 10:28:35 -0700
commit8eff0eb0768d4f98b3b1c63ff7c41c333ff1ddfc (patch)
tree7ab8cc77de55a37f0e564d8a36b98d873a0048ba /libkeymaster/Android.mk
parent70f7a6368f659ffa7b3da81a21c49cb18fd319a8 (diff)
downloadexynos5-8eff0eb0768d4f98b3b1c63ff7c41c333ff1ddfc.tar.gz
exynos5: libkeymaster: add keymaster HAL for Exynos5
Change-Id: I5f89cbda9f24683ace7dd13e5d279af3546811e2 Signed-off-by: DongJin Park <djpax.park@samsung.com>
Diffstat (limited to 'libkeymaster/Android.mk')
-rw-r--r--libkeymaster/Android.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/libkeymaster/Android.mk b/libkeymaster/Android.mk
new file mode 100644
index 0000000..975af6a
--- /dev/null
+++ b/libkeymaster/Android.mk
@@ -0,0 +1,35 @@
+# Copyright (C) 2012 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH := $(call my-dir)
+
+
+include $(CLEAR_VARS)
+
+MOBICORE_PATH := hardware/samsung_slsi/exynos5/mobicore
+
+LOCAL_MODULE := keystore.exynos5
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/hw
+LOCAL_SRC_FILES := keymaster_mobicore.cpp tlcTeeKeymaster_if.c
+LOCAL_C_INCLUDES := \
+ system/security/keystore \
+ external/openssl/include \
+ $(MOBICORE_PATH)/daemon/ClientLib/public \
+ $(MOBICORE_PATH)/common/MobiCore/inc/
+LOCAL_C_FLAGS = -fvisibility=hidden -Wall -Werror
+LOCAL_SHARED_LIBRARIES := libcrypto liblog libkeystore_client libMcClient
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+
+include $(BUILD_SHARED_LIBRARY)