1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | SUBDIRS = . tools |
---|
8 | |
---|
9 | include $(top_srcdir)/../../../../automake/compile.am |
---|
10 | |
---|
11 | include_bspdir = $(includedir)/bsp |
---|
12 | |
---|
13 | dist_project_lib_DATA = bsp_specs |
---|
14 | |
---|
15 | include_HEADERS = include/bsp.h |
---|
16 | include_HEADERS += include/tm27.h |
---|
17 | include_HEADERS += include/psim.h |
---|
18 | |
---|
19 | nodist_include_HEADERS = include/bspopts.h |
---|
20 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
21 | DISTCLEANFILES = include/bspopts.h |
---|
22 | |
---|
23 | include_HEADERS += include/coverhd.h |
---|
24 | |
---|
25 | noinst_LIBRARIES = libbspstart.a |
---|
26 | libbspstart_a_SOURCES = start/start.S |
---|
27 | project_lib_DATA = start.$(OBJEXT) |
---|
28 | |
---|
29 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S |
---|
30 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
31 | |
---|
32 | dist_project_lib_DATA += startup/linkcmds |
---|
33 | |
---|
34 | noinst_LIBRARIES += libbsp.a |
---|
35 | libbsp_a_SOURCES = |
---|
36 | |
---|
37 | # startup |
---|
38 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
39 | ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \ |
---|
40 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
41 | ../../powerpc/shared/startup/bspgetworkarea.c ../../shared/bootcard.c \ |
---|
42 | ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \ |
---|
43 | startup/psim_registers.c |
---|
44 | |
---|
45 | # pclock |
---|
46 | libbsp_a_SOURCES += ../shared/clock/p_clock.c |
---|
47 | # console |
---|
48 | libbsp_a_SOURCES += ../../shared/console-polled.c |
---|
49 | # debugio |
---|
50 | libbsp_a_SOURCES += console/console-io.c console/consupp.S |
---|
51 | |
---|
52 | # irq |
---|
53 | include_bsp_HEADERS = irq/irq.h |
---|
54 | libbsp_a_SOURCES += irq/irq_init.c irq/no_pic.c |
---|
55 | |
---|
56 | EXTRA_DIST = vectors/README |
---|
57 | # vectors |
---|
58 | libbsp_a_SOURCES += vectors/align_h.S |
---|
59 | |
---|
60 | include_bsp_HEADERS += \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \ |
---|
63 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h |
---|
64 | |
---|
65 | EXTRA_DIST += shmsupp/README |
---|
66 | if HAS_MP |
---|
67 | # shmdr |
---|
68 | libbsp_a_SOURCES += \ |
---|
69 | shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c shmsupp/mpisr.c |
---|
70 | endif |
---|
71 | |
---|
72 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
73 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
74 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
75 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
76 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
77 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
78 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
79 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
80 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
81 | |
---|
82 | include $(srcdir)/preinstall.am |
---|
83 | include $(top_srcdir)/../../../../automake/local.am |
---|