forked from Imagelibrary/rtems
Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
21 lines
714 B
Makefile
21 lines
714 B
Makefile
include $(top_srcdir)/automake/compile.am
|
|
|
|
include_rtemsdir = $(includedir)/rtems
|
|
include_rtems_HEADERS = rtems/asm.h
|
|
|
|
include_rtems_scoredir = $(includedir)/rtems/score
|
|
include_rtems_score_HEADERS = rtems/score/cpu.h
|
|
include_rtems_score_HEADERS += rtems/score/types.h
|
|
include_rtems_score_HEADERS += rtems/score/sh.h
|
|
include_rtems_score_HEADERS += rtems/score/sh_io.h
|
|
include_rtems_score_HEADERS += rtems/score/cpuatomic.h
|
|
|
|
noinst_LIBRARIES = libscorecpu.a
|
|
libscorecpu_a_SOURCES = cpu.c context.c
|
|
libscorecpu_a_SOURCES += ../no_cpu/cpucounterread.c
|
|
libscorecpu_a_SOURCES += sh-exception-frame-print.c
|
|
libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
include $(srcdir)/preinstall.am
|
|
include $(top_srcdir)/automake/local.am
|