source: rtems/c/src/lib/libbsp/m32r/m32rsim/Makefile.am @ 1c0663b4

4.115
Last change on this file since 1c0663b4 was 6279149, checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/14 at 21:04:56

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: 1.6 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6include_bspdir = $(includedir)/bsp
7
8dist_project_lib_DATA = bsp_specs
9
10include_HEADERS = include/bsp.h
11include_HEADERS += include/tm27.h
12
13nodist_include_HEADERS = include/bspopts.h
14nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
15nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
16DISTCLEANFILES = include/bspopts.h
17noinst_PROGRAMS =
18
19nodist_include_HEADERS += ../../shared/include/coverhd.h
20
21EXTRA_DIST = start/start.S
22start.$(OBJEXT): start/start.S
23        $(CPPASCOMPILE) -o $@ -c $<
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds
27
28startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
29    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
30    ../../shared/bspgetworkarea.c ../../shared/bsppost.c \
31    ../../shared/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
32    ../../shared/gnatinstallhandler.c startup/bspreset.c
33clock_SOURCES = ../../shared/clock_driver_simidle.c
34console_SOURCES = ../../shared/console-polled.c console/console-io.c \
35   console/trap0.S
36timer_SOURCES = ../../shared/timerstub.c
37
38noinst_LIBRARIES = libbsp.a
39libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
40    $(timer_SOURCES)
41
42# Cache
43libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
44libbsp_a_SOURCES += ../../shared/include/cache_.h
45libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
46
47include $(srcdir)/preinstall.am
48include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.