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

4.115
Last change on this file since 6273201 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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