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

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • Property mode set to 100644
File size: 6.4 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3CLEANFILES      =
4DISTCLEANFILES  =
5noinst_PROGRAMS =
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = startup/bsp_specs
11
12project_lib_DATA      =
13
14#include
15DISTCLEANFILES += include/bspopts.h
16
17#start
18rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
19        $(CPPASCOMPILE) -DASM -o $@ -c $<
20project_lib_DATA += rtems_crti.$(OBJEXT)
21
22
23preload.$(OBJEXT): ../../powerpc/shared/start/preload.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25
26vectors_entry.$(OBJEXT): ../../powerpc/shared/start/vectors_entry.S
27        $(CPPASCOMPILE) -DASM -o $@ -c $<
28
29start.$(OBJEXT): ../../powerpc/shared/start/start.S
30        $(CPPASCOMPILE) -DASM -o $@ -c $<
31
32motld_start.$(OBJEXT):  preload.$(OBJEXT) vectors_entry.$(OBJEXT) start.$(OBJEXT)
33        $(LD) -o $@ -r $^
34
35project_lib_DATA += motld_start.$(OBJEXT)
36
37
38#startup
39
40project_lib_DATA += linkcmds
41dist_project_lib_DATA += ../shared/startup/linkcmds.share
42
43noinst_LIBRARIES = libbsp.a
44libbsp_a_SOURCES =
45
46libbsp_a_SOURCES += startup/bspstart.c \
47    ../shared/motorola/vpd.c startup/bspreset.c startup/i2c_init.c \
48    ../../powerpc/shared/startup/bspgetworkarea.c \
49    ../../powerpc/shared/startup/probeMemEnd.c \
50    ../../powerpc/shared/startup/bsppredriverhook.c \
51    ../../powerpc/shared/startup/zerobss.c \
52    ../../powerpc/shared/startup/pgtbl_setup.c \
53    ../../powerpc/shared/startup/pgtbl_activate.c \
54    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
55    ../../shared/getentropy-cpucounter.c \
56    startup/bspclean.c \
57    ../../shared/gnatinstallhandler.c
58
59#pclock
60libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
61
62#console
63libbsp_a_SOURCES +=  \
64    ../../powerpc/shared/console/uart.c \
65    ../../powerpc/shared/console/console.c \
66    ../../powerpc/shared/console/consoleIo.h \
67    ../../powerpc/shared/console/uart.h
68
69#irq
70libbsp_a_SOURCES += irq/irq_init.c irq/discovery_pic.c
71
72#marvell
73libbsp_a_SOURCES += marvell/discovery.c marvell/gti2c.c marvell/gt_timer.c
74
75#flash
76libbsp_a_SOURCES += ../shared/flash/flash.c \
77    ../shared/flash/intelFlash.c \
78    flash/flashcfg.c
79
80#pci
81libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c \
82    pci/gt_pci_init.c pci/pci_io_remap.c pci/motload_fixup.c \
83    ../../powerpc/shared/pci/pcifinddevice.c
84
85#vme
86libbsp_a_SOURCES += ../shared/vme/vmeconfig.c \
87    ../shared/vme/vme_universe.c \
88    ../../shared/vmeUniverse/vmeUniverse.c \
89    ../../shared/vmeUniverse/vmeTsi148.c \
90    ../../shared/vmeUniverse/bspVmeDmaList.c
91
92#network
93if HAS_NETWORKING
94noinst_PROGRAMS += network_support.rel
95network_support_rel_SOURCES = network/support/early_link_status.c \
96    network/support/bsp_attach.c
97network_support_rel_CPPFLAGS = $(AM_CPPFLAGS)
98network_support_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
99
100noinst_PROGRAMS += network_if_mve_tmp.rel
101network_if_mve_tmp_rel_SOURCES  = network/if_mve/mv643xx_eth.c
102network_if_mve_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) -DDISABLE_DETACHING
103network_if_mve_tmp_rel_CFLAGS   = $(AM_CFLAGS)
104network_if_mve_tmp_rel_LDFLAGS  = $(RTEMS_RELLDFLAGS)
105
106# remove all unneccessary global symbols to avoid name clashes
107# with BSD stuff;
108network_if_mve.rel: network_if_mve_tmp.rel
109        $(OBJCOPY) -G rtems_mve_attach -G rtems_mve_early_link_check_ops \
110                   -G BSP_mve_ack_irqs -G BSP_mve_disable_irqs \
111                   -G BSP_mve_enable_irqs -G BSP_mve_init_hw \
112                   -G BSP_mve_ack_irq_mask -G BSP_mve_disable_irq_mask \
113                   -G BSP_mve_enable_irq_mask -G BSP_mve_setup_1 \
114                   -G BSP_mve_read_eaddr -G BSP_mve_send_buf \
115                   -G BSP_mve_send_buf_raw \
116                   -G BSP_mve_setup -G BSP_mve_stop_hw \
117                   -G BSP_mve_swipe_rx -G BSP_mve_swipe_tx \
118                   -G BSP_mve_detach -G BSP_mve_media_ioctl \
119                   -G BSP_mve_get_tid \
120                   -G BSP_mve_dump_stats -G BSP_mve_ack_link_chg \
121                   -G BSP_mve_mcast_filter_clear \
122                   -G BSP_mve_mcast_filter_accept_all \
123                   -G BSP_mve_mcast_filter_accept_add \
124                   -G BSP_mve_mcast_filter_accept_del \
125                   -G mveth_serial_ctrl_config_val \
126                   $^ $@
127
128noinst_PROGRAMS += network_if_gfe_tmp.rel
129network_if_gfe_tmp_rel_SOURCES = network/if_gfe/if_gfe.c network/if_gfe/if_gfe_rtems.c
130network_if_gfe_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
131    -I$(srcdir)/network/porting -I$(srcdir)/network/if_gfe
132network_if_gfe_tmp_rel_CFLAGS   = $(AM_CFLAGS)
133network_if_gfe_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
134
135# remove all unneccessary global symbols to avoid name clashes
136# with BSD stuff;
137network_if_gfe.rel: network_if_gfe_tmp.rel
138        $(OBJCOPY) -G rtems_gfe_attach -G net_driver_ticks_per_sec \
139                   -G rtems_gfe_setup -G rtems_gfe_early_link_check_ops \
140                   $^ $@
141
142
143noinst_PROGRAMS += network_if_em_tmp.rel
144network_if_em_tmp_rel_SOURCES = network/if_em/if_em.c \
145    network/if_em/if_em_hw.c \
146    network/if_em/if_em_rtems.c
147network_if_em_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS) \
148    -I$(srcdir)/network/porting -I$(srcdir)/network/if_em
149network_if_em_tmp_rel_CFLAGS   = $(AM_CFLAGS)
150network_if_em_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
151
152network_if_em.rel: network_if_em_tmp.rel
153        $(OBJCOPY) -G rtems_em_attach -G net_driver_ticks_per_sec \
154                   -G rtems_em_pci_setup -G rtems_em_early_link_check_ops \
155                   $^ $@
156
157libbsp_a_LIBADD = network_support.rel \
158    network_if_mve.rel network_if_gfe.rel network_if_em.rel
159endif
160
161# tod
162libbsp_a_SOURCES += ../../shared/tod.c tod/todcfg.c
163
164libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
165libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
166libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
167libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/clock-ppc-dec.c
168libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/timer-ppc-dec.c
169libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
170libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
171libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
172libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
173
174
175include $(top_srcdir)/../../../../automake/local.am
176include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
177include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
178include $(srcdir)/../../../../../../bsps/powerpc/beatnik/headers.am
Note: See TracBrowser for help on using the repository browser.