source: rtems/c/src/lib/libbsp/arm/rtl22xx/Makefile.am @ 762fa62

5
Last change on this file since 762fa62 was 762fa62, checked in by Sebastian Huber <sebastian.huber@…>, on May 22, 2018 at 6:52:13 AM

arm: Simplify CPU counter support

Use the standard ARMv7-M systick module for the ARMv7-M CPU counter
instead of DWT counter since the DWT counter is affected by power saving
states.

Use an inline function for _CPU_Counter_difference() for all ARM BSPs.

Update #3456.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6dist_project_lib_DATA = ../../../../../../bsps/arm/rtl22xx/start/bsp_specs
7
8
9noinst_PROGRAMS =
10
11
12start.$(OBJEXT): ../../../../../../bsps/arm/rtl22xx/start/start.S
13        $(CPPASCOMPILE) -o $@ -c $<
14project_lib_DATA = start.$(OBJEXT)
15
16project_lib_DATA += linkcmds
17
18project_lib_LIBRARIES = librtemsbsp.a
19librtemsbsp_a_SOURCES =
20
21# startup
22librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
23librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/start/bspstart.c
24librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
25librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/start/bspreset.c
26librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
27librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
28librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
29librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
30librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/btimer/btimer.c
31librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/rtl22xx/clock/clockdrv.c
32# console
33librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
34librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
35librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
36librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/console/uart.c
37# IRQ
38librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
39librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/irq/irq.c
40
41# Cache
42librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
43
44if HAS_NETWORKING
45librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/rtl22xx/net/network.c
46endif
47
48include $(top_srcdir)/../../../../automake/local.am
49include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
50include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
51include $(srcdir)/../../../../../../bsps/arm/rtl22xx/headers.am
Note: See TracBrowser for help on using the repository browser.