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 += 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 | |
---|
21 | include_HEADERS += ../../shared/tod.h |
---|
22 | include_HEADERS += ../../shared/include/coverhd.h include/gen2.h |
---|
23 | |
---|
24 | ### |
---|
25 | dist_project_lib_DATA += startup/linkcmds |
---|
26 | |
---|
27 | startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
28 | startup/bspstart.c ../../powerpc/shared/startup/bspgetworkarea.c \ |
---|
29 | ../../shared/bsppost.c \ |
---|
30 | ../../shared/bootcard.c ../../shared/bsppretaskinghook.c \ |
---|
31 | startup/Hwr_init.c \ |
---|
32 | ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \ |
---|
33 | ../../powerpc/shared/showbats.c |
---|
34 | |
---|
35 | pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c |
---|
36 | console_SOURCES = console/85c30.c console/85c30.h console/console.c \ |
---|
37 | console/tbl85c30.c console/consolebsp.h |
---|
38 | |
---|
39 | include_bsp_HEADERS = ../../powerpc/shared/pci/pci.h \ |
---|
40 | PCI_bus/PCI.h \ |
---|
41 | ../../powerpc/shared/residual/residual.h \ |
---|
42 | ../../powerpc/shared/residual/pnp.h \ |
---|
43 | ../../powerpc/shared/console/consoleIo.h |
---|
44 | |
---|
45 | pci_SOURCES = PCI_bus/flash.c ../../powerpc/shared/pci/pci.c \ |
---|
46 | ../../powerpc/shared/pci/pcifinddevice.c PCI_bus/PCI.c PCI_bus/universe.c |
---|
47 | |
---|
48 | include_bsp_HEADERS += irq/irq.h \ |
---|
49 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \ |
---|
50 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
51 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h |
---|
52 | |
---|
53 | irq_SOURCES = irq/no_pic.c irq/irq_init.c \ |
---|
54 | irq/FPGA.c |
---|
55 | |
---|
56 | vectors_SOURCES = |
---|
57 | |
---|
58 | EXTRA_DIST = start/start.S |
---|
59 | start.$(OBJEXT): start/start.S |
---|
60 | $(CPPASCOMPILE) -o $@ -c $< |
---|
61 | project_lib_DATA = start.$(OBJEXT) |
---|
62 | |
---|
63 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
64 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
65 | $(CPPASCOMPILE) -o $@ -c $< |
---|
66 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
67 | |
---|
68 | noinst_LIBRARIES = libbsp.a |
---|
69 | libbsp_a_SOURCES = $(pclock_SOURCES) $(console_SOURCES) $(irq_SOURCES) \ |
---|
70 | $(pci_SOURCES) $(vectors_SOURCES) $(startup_SOURCES) |
---|
71 | |
---|
72 | libbsp_a_LIBADD = \ |
---|
73 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
74 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
75 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
76 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
77 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
78 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
79 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
80 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
81 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
82 | |
---|
83 | include $(srcdir)/preinstall.am |
---|
84 | include $(top_srcdir)/../../../../automake/local.am |
---|