xref: /aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/nxp/timer/timer.mk
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 2021 NXP
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7ifeq (${ADD_TIMER},)
8
9ADD_TIMER		:= 1
10
11PLAT_INCLUDES		+= -I$(PLAT_DRIVERS_INCLUDE_PATH)/timer
12TIMER_SOURCES		+= drivers/delay_timer/delay_timer.c	\
13			   $(PLAT_DRIVERS_PATH)/timer/nxp_timer.c
14
15ifeq (${BL_COMM_TIMER_NEEDED},yes)
16BL_COMMON_SOURCES	+= ${TIMER_SOURCES}
17else
18ifeq (${BL2_TIMER_NEEDED},yes)
19BL2_SOURCES		+= ${TIMER_SOURCES}
20endif
21ifeq (${BL31_TIMER_NEEDED},yes)
22BL31_SOURCES		+= ${TIMER_SOURCES}
23endif
24endif
25endif
26

served by {OpenGrok

Last Index Update: Mon Apr 28 06:57:04 CEST 2025