blob: aaac53f88ce4db007791e521f9762df817c9d4f6 [file] [log] [blame]
Pankaj Gupta1ec78a02020-12-09 14:02:38 +05301#
2# Copyright 2021 NXP
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifeq (${ADD_SNVS},)
8
9ADD_SNVS := 1
10
Pankaj Gupta7834b462021-03-25 15:15:52 +053011PLAT_INCLUDES += -I$(PLAT_DRIVERS_INCLUDE_PATH)/sec_mon
Pankaj Gupta1ec78a02020-12-09 14:02:38 +053012
Pankaj Gupta7834b462021-03-25 15:15:52 +053013SNVS_SOURCES += $(PLAT_DRIVERS_PATH)/sec_mon/snvs.c
Pankaj Gupta1ec78a02020-12-09 14:02:38 +053014
15ifeq (${BL_COMM_SNVS_NEEDED},yes)
16BL_COMMON_SOURCES += ${SNVS_SOURCES}
17else
18ifeq (${BL2_SNVS_NEEDED},yes)
19BL2_SOURCES += ${SNVS_SOURCES}
20endif
21ifeq (${BL31_SNVS_NEEDED},yes)
22BL31_SOURCES += ${SNVS_SOURCES}
23endif
24endif
25endif