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