2 include $(TOP)/config/make.cfg
4 # Do not remove this! It allows to override timer_intern.h
5 USER_CFLAGS += -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/timer -I$(SRCDIR)/rom/timer $(PARANOIA_CFLAGS)
7 # Allow to add architecture-specific options
8 # -DUSE_VBLANK_EMU needs to be defined in make.opts if needed, because
9 # autogenerated startup code (which is processed by this mmakefile)
10 # needs proper sizeof(struct TimerBase) value
11 ifneq ($(AROS_TARGET_VARIANT),)
12 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/$(AROS_TARGET_VARIANT)/timer/make.opts
14 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/timer/make.opts
16 FILES := common_init timer_init lowlevel ticks
17 FUNCS := abortio addtime beginio cmptime getsystime subtime readeclock
19 %build_module mmake=kernel-timer \
20 modname=timer modtype=device \
21 files="$(FUNCS) $(FILES)"