pncd.mk 747 B

123456789101112131415161718192021222324
  1. # Copyright (c) 2021-2022, ProvenRun S.A.S. All rights reserved.
  2. #
  3. # SPDX-License-Identifier: BSD-3-Clause
  4. PNCD_DIR := services/spd/pncd
  5. SPD_INCLUDES := -Iinclude/bl32/pnc
  6. SPD_INCLUDES += -Iinclude/common/
  7. SPD_SOURCES := services/spd/pncd/pncd_common.c \
  8. services/spd/pncd/pncd_helpers.S \
  9. services/spd/pncd/pncd_main.c
  10. NEED_BL32 := yes
  11. # The following constants need to be defined:
  12. # - SPD_PNCD_NS_IRQ: IRQ number used to notify NS world when SMC_ACTION_FROM_S is received
  13. # - SPD_PNCD_S_IRQ: IRQ number used to notify S world when SMC_ACTION_FROM_NS is received
  14. $(eval $(call assert_numerics, SPD_PNCD_NS_IRQ SPD_PNCD_S_IRQ))
  15. $(eval $(call add_defines,\
  16. $(sort \
  17. SPD_PNCD_NS_IRQ \
  18. SPD_PNCD_S_IRQ \
  19. )))