source: rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am @ e58e29fd

5
Last change on this file since e58e29fd was e58e29fd, checked in by Sebastian Huber <sebastian.huber@…>, on 11/24/17 at 06:58:55

Remove coverhd.h

This header file contained timing overhead values which are hard to
maintain.

Update #3254.

  • Property mode set to 100644
File size: 7.9 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3CLEANFILES      =
4DISTCLEANFILES  =
5noinst_PROGRAMS =
6EXTRA_DIST      =
7
8include $(top_srcdir)/../../../../automake/compile.am
9include $(top_srcdir)/../../bsp.am
10
11include_bspdir = $(includedir)/bsp
12
13dist_project_lib_DATA = bsp_specs
14project_lib_DATA      =
15
16#include
17include_HEADERS = include/bsp.h
18
19nodist_include_HEADERS = include/bspopts.h
20nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
21nodist_include_HEADERS += ../../shared/include/tm27.h
22DISTCLEANFILES += include/bspopts.h
23
24include_bsp_HEADERS =
25
26#start
27EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
28rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
29        $(CPPASCOMPILE) -DASM -o $@ -c $<
30project_lib_DATA += rtems_crti.$(OBJEXT)
31
32
33EXTRA_DIST += ../../powerpc/shared/start/preload.S
34preload.$(OBJEXT): ../../powerpc/shared/start/preload.S
35        $(CPPASCOMPILE) -DASM -o $@ -c $<
36
37EXTRA_DIST += ../../powerpc/shared/start/vectors_entry.S
38vectors_entry.$(OBJEXT): ../../powerpc/shared/start/vectors_entry.S
39        $(CPPASCOMPILE) -DASM -o $@ -c $<
40
41EXTRA_DIST += ../../powerpc/shared/start/start.S
42start.$(OBJEXT): ../../powerpc/shared/start/start.S
43        $(CPPASCOMPILE) -DASM -o $@ -c $<
44
45motld_start.$(OBJEXT):  preload.$(OBJEXT) vectors_entry.$(OBJEXT) start.$(OBJEXT)
46        $(LD) -o $@ -r $^
47
48project_lib_DATA += motld_start.$(OBJEXT)
49
50
51#startup
52
53dist_project_lib_DATA += ../shared/startup/linkcmds
54
55noinst_LIBRARIES = libbsp.a
56libbsp_a_SOURCES =
57
58libbsp_a_SOURCES += startup/bspstart.c \
59    ../shared/motorola/vpd.c startup/bspreset.c startup/i2c_init.c \
60    ../../powerpc/shared/startup/bspgetworkarea.c \
61    ../../powerpc/shared/startup/probeMemEnd.c \
62    ../../powerpc/shared/startup/bsppredriverhook.c \
63    ../../powerpc/shared/startup/zerobss.c \
64    ../../powerpc/shared/startup/pgtbl_setup.c \
65    ../../powerpc/shared/startup/pgtbl_activate.c \
66    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
67    ../../shared/getentropy-cpucounter.c \
68    startup/bspclean.c \
69    ../../shared/gnatinstallhandler.c
70
71include_bsp_HEADERS += ../shared/motorola/vpd.h
72
73#pclock
74libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
75
76#console
77include_bsp_HEADERS += ../../powerpc/shared/console/consoleIo.h
78include_bsp_HEADERS += ../../powerpc/shared/console/uart.h
79
80libbsp_a_SOURCES +=  \
81    ../../powerpc/shared/console/uart.c \
82    ../../powerpc/shared/console/console.c \
83    ../../powerpc/shared/console/consoleIo.h \
84    ../../powerpc/shared/console/uart.h
85
86#irq
87include_bsp_HEADERS += irq/irq.h
88
89libbsp_a_SOURCES += irq/irq_init.c irq/discovery_pic.c
90
91#marvell
92include_bsp_HEADERS += marvell/gtreg.h marvell/gtintrreg.h \
93    marvell/gti2creg.h marvell/gti2c_busdrv.h marvell/gt_timer.h \
94    marvell/gtpcireg.h
95
96libbsp_a_SOURCES += marvell/discovery.c marvell/gti2c.c marvell/gt_timer.c
97
98#flash
99include_bsp_HEADERS += ../shared/flash/flashPgm.h
100include_bsp_HEADERS += ../shared/flash/flashPgmPvt.h
101
102libbsp_a_SOURCES += ../shared/flash/flash.c \
103    ../shared/flash/intelFlash.c \
104    flash/flashcfg.c
105
106#pci
107include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
108
109libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c \
110    pci/gt_pci_init.c pci/pci_io_remap.c pci/motload_fixup.c \
111    ../../powerpc/shared/pci/pcifinddevice.c
112
113#vectors
114include_bsp_HEADERS += ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h
115include_bsp_HEADERS += ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
116
117#vme
118include_bsp_HEADERS += vme/VMEConfig.h \
119    ../../shared/vmeUniverse/vmeUniverse.h \
120    ../../shared/vmeUniverse/vmeUniverseDMA.h \
121    ../../shared/vmeUniverse/vme_am_defs.h \
122    ../../shared/vmeUniverse/vmeTsi148.h \
123    ../../shared/vmeUniverse/vmeTsi148DMA.h \
124    ../../shared/vmeUniverse/bspVmeDmaList.h \
125    ../../shared/vmeUniverse/VME.h \
126    ../../shared/vmeUniverse/VMEDMA.h
127
128libbsp_a_SOURCES += ../shared/vme/vmeconfig.c \
129    ../shared/vme/vme_universe.c \
130    ../../shared/vmeUniverse/vmeUniverse.c \
131    ../../shared/vmeUniverse/vmeTsi148.c \
132    ../../shared/vmeUniverse/bspVmeDmaList.c
133
134#network
135if HAS_NETWORKING
136include_bsp_HEADERS += network/support/early_enet_link_status.h \
137    network/support/bsp_bsdnet_attach.h
138
139noinst_PROGRAMS += network_support.rel
140network_support_rel_SOURCES = network/support/early_link_status.c \
141    network/support/bsp_attach.c
142network_support_rel_CPPFLAGS = $(AM_CPPFLAGS)
143network_support_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
144
145include_bsp_HEADERS += network/if_mve/if_mve_pub.h
146
147noinst_PROGRAMS += network_if_mve_tmp.rel
148network_if_mve_tmp_rel_SOURCES  = network/if_mve/mv643xx_eth.c
149network_if_mve_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) -DDISABLE_DETACHING
150network_if_mve_tmp_rel_CFLAGS   = $(AM_CFLAGS)
151network_if_mve_tmp_rel_LDFLAGS  = $(RTEMS_RELLDFLAGS)
152
153# remove all unneccessary global symbols to avoid name clashes
154# with BSD stuff;
155network_if_mve.rel: network_if_mve_tmp.rel
156        $(OBJCOPY) -G rtems_mve_attach -G rtems_mve_early_link_check_ops \
157                   -G BSP_mve_ack_irqs -G BSP_mve_disable_irqs \
158                   -G BSP_mve_enable_irqs -G BSP_mve_init_hw \
159                   -G BSP_mve_ack_irq_mask -G BSP_mve_disable_irq_mask \
160                   -G BSP_mve_enable_irq_mask -G BSP_mve_setup_1 \
161                   -G BSP_mve_read_eaddr -G BSP_mve_send_buf \
162                   -G BSP_mve_send_buf_raw \
163                   -G BSP_mve_setup -G BSP_mve_stop_hw \
164                   -G BSP_mve_swipe_rx -G BSP_mve_swipe_tx \
165                   -G BSP_mve_detach -G BSP_mve_media_ioctl \
166                   -G BSP_mve_get_tid \
167                   -G BSP_mve_dump_stats -G BSP_mve_ack_link_chg \
168                   -G BSP_mve_mcast_filter_clear \
169                   -G BSP_mve_mcast_filter_accept_all \
170                   -G BSP_mve_mcast_filter_accept_add \
171                   -G BSP_mve_mcast_filter_accept_del \
172                   -G mveth_serial_ctrl_config_val \
173                   $^ $@
174
175include_bsp_HEADERS += network/if_gfe/if_gfe_pub.h
176
177noinst_PROGRAMS += network_if_gfe_tmp.rel
178network_if_gfe_tmp_rel_SOURCES = network/if_gfe/if_gfe.c network/if_gfe/if_gfe_rtems.c
179network_if_gfe_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
180    -I$(srcdir)/network/porting -I$(srcdir)/network/if_gfe
181network_if_gfe_tmp_rel_CFLAGS   = $(AM_CFLAGS)
182network_if_gfe_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
183
184# remove all unneccessary global symbols to avoid name clashes
185# with BSD stuff;
186network_if_gfe.rel: network_if_gfe_tmp.rel
187        $(OBJCOPY) -G rtems_gfe_attach -G net_driver_ticks_per_sec \
188                   -G rtems_gfe_setup -G rtems_gfe_early_link_check_ops \
189                   $^ $@
190
191
192include_bsp_HEADERS += network/if_em/if_em_pub.h
193
194noinst_PROGRAMS += network_if_em_tmp.rel
195network_if_em_tmp_rel_SOURCES = network/if_em/if_em.c \
196    network/if_em/if_em_hw.c \
197    network/if_em/if_em_rtems.c
198network_if_em_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
199    -I$(srcdir)/network/porting -I$(srcdir)/network/if_em
200network_if_em_tmp_rel_CFLAGS   = $(AM_CFLAGS)
201network_if_em_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
202
203network_if_em.rel: network_if_em_tmp.rel
204        $(OBJCOPY) -G rtems_em_attach -G net_driver_ticks_per_sec \
205                   -G rtems_em_pci_setup -G rtems_em_early_link_check_ops \
206                   $^ $@
207endif
208
209# tod
210libbsp_a_SOURCES += ../../shared/tod.c tod/todcfg.c
211
212libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
213    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
214    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
215    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
216    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
217    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
218    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
219    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
220    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
221    ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
222
223if HAS_NETWORKING
224libbsp_a_LIBADD += network_support.rel \
225    network_if_mve.rel network_if_gfe.rel network_if_em.rel
226endif
227
228EXTRA_DIST += README LICENSE
229
230include $(srcdir)/preinstall.am
231include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.