source: rtems/c/src/lib/libcpu/bfin/Makefile.am @ f3b29236

Last change on this file since f3b29236 was 7e5c9b89, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 25, 2014 at 1:58:13 PM

rtems: Move rtems_cache_aligned_malloc()

Make sure also the size is cache aligned since otherwise we may have
some overlap with the next allocation block. A cache invalidate on this
area would be fatal.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../aclocal
2
3include $(top_srcdir)/../../../automake/compile.am
4
5EXTRA_DIST =
6
7noinst_PROGRAMS =
8
9include_bspdir = $(includedir)/bsp
10include_libcpudir = $(includedir)/libcpu
11
12include_bsp_HEADERS =
13include_libcpu_HEADERS =
14
15
16############
17# Start of bf52x files
18if bf52x
19
20include_HEADERS = bf52x/include/bf52x.h
21
22## INTERRUPT
23include_bsp_HEADERS += bf52x/interrupt/interrupt.h
24noinst_PROGRAMS += bf52x/interrupt.rel
25bf52x_interrupt_rel_SOURCES = bf52x/interrupt/interrupt.c \
26                              bf52x/interrupt/interrupt.h
27bf52x_interrupt_rel_CPPFLAGS = $(AM_CPPFLAGS)
28bf52x_interrupt_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30endif
31# endof bf52x
32############
33
34include_libcpu_HEADERS += include/bf533.h
35include_libcpu_HEADERS += include/bf537.h
36include_libcpu_HEADERS += include/cecRegs.h
37include_libcpu_HEADERS += include/memoryRegs.h
38include_libcpu_HEADERS += include/mmuRegs.h
39include_libcpu_HEADERS += include/sicRegs.h
40include_libcpu_HEADERS += include/ebiuRegs.h
41include_libcpu_HEADERS += include/ppiRegs.h
42include_libcpu_HEADERS += include/coreTimerRegs.h
43include_libcpu_HEADERS += include/wdogRegs.h
44include_libcpu_HEADERS += include/timerRegs.h
45include_libcpu_HEADERS += include/dmaRegs.h
46include_libcpu_HEADERS += include/ethernetRegs.h
47include_libcpu_HEADERS += include/uartRegs.h
48include_libcpu_HEADERS += include/sportRegs.h
49include_libcpu_HEADERS += include/twiRegs.h
50include_libcpu_HEADERS += include/spiRegs.h
51include_libcpu_HEADERS += include/rtcRegs.h
52include_libcpu_HEADERS += include/gpioRegs.h
53
54
55include_libcpu_HEADERS += ../shared/include/cache.h
56noinst_PROGRAMS += cache.rel
57cache_rel_SOURCES = cache/cache.c \
58    ../shared/src/cache_manager.c cache/cache_.h
59cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/cache
60cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62include_libcpu_HEADERS += mmu/mmu.h
63noinst_PROGRAMS += mmu.rel
64mmu_rel_SOURCES = mmu/mmu.c
65mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
66mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68if bf52x
69
70else
71include_libcpu_HEADERS += interrupt/interrupt.h
72noinst_PROGRAMS += interrupt.rel
73interrupt_rel_SOURCES = interrupt/interrupt.c
74interrupt_rel_CPPFLAGS = $(AM_CPPFLAGS)
75interrupt_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
76
77endif
78
79noinst_PROGRAMS += clock.rel
80clock_rel_SOURCES = clock/clock.c
81clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
82clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
83
84noinst_PROGRAMS += rtc.rel
85rtc_rel_SOURCES = clock/rtc.c clock/rtc.h
86rtc_rel_CPPFLAGS = $(AM_CPPFLAGS)
87rtc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
88
89include_libcpu_HEADERS += serial/uart.h
90noinst_PROGRAMS += uart.rel
91uart_rel_SOURCES = serial/uart.c
92uart_rel_CPPFLAGS = $(AM_CPPFLAGS)
93uart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
94
95include_libcpu_HEADERS += serial/sport.h
96noinst_PROGRAMS += sport.rel
97sport_rel_SOURCES = serial/sport.c
98sport_rel_CPPFLAGS = $(AM_CPPFLAGS)
99sport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
100
101include_libcpu_HEADERS += serial/spi.h
102noinst_PROGRAMS += spi.rel
103spi_rel_SOURCES = serial/spi.c
104spi_rel_CPPFLAGS = $(AM_CPPFLAGS)
105spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
106
107include_libcpu_HEADERS += serial/twi.h
108noinst_PROGRAMS += twi.rel
109twi_rel_SOURCES = serial/twi.c
110twi_rel_CPPFLAGS = $(AM_CPPFLAGS)
111twi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
112
113noinst_PROGRAMS += timer.rel
114timer_rel_SOURCES = timer/timer.c
115timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
116timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
117
118if HAS_NETWORKING
119## network
120include_libcpu_HEADERS += network/ethernet.h
121network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
122noinst_PROGRAMS += network.rel
123network_rel_SOURCES = network/ethernet.c
124network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
125network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
126endif
127
128include $(srcdir)/preinstall.am
129include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.