Relocate Cortex-M timer driver

Moves the Cortex-M timer driver so that it resides with the other timer
drivers.

Change-Id: I3324c53356efd9f5fd88752a98e4ae301ea38d47
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-06-24 12:30:59 -04:00 committed by Anas Nashif
parent 10a56b5a00
commit d5f926fb4d
5 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,5 @@
obj-y = core/
obj-y += bsp/
obj-y += timer/
obj-$(CONFIG_BSP_FSL_FRDM_K64F) += fsl_frdm_k64f/
obj-$(CONFIG_BSP_TI_LM3S6965) += ti_lm3s6965/

View File

@ -1,5 +0,0 @@
ccflags-y +=-I$(srctree)/include/drivers
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_PLATFORM))
obj-y = cortex_m_timer.o
obj-$(CONFIG_GDB_INFO) += cortex_m_timer_gdb.o

View File

@ -5,3 +5,7 @@ obj-$(CONFIG_PIT) = i8253.o
obj-$(CONFIG_HPET_TIMER) += hpet.o
obj-$(CONFIG_LOAPIC_TIMER) += loapic_timer.o
obj-$(CONFIG_ARCV2_TIMER) += arcv2_timer0.o
_CORTEX_M_TIMER_AND_GDB_INFO_yy = y
obj-$(CONFIG_CORTEX_M_TIMER) += cortex_m_timer.o
obj-$(_CORTEX_M_TIMER_AND_GDB_INFO_$(CONFIG_CORTEX_M_TIMER)$(CONFIG_GDB_INFO)) += cortex_m_timer_gdb.o