1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | EXTRA_DIST = |
---|
3 | |
---|
4 | include $(top_srcdir)/../../../../automake/compile.am |
---|
5 | include $(top_srcdir)/../../bsp.am |
---|
6 | |
---|
7 | include_bspdir = $(includedir)/bsp |
---|
8 | include_bestcommdir = $(include_bspdir)/bestcomm |
---|
9 | include_bestcomm_includedir = $(include_bestcommdir)/include |
---|
10 | include_bestcomm_include_mgt5200dir = $(include_bestcomm_includedir)/mgt5200 |
---|
11 | include_bestcomm_task_apidir = $(include_bestcommdir)/task_api |
---|
12 | |
---|
13 | dist_project_lib_DATA = bsp_specs |
---|
14 | |
---|
15 | include_HEADERS = include/bsp.h include/i2cdrv.h \ |
---|
16 | include/i2c.h |
---|
17 | include_HEADERS += include/tm27.h |
---|
18 | |
---|
19 | nodist_include_HEADERS = include/bspopts.h |
---|
20 | DISTCLEANFILES = include/bspopts.h |
---|
21 | |
---|
22 | noinst_PROGRAMS = |
---|
23 | |
---|
24 | |
---|
25 | EXTRA_DIST += start/start.S |
---|
26 | start.$(OBJEXT): start/start.S |
---|
27 | $(CPPASCOMPILE) -o $@ -c $< |
---|
28 | project_lib_DATA = start.$(OBJEXT) |
---|
29 | |
---|
30 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
31 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
32 | $(CPPASCOMPILE) -o $@ -c $< |
---|
33 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
34 | |
---|
35 | dist_project_lib_DATA += startup/linkcmds.base |
---|
36 | project_lib_DATA += startup/linkcmds |
---|
37 | EXTRA_DIST += startup/linkcmds.brs5l |
---|
38 | EXTRA_DIST += startup/linkcmds.brs6l |
---|
39 | EXTRA_DIST += startup/linkcmds.icecube |
---|
40 | EXTRA_DIST += startup/linkcmds.pm520_cr825 |
---|
41 | EXTRA_DIST += startup/linkcmds.pm520_ze30 |
---|
42 | EXTRA_DIST += startup/linkcmds.dp2 |
---|
43 | |
---|
44 | noinst_LIBRARIES = libbsp.a |
---|
45 | libbsp_a_SOURCES = |
---|
46 | |
---|
47 | # bestcomm |
---|
48 | libbsp_a_SOURCES += bestcomm/include/ppctypes.h \ |
---|
49 | bestcomm/include/mgt5200/mgt5200.h bestcomm/include/mgt5200/sdma.h \ |
---|
50 | bestcomm/bestcomm_api.c bestcomm/bestcomm_api.h bestcomm/bestcomm_glue.c \ |
---|
51 | bestcomm/bestcomm_glue.h bestcomm/dma_image.c bestcomm/dma_image.capi.h \ |
---|
52 | bestcomm/dma_image.h bestcomm/dma_image.reloc.c bestcomm/load_task.c \ |
---|
53 | bestcomm/tasksetup_ata.c bestcomm/tasksetup_bdtable.c \ |
---|
54 | bestcomm/tasksetup_crc16_dp_0.c bestcomm/tasksetup_crc16_dp_1.c \ |
---|
55 | bestcomm/tasksetup_fec_rx_bd.c bestcomm/tasksetup_fec_tx_bd.c \ |
---|
56 | bestcomm/tasksetup_gen_dp_0.c bestcomm/tasksetup_gen_dp_1.c \ |
---|
57 | bestcomm/tasksetup_gen_dp_2.c bestcomm/tasksetup_gen_dp_3.c \ |
---|
58 | bestcomm/tasksetup_gen_dp_bd_0.c bestcomm/tasksetup_gen_dp_bd_1.c \ |
---|
59 | bestcomm/tasksetup_gen_rx_bd.c bestcomm/tasksetup_gen_tx_bd.c \ |
---|
60 | bestcomm/tasksetup_lpc.c bestcomm/tasksetup_pci_rx.c \ |
---|
61 | bestcomm/tasksetup_pci_tx.c bestcomm/bestcomm_priv.h \ |
---|
62 | bestcomm/task_api/bestcomm_api_mem.h bestcomm/task_api/bestcomm_cntrl.h \ |
---|
63 | bestcomm/task_api/tasksetup_bdtable.h \ |
---|
64 | bestcomm/task_api/tasksetup_general.h |
---|
65 | include_bestcomm_HEADERS = bestcomm/bestcomm_priv.h \ |
---|
66 | bestcomm/dma_image.h \ |
---|
67 | bestcomm/dma_image.capi.h \ |
---|
68 | bestcomm/bestcomm_api.h \ |
---|
69 | bestcomm/bestcomm_glue.h |
---|
70 | include_bestcomm_include_HEADERS = bestcomm/include/ppctypes.h |
---|
71 | include_bestcomm_include_mgt5200_HEADERS = bestcomm/include/mgt5200/mgt5200.h \ |
---|
72 | bestcomm/include/mgt5200/sdma.h |
---|
73 | include_bestcomm_task_api_HEADERS = bestcomm/task_api/tasksetup_general.h \ |
---|
74 | bestcomm/task_api/tasksetup_bdtable.h \ |
---|
75 | bestcomm/task_api/bestcomm_cntrl.h \ |
---|
76 | bestcomm/task_api/bestcomm_api_mem.h |
---|
77 | |
---|
78 | # clock |
---|
79 | # clock |
---|
80 | libbsp_a_SOURCES += ../shared/clock/clock.c |
---|
81 | # console |
---|
82 | libbsp_a_SOURCES += console/console.c |
---|
83 | # i2c |
---|
84 | libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c i2c/mpc5200mbus.h |
---|
85 | # ide |
---|
86 | libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h |
---|
87 | libbsp_a_SOURCES += ide/ata.c |
---|
88 | libbsp_a_SOURCES += ide/ata-instance.c |
---|
89 | libbsp_a_SOURCES += ide/ata-dma-pio-single.c |
---|
90 | |
---|
91 | include_bsp_HEADERS = |
---|
92 | include_bsp_HEADERS += ../../shared/include/bootcard.h |
---|
93 | include_bsp_HEADERS += ../../shared/include/irq-generic.h |
---|
94 | include_bsp_HEADERS += ../../shared/include/irq-info.h |
---|
95 | include_bsp_HEADERS += ../../shared/include/u-boot.h |
---|
96 | include_bsp_HEADERS += ../../shared/include/utility.h |
---|
97 | include_bsp_HEADERS += ../shared/include/u-boot-board-info.h |
---|
98 | include_bsp_HEADERS += include/ata.h |
---|
99 | include_bsp_HEADERS += include/bestcomm.h |
---|
100 | include_bsp_HEADERS += include/bestcomm_ops.h |
---|
101 | include_bsp_HEADERS += include/i2cdrv.h |
---|
102 | include_bsp_HEADERS += include/i2c.h |
---|
103 | include_bsp_HEADERS += include/irq.h |
---|
104 | include_bsp_HEADERS += include/mpc5200.h |
---|
105 | include_bsp_HEADERS += include/mscan-base.h |
---|
106 | include_bsp_HEADERS += include/u-boot-config.h |
---|
107 | include_bsp_HEADERS += mscan/mscan.h |
---|
108 | |
---|
109 | # irq |
---|
110 | libbsp_a_SOURCES += include/irq.h \ |
---|
111 | irq/irq.c \ |
---|
112 | ../../shared/src/irq-generic.c \ |
---|
113 | ../../shared/src/irq-legacy.c \ |
---|
114 | ../../shared/src/irq-info.c \ |
---|
115 | ../../shared/src/irq-shell.c \ |
---|
116 | ../../shared/src/irq-server.c |
---|
117 | |
---|
118 | # mscan |
---|
119 | libbsp_a_SOURCES += mscan/mscan.c mscan/mscan-base.c mscan/mscan.h mscan/mscan_int.h |
---|
120 | |
---|
121 | include_bsp_HEADERS += nvram/nvram.h |
---|
122 | # nvram |
---|
123 | libbsp_a_SOURCES += nvram/nvram.c nvram/nvram.h nvram/m93cxx.h |
---|
124 | |
---|
125 | include_bsp_HEADERS += slicetimer/slicetimer.h |
---|
126 | # slicetimer |
---|
127 | libbsp_a_SOURCES += slicetimer/slicetimer.c slicetimer/slicetimer.h |
---|
128 | |
---|
129 | # tod |
---|
130 | libbsp_a_SOURCES += tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \ |
---|
131 | ../../shared/tod.c |
---|
132 | |
---|
133 | # startup |
---|
134 | libbsp_a_SOURCES += ../../shared/bootcard.c |
---|
135 | libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c |
---|
136 | libbsp_a_SOURCES += ../../shared/bspclean.c |
---|
137 | libbsp_a_SOURCES += ../../shared/bspgetworkarea.c |
---|
138 | libbsp_a_SOURCES += ../../shared/bsppredriverhook.c |
---|
139 | libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c |
---|
140 | libbsp_a_SOURCES += ../../shared/sbrk.c |
---|
141 | libbsp_a_SOURCES += ../../shared/src/bsp-uboot-board-info.c |
---|
142 | libbsp_a_SOURCES += ../shared/showbats.c |
---|
143 | libbsp_a_SOURCES += ../shared/src/memcpy.c |
---|
144 | libbsp_a_SOURCES += ../shared/startup/bspidle.c |
---|
145 | libbsp_a_SOURCES += ../shared/uboot_dump_bdinfo.c |
---|
146 | libbsp_a_SOURCES += ../shared/uboot_getenv.c |
---|
147 | libbsp_a_SOURCES += startup/bspreset.c |
---|
148 | libbsp_a_SOURCES += startup/bspstart.c |
---|
149 | libbsp_a_SOURCES += startup/cpuinit.c |
---|
150 | libbsp_a_SOURCES += startup/uboot_support.c |
---|
151 | libbsp_a_SOURCES += startup/bestcomm.c |
---|
152 | |
---|
153 | if HAS_NETWORKING |
---|
154 | libbsp_a_SOURCES += network_5200/network.c |
---|
155 | endif |
---|
156 | |
---|
157 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
158 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
159 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
160 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
161 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
162 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
163 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
164 | |
---|
165 | include $(srcdir)/preinstall.am |
---|
166 | include $(top_srcdir)/../../../../automake/local.am |
---|