2 include $(TOP)/config/make.cfg
4 # Allow to override timer_platform.h
5 USER_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/timer \
6 -I$(SRCDIR)/arch/all-$(ARCH)/timer
8 USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/timer
10 USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/timer \
13 # Allow to add architecture-specific options
14 # -DUSE_VBLANK_EMU needs to be defined in make.opts if needed, because
15 # autogenerated startup code (which is processed by this mmakefile)
16 # needs proper sizeof(struct TimerBase) value
17 -include $(SRCDIR)/arch/all-$(ARCH)/timer/make.opts
18 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/timer/make.opts
19 ifneq ($(AROS_TARGET_VARIANT),)
20 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/$(AROS_TARGET_VARIANT)/timer/make.opts
23 FILES := common_init timer_init lowlevel ticks timervblank
24 FUNCS := abortio addtime beginio cmptime getsystime subtime readeclock
26 %build_module mmake=kernel-timer \
27 modname=timer modtype=device version=$(AROS_TARGET_PLATFORM) \
28 files="$(FUNCS) $(FILES)"