source: rtems/c/src/lib/libbsp/arm/csb336/Makefile.am @ a114f99b

4.11
Last change on this file since a114f99b was a114f99b, checked in by Pavel Pisa <pisa@…>, on Jul 3, 2016 at 3:26:50 PM

bsps/arm: Change code to explicit selection of cache implementation for ARM BSPs.

The original ARM architecture wide cache_.h is changed to dummy version
for targets not implementing/enablig cache at all.

The ARM targets equipped by cache should include
appropriate implementation.

Next options are available for now

c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h

basic ARM cache integrated on the CPU core directly
which requires only CP15 oparations

c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h

support for case where ARM L2C-310 cache controller
is used. It is accessible as mmaped peripheral.

c/src/lib/libbsp/arm/shared/armv7m/include/cache_.h

Cortex-M specific cache support

Updates #2782
Updates #2783

  • Property mode set to 100644
File size: 2.5 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 =
13libbsp_a_CPPFLAGS =
14
15nodist_include_HEADERS = include/bspopts.h
16nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
17DISTCLEANFILES = include/bspopts.h
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
31# startup
32libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
33    ../../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
34    ../../shared/bsppredriverhook.c startup/bspstart.c ../../shared/bspclean.c \
35    ../../shared/bspreset.c startup/memmap.c ../../shared/bootcard.c \
36    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
37libbsp_a_SOURCES += ../../shared/cpucounterread.c
38libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
39# console
40libbsp_a_SOURCES += console/uart.c
41# abort
42libbsp_a_SOURCES += ../shared/abort/abort.c
43# IRQ
44include_bsp_HEADERS += ../../shared/include/irq-generic.h \
45        ../../shared/include/irq-info.h
46libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
47libbsp_a_SOURCES += ../../shared/src/irq-generic.c
48libbsp_a_SOURCES += ../../shared/src/irq-info.c
49libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
50libbsp_a_SOURCES += ../../shared/src/irq-server.c
51libbsp_a_SOURCES += ../../shared/src/irq-shell.c
52
53# Cache
54libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
55libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
56libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
57libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
58
59if HAS_NETWORKING
60network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
61noinst_PROGRAMS += network.rel
62network_rel_SOURCES = network/network.c network/lan91c11x.c
63network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
64network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65endif
66
67libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
68    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
69    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
70    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
71
72if HAS_NETWORKING
73libbsp_a_LIBADD += network.rel
74endif
75
76include $(srcdir)/preinstall.am
77include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.