source: rtems/c/src/lib/libbsp/arm/csb337/Makefile.am @ 991fdb33

4.115
Last change on this file since 991fdb33 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: 3.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
11if ENABLE_LCD
12include_HEADERS += include/sed1356.h
13endif
14
15include_bsp_HEADERS =
16
17if ENABLE_UMON
18include_umondir = $(includedir)/umon
19include_umon_HEADERS  = ../../shared/umon/cli.h
20include_umon_HEADERS += ../../shared/umon/monlib.h
21include_umon_HEADERS += ../../shared/umon/tfs.h
22
23include_rtemsdir = $(includedir)/rtems
24include_rtems_HEADERS  = ../../shared/umon/umon.h
25endif
26
27nodist_include_HEADERS = include/bspopts.h
28nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
29DISTCLEANFILES = include/bspopts.h
30noinst_PROGRAMS =
31
32nodist_include_HEADERS += ../../shared/include/coverhd.h
33
34if ENABLE_LCD
35nodist_include_HEADERS += console/sed1356_16bit.h
36nodist_include_HEADERS += console/font8x16.h
37endif
38
39noinst_LIBRARIES = libbspstart.a
40
41libbspstart_a_SOURCES = start/start.S
42project_lib_DATA = start.$(OBJEXT)
43
44project_lib_DATA += startup/linkcmds
45EXTRA_DIST = startup/linkcmds.csb337
46EXTRA_DIST += startup/linkcmds.csb637
47EXTRA_DIST += README
48EXTRA_DIST += README.kit637_v6
49
50noinst_LIBRARIES += libbsp.a
51
52# startup
53libbsp_a_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
54    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
55    ../../shared/bsppretaskinghook.c startup/bspstart.c \
56    ../../shared/bspclean.c startup/bspreset.c \
57    startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
58    ../../shared/gnatinstallhandler.c
59libbsp_a_SOURCES += ../../shared/cpucounterread.c
60libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
61# console
62libbsp_a_SOURCES += ../../shared/console.c console/uarts.c \
63    ../../shared/console_select.c  ../../shared/console_control.c \
64    ../../shared/console_read.c ../../shared/console_write.c
65# IRQ
66include_bsp_HEADERS += ../../shared/include/irq-generic.h \
67        ../../shared/include/irq-info.h
68libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
69libbsp_a_SOURCES += ../../shared/src/irq-generic.c
70libbsp_a_SOURCES += ../../shared/src/irq-info.c
71libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
72libbsp_a_SOURCES += ../../shared/src/irq-server.c
73libbsp_a_SOURCES += ../../shared/src/irq-shell.c
74if ENABLE_LCD
75libbsp_a_SOURCES += console/sed1356.c console/fbcons.c
76endif
77# abort
78libbsp_a_SOURCES += ../shared/abort/abort.c
79# umon
80if ENABLE_UMON
81libbsp_a_SOURCES += ../../shared/umon/umonrtemsglue.c  \
82    ../../shared/umon/monlib.c ../../shared/umon/tfsDriver.c \
83    ../../shared/umon/umoncons.c startup/umonsupp.c
84endif
85if ENABLE_UMON_CONSOLE
86libbsp_a_SOURCES += ../../shared/umon/umoncons.c
87endif
88
89# Cache
90libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
91libbsp_a_SOURCES += ../../shared/include/cache_.h
92libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
93
94if HAS_NETWORKING
95network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
96noinst_PROGRAMS += network.rel
97network_rel_SOURCES = network/network.c
98network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
99network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
100endif
101
102libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
103    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
104    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/dbgu.rel \
105    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/usart.rel \
106    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
107    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/pmc.rel \
108    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
109if HAS_NETWORKING
110libbsp_a_LIBADD += network.rel
111endif
112
113include $(srcdir)/preinstall.am
114include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.