1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | |
---|
11 | dist_project_lib_DATA = bsp_specs |
---|
12 | |
---|
13 | include_HEADERS = include/bsp.h |
---|
14 | include_HEADERS += include/tm27.h |
---|
15 | |
---|
16 | nodist_include_HEADERS = include/bspopts.h |
---|
17 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
18 | DISTCLEANFILES = include/bspopts.h |
---|
19 | |
---|
20 | include_HEADERS += ../../shared/tod.h |
---|
21 | include_HEADERS += include/coverhd.h include/gen2.h |
---|
22 | |
---|
23 | ### |
---|
24 | dist_project_lib_DATA += startup/linkcmds |
---|
25 | |
---|
26 | noinst_LIBRARIES = libbspstart.a |
---|
27 | libbspstart_a_SOURCES = start/start.S |
---|
28 | project_lib_DATA = start.$(OBJEXT) |
---|
29 | |
---|
30 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S |
---|
31 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
32 | |
---|
33 | noinst_LIBRARIES += libbsp.a |
---|
34 | libbsp_a_SOURCES = |
---|
35 | |
---|
36 | # startup |
---|
37 | libbsp_a_SOURCES += startup/bspclean.c ../../shared/bsplibc.c \ |
---|
38 | startup/bspstart.c ../../powerpc/shared/startup/bspgetworkarea.c \ |
---|
39 | ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \ |
---|
40 | startup/Hwr_init.c startup/genpvec.c ../../shared/gnatinstallhandler.c \ |
---|
41 | ../../powerpc/shared/showbats.c \ |
---|
42 | ../../shared/bsppretaskinghook.c |
---|
43 | |
---|
44 | # pclock |
---|
45 | libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c |
---|
46 | # console |
---|
47 | libbsp_a_SOURCES += console/85c30.c console/85c30.h console/console.c \ |
---|
48 | console/tbl85c30.c console/consolebsp.h |
---|
49 | |
---|
50 | include_bsp_HEADERS = ../../powerpc/shared/pci/pci.h \ |
---|
51 | PCI_bus/PCI.h \ |
---|
52 | ../../powerpc/shared/residual/residual.h \ |
---|
53 | ../../powerpc/shared/residual/pnp.h \ |
---|
54 | ../../powerpc/shared/openpic/openpic.h \ |
---|
55 | ../../powerpc/shared/console/consoleIo.h |
---|
56 | # pci |
---|
57 | libbsp_a_SOURCES += pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \ |
---|
58 | ../../powerpc/shared/pci/pcifinddevice.c PCI_bus/PCI.c PCI_bus/universe.c |
---|
59 | |
---|
60 | include_bsp_HEADERS += irq/irq.h \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
63 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h |
---|
64 | # irq |
---|
65 | libbsp_a_SOURCES += irq/FPGA.c irq/irq.c ../../powerpc/shared/irq/irq_asm.S |
---|
66 | |
---|
67 | include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h |
---|
68 | # vectors |
---|
69 | libbsp_a_SOURCES += ../../powerpc/shared/vectors/vectors_init.c \ |
---|
70 | ../../powerpc/shared/vectors/vectors.S |
---|
71 | |
---|
72 | include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \ |
---|
73 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
74 | ../../shared/vmeUniverse/VME.h \ |
---|
75 | vme/VMEConfig.h \ |
---|
76 | ../../powerpc/shared/motorola/motorola.h \ |
---|
77 | ../../shared/vmeUniverse/vmeUniverseDMA.h\ |
---|
78 | ../../shared/vmeUniverse/bspVmeDmaList.h\ |
---|
79 | ../../shared/vmeUniverse/VMEDMA.h |
---|
80 | # vme |
---|
81 | libbsp_a_SOURCES += \ |
---|
82 | ../../shared/vmeUniverse/bspVmeDmaList.c \ |
---|
83 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
84 | ../shared/vme/vmeconfig.c |
---|
85 | |
---|
86 | libbsp_a_LIBADD = \ |
---|
87 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
88 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
89 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
90 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
91 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
92 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
93 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
94 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
95 | |
---|
96 | include $(srcdir)/preinstall.am |
---|
97 | include $(top_srcdir)/../../../../automake/local.am |
---|