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