diff --git a/drivers/timers/Make.defs b/drivers/timers/Make.defs index fa14e5311bc..1b0bf427fb8 100644 --- a/drivers/timers/Make.defs +++ b/drivers/timers/Make.defs @@ -155,10 +155,14 @@ endif ifeq ($(CONFIG_PTP_CLOCK),y) CSRCS += ptp_clock.c + TMRDEPPATH = --dep-path timers + TMRVPATH = :timers endif ifeq ($(CONFIG_PTP_CLOCK_DUMMY),y) CSRCS += ptp_clock_dummy.c + TMRDEPPATH = --dep-path timers + TMRVPATH = :timers endif # Include timer build support (if any were selected)