dcfg.mk 438 B

1234567891011121314151617181920212223242526
  1. #
  2. # Copyright 2021 NXP
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. ifeq (${ADD_DCFG},)
  7. ADD_DCFG := 1
  8. PLAT_INCLUDES += -I$(PLAT_DRIVERS_INCLUDE_PATH)/dcfg
  9. DCFG_SOURCES += $(PLAT_DRIVERS_PATH)/dcfg/dcfg.c
  10. ifeq (${BL_COMM_DCFG_NEEDED},yes)
  11. BL_COMMON_SOURCES += ${DCFG_SOURCES}
  12. else
  13. ifeq (${BL2_DCFG_NEEDED},yes)
  14. BL2_SOURCES += ${DCFG_SOURCES}
  15. endif
  16. ifeq (${BL31_DCFG_NEEDED},yes)
  17. BL31_SOURCES += ${DCFG_SOURCES}
  18. endif
  19. endif
  20. endif