source: rtems/c/src/lib/libbsp/powerpc/psim/Makefile.am @ 6279149

4.115
Last change on this file since 6279149 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: 2.7 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_HEADERS += include/psim.h
12
13include_bsp_HEADERS = ../shared/include/linker-symbols.h
14
15nodist_include_HEADERS = include/bspopts.h
16nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
17nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
18DISTCLEANFILES = include/bspopts.h
19
20include_HEADERS += include/coverhd.h
21
22noinst_LIBRARIES = libbspstart.a
23libbspstart_a_SOURCES = start/start.S
24project_lib_DATA = start.$(OBJEXT)
25
26libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
27project_lib_DATA += rtems_crti.$(OBJEXT)
28
29dist_project_lib_DATA += ../shared/startup/linkcmds.base
30dist_project_lib_DATA += startup/linkcmds
31
32noinst_LIBRARIES += libbsp.a
33libbsp_a_SOURCES =
34
35# startup
36libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
37    ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
38    ../../shared/bsppredriverhook.c startup/bspstart.c \
39    ../../shared/bspgetworkarea.c ../../shared/bootcard.c \
40    ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c
41
42# pclock
43libbsp_a_SOURCES += ../shared/clock/p_clock.c
44# console
45libbsp_a_SOURCES += ../../shared/console-polled.c
46# debugio
47libbsp_a_SOURCES += console/console-io.c console/consupp.S
48
49# irq
50include_bsp_HEADERS += irq/irq.h ../shared/openpic/openpic.h \
51    ../../shared/include/irq-generic.h
52libbsp_a_SOURCES += irq/irq_init.c ../shared/irq/openpic_i8259_irq.c \
53    ../shared/openpic/openpic.c ../../shared/src/irq-server.c  \
54    ../../shared/src/irq-generic.c ../../shared/src/irq-default-handler.c
55
56EXTRA_DIST = vectors/README
57# vectors
58libbsp_a_SOURCES += vectors/align_h.S
59
60include_bsp_HEADERS += ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
61
62EXTRA_DIST += shmsupp/README
63if HAS_MP
64# shmdr
65libbsp_a_SOURCES += \
66    shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c shmsupp/mpisr.c
67endif
68
69if HAS_NETWORKING
70libbsp_a_SOURCES += network/if_sim.c
71endif
72
73libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
74    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
75    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
76    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
77    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
78    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
79    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
80    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
81    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
82    ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
83
84include $(srcdir)/preinstall.am
85include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.