source: rtems/c/src/lib/libbsp/mips/csb350/Makefile.am @ 6279149

4.115
Last change on this file since 6279149 was 6279149, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 8, 2014 at 9:04:56 PM

Add console-polled.h and update all BSPs that should use it.

The file console-polled.h provides the prototypes for the three
required methods when implementing a single port polled console
driver. This paradigm is common on simulators and simple hardware.

+ Updated the BSPs Makefile.am to make console-polled.h available.
+ Regenerated the BSPs preinstall.sm.
+ Updated console support files to include <bsp/console-polled.h>.
+ Updated console support files to make printk() support method static.

  • 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 += include/tm27.h
11include_bsp_HEADERS = ../shared/liblnk/regs.h
12#isr
13include_bsp_HEADERS += ../../shared/include/irq-generic.h
14include_bsp_HEADERS += ../../shared/include/irq-info.h
15include_bsp_HEADERS += include/irq.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
20DISTCLEANFILES = include/bspopts.h
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22
23noinst_PROGRAMS =
24
25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = start/start.S ../shared/liblnk/regs.h
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_LIBRARIES += libbsp.a
32libbsp_a_SOURCES =
33
34# startup
35libbsp_a_SOURCES += ../../shared/bspclean.c
36libbsp_a_SOURCES += ../../shared/bsplibc.c
37libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
38libbsp_a_SOURCES += ../../shared/bsppost.c
39libbsp_a_SOURCES += startup/bspreset.c
40libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
41libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
42libbsp_a_SOURCES += startup/bspstart.c
43libbsp_a_SOURCES += ../../shared/bootcard.c
44libbsp_a_SOURCES += ../../shared/sbrk.c
45# clock
46libbsp_a_SOURCES += clock/clockdrv.c
47libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
48# console
49libbsp_a_SOURCES += console/console-io.c
50libbsp_a_SOURCES += ../../shared/console-polled.c
51# timer
52libbsp_a_SOURCES += timer/timer.c
53#isr
54libbsp_a_SOURCES += ../../shared/src/irq-generic.c
55libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
56libbsp_a_SOURCES += ../../shared/src/irq-info.c
57libbsp_a_SOURCES += ../../shared/src/irq-shell.c
58libbsp_a_SOURCES += ../../shared/src/irq-server.c
59libbsp_a_SOURCES += ../shared/irq/vectorexceptions.c
60libbsp_a_SOURCES += ../shared/irq/irq.c
61libbsp_a_SOURCES += irq/vectorisrs.c
62libbsp_a_SOURCES += ../shared/irq/interruptmask.c
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  = ../../../libcpu/mips/shared/cache.rel
73libbsp_a_LIBADD += ../../../libcpu/mips/shared/interrupts.rel
74
75if HAS_NETWORKING
76libbsp_a_LIBADD += network.rel
77endif
78
79include $(srcdir)/preinstall.am
80include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.