sec_mon.mk 443 B

12345678910111213141516171819202122232425
  1. #
  2. # Copyright 2021 NXP
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. ifeq (${ADD_SNVS},)
  7. ADD_SNVS := 1
  8. PLAT_INCLUDES += -I$(PLAT_DRIVERS_INCLUDE_PATH)/sec_mon
  9. SNVS_SOURCES += $(PLAT_DRIVERS_PATH)/sec_mon/snvs.c
  10. ifeq (${BL_COMM_SNVS_NEEDED},yes)
  11. BL_COMMON_SOURCES += ${SNVS_SOURCES}
  12. else
  13. ifeq (${BL2_SNVS_NEEDED},yes)
  14. BL2_SOURCES += ${SNVS_SOURCES}
  15. endif
  16. ifeq (${BL31_SNVS_NEEDED},yes)
  17. BL31_SOURCES += ${SNVS_SOURCES}
  18. endif
  19. endif
  20. endif