source: rtems/c/src/lib/libcpu/mips/Makefile.am @ 8536b67

4.115
Last change on this file since 8536b67 was 8536b67, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 8, 2014 at 8:06:52 PM

Move Mongoose-V specific devices into BSP.

Putting the duart in libcpu was very optimistic and presumptuous.
It has never been used again on another SoC and is BSP specific.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../aclocal
2
3include $(top_srcdir)/../../../automake/compile.am
4
5EXTRA_DIST =
6
7noinst_PROGRAMS =
8
9## cache
10include_libcpudir = $(includedir)/libcpu
11
12include_libcpu_HEADERS = ../shared/include/cache.h
13
14noinst_PROGRAMS += shared/cache.rel
15shared_cache_rel_SOURCES = shared/cache/cache.c ../shared/src/cache_aligned_malloc.c \
16    ../shared/src/cache_manager.c shared/cache/cache_.h
17shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
18shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
19
20## interrupts
21
22if rm52xx
23interrupts_CPPFLAGS = -DRM52XX
24endif
25
26if tx39
27interrupts_CPPFLAGS = -DTX39
28endif
29
30if tx49
31interrupts_CPPFLAGS = -DTX49
32endif
33
34noinst_PROGRAMS += shared/interrupts.rel
35shared_interrupts_rel_SOURCES = shared/interrupts/installisrentries.c \
36    shared/interrupts/isr_entries.S shared/interrupts/isr_entries.h
37shared_interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) $(interrupts_CPPFLAGS)
38shared_interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39include_libcpu_HEADERS += shared/interrupts/isr_entries.h
40
41if tx39
42include_libcpu_HEADERS += tx39/include/tx3904.h
43endif
44
45if tx49
46include_libcpu_HEADERS += tx49/include/tx4925.h tx49/include/tx4938.h
47
48noinst_PROGRAMS += tx49/timer.rel
49tx49_timer_rel_SOURCES = timer/timer.c timer/gettime.S
50tx49_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
51tx49_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52endif
53
54if au1x00
55include_libcpu_HEADERS += au1x00/include/au1x00.h
56
57endif
58
59if r46xx
60noinst_PROGRAMS += r46xx/timer.rel
61r46xx_timer_rel_SOURCES = timer/timer.c timer/gettime.S
62r46xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
63r46xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
64
65noinst_PROGRAMS += r46xx/clock.rel
66r46xx_clock_rel_SOURCES = clock/ckinit.c clock/clock.S clock/clock.h
67r46xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
68r46xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
69endif
70
71if rm52xx
72include_libcpu_HEADERS += rm52xx/include/rm5231.h
73
74noinst_PROGRAMS += rm52xx/timer.rel
75rm52xx_timer_rel_SOURCES = timer/timer.c timer/gettime.S
76rm52xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
77rm52xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78endif
79
80include $(srcdir)/preinstall.am
81include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.