source: rtems/c/src/lib/libbsp/arm/rtl22xx/Makefile.am @ 0afac6a

4.115
Last change on this file since 0afac6a was 0b9fd991, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 21, 2014 at 4:12:16 PM

bsps: Add empty cache manager

This is necessary to add tests that use the cache manager. For example
to get better estimates of worst-case timings.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += ../../shared/include/tm27.h
11
12include_bsp_HEADERS =
13
14nodist_include_HEADERS = include/bspopts.h
15nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22noinst_LIBRARIES = libbspstart.a
23libbspstart_a_SOURCES = start/start.S
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds
27
28noinst_LIBRARIES += libbsp.a
29libbsp_a_SOURCES =
30
31include_HEADERS += ../../arm/shared/comm/uart.h
32# startup
33libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
34    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
35    ../../shared/bspgetworkarea.c startup/bspstart.c \
36    ../../shared/bspclean.c startup/bspreset.c \
37    ../../shared/bootcard.c ../../shared/sbrk.c \
38    ../../shared/gnatinstallhandler.c
39libbsp_a_SOURCES += ../../shared/cpucounterread.c
40libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
41# console
42libbsp_a_SOURCES += ../../shared/console.c \
43    ../../shared/console_select.c ../../shared/console_control.c \
44    ../../shared/console_read.c ../../shared/console_write.c
45# IRQ
46include_bsp_HEADERS += ../../shared/include/irq-generic.h \
47        ../../shared/include/irq-info.h
48libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
49libbsp_a_SOURCES += ../../shared/src/irq-generic.c
50libbsp_a_SOURCES += ../../shared/src/irq-info.c
51libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
52libbsp_a_SOURCES += ../../shared/src/irq-server.c
53libbsp_a_SOURCES += ../../shared/src/irq-shell.c
54# simple_abort
55libbsp_a_SOURCES += ../shared/abort/simple_abort.c
56# debugio
57libbsp_a_SOURCES += console/uart.c
58
59# Cache
60libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
61libbsp_a_SOURCES += ../../shared/include/cache_.h
62libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
63
64if HAS_NETWORKING
65network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
66noinst_PROGRAMS += network.rel
67network_rel_SOURCES = network/network.c
68network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
69network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
70endif
71
72libbsp_a_LIBADD =  \
73    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
74    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
75    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
76if HAS_NETWORKING
77libbsp_a_LIBADD += network.rel
78endif
79
80include $(srcdir)/preinstall.am
81include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.