xref: /rk3399_ARM-atf/plat/mediatek/drivers/rng/rules.mk (revision d684e7fbb34b53bdccbafa6d78211e7c77688bb9)
1*8c1740e2SSuyuan Su#
2*8c1740e2SSuyuan Su# Copyright (c) 2024, MediaTek Inc. All rights reserved.
3*8c1740e2SSuyuan Su#
4*8c1740e2SSuyuan Su# SPDX-License-Identifier: BSD-3-Clause
5*8c1740e2SSuyuan Su#
6*8c1740e2SSuyuan Su
7*8c1740e2SSuyuan SuLOCAL_DIR := $(call GET_LOCAL_DIR)
8*8c1740e2SSuyuan Su
9*8c1740e2SSuyuan SuMODULE := rng
10*8c1740e2SSuyuan Su
11*8c1740e2SSuyuan SuPLAT_INCLUDES += -I${LOCAL_DIR}/${MTK_SOC}
12*8c1740e2SSuyuan SuPLAT_INCLUDES += -I${LOCAL_DIR}
13*8c1740e2SSuyuan Su
14*8c1740e2SSuyuan SuLOCAL_SRCS-y := ${LOCAL_DIR}/rng.c
15*8c1740e2SSuyuan SuLOCAL_SRCS-y += ${LOCAL_DIR}/${MTK_SOC}/rng_plat.c
16*8c1740e2SSuyuan Su
17*8c1740e2SSuyuan Su$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
18