mirror of
https://github.com/apache/nuttx.git
synced 2026-09-29 02:23:51 +00:00
drivers/timers: Add TMRDEPPATH/TMRVPATH for PTP clock drivers.
Every other timer driver block in this Make.defs sets TMRDEPPATH and TMRVPATH so DEPPATH/VPATH include this directory. CONFIG_PTP_CLOCK and CONFIG_PTP_CLOCK_DUMMY were the only two missing it, leaving ptp_clock.c/ptp_clock_dummy.c unreachable via VPATH and without a generated dependency file when no other timer driver in this file is also selected. Assisted-by: Claude:claude-sonnet-5 Signed-off-by: Daniel P. Carvalho <danieloak@gmail.com> (cherry picked from commit 6d3812229d1c527971bf3a2b9d7d2675796fc688)
This commit is contained in:
parent
5ec51ae6d5
commit
efec7da49f
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue