timers: don't build if there is no system clock in use

Change-Id: Ic1463d632562383c3fa0b0b1666a52a0d9a5c4de
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-01-13 15:20:56 -08:00 committed by Anas Nashif
parent 2295e2abf7
commit 2a8843a262
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ subdir-ccflags-y += -I$(srctree)/include/drivers
obj-y = console/
obj-y += random/
obj-y += serial/
obj-y += timer/
obj-$(CONFIG_SYS_CLOCK_EXISTS) += timer/
obj-y += interrupt_controller/
obj-$(CONFIG_GROVE) += grove/
obj-$(CONFIG_PCI) += pci/

View file

@ -6,4 +6,4 @@ _CORTEX_M_SYSTICK_AND_GDB_INFO_yy = y
obj-$(CONFIG_CORTEX_M_SYSTICK) += cortex_m_systick.o
obj-$(_CORTEX_M_SYSTICK_AND_GDB_INFO_$(CONFIG_CORTEX_M_SYSTICK)$(CONFIG_GDB_INFO)) += cortex_m_systick_gdb.o
obj-$(CONFIG_SYS_CLOCK_EXISTS) += sys_clock_init.o
obj-y += sys_clock_init.o