1# Copyright (C) 2022 Huawei Technologies Co., Ltd. 2# Licensed under the Mulan PSL v2. 3# You can use this software according to the terms and conditions of the Mulan PSL v2. 4# You may obtain a copy of Mulan PSL v2 at: 5# http://license.coscl.org.cn/MulanPSL2 6# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR 7# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR 8# PURPOSE. 9# See the Mulan PSL v2 for more details. 10 11DRIVER := crypto_mgr.elf 12 13include $(BUILD_CONFIG)/var.mk 14 15crypto_mgr_c_files += $(wildcard src/*.c) \ 16 $(wildcard src/crypto_ioctl/*.c) 17 18inc-flags += -I$(FRAMEWORK_PATH)/drvmgr/src 19inc-flags += -I$(DRIVERS_PATH)/include 20inc-flags += -I$(DRVLIB)/common/libdrv_frame/include 21inc-flags += -I$(DRVLIB)/libdrv_shared/src 22inc-flags += -I$(DRIVERS_PATH)/crypto_mgr/src/crypto_ioctl/ 23inc-flags += -I$(TEELIB)/libcrypto_hal/include 24inc-flags += -I$(TEELIB)/libteeos/include/tee 25inc-flags += -I$(TEELIB)/libteeos/include/legacy 26inc-flags += -I$(TEELIB)/libtimer/include 27inc-flags += -I$(TEELIB)/libteemem/include 28 29# Libraries 30 31SVC_PARTITIAL_LINK = y 32include $(BUILD_SERVICE)/svc-common.mk 33