source: rtems/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @ 33a2faa

Last change on this file since 33a2faa was 33a2faa, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:04:06 AM

bsps: Add EXTRA_DIST to all BSP Makefile.am

This makes it possible to easily use

EXTRA_DIST += foobar

in fragments.

Update #3254.

  • Property mode set to 100644
File size: 5.9 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8include_bestcommdir = $(include_bspdir)/bestcomm
9include_bestcomm_includedir = $(include_bestcommdir)/include
10include_bestcomm_include_mgt5200dir = $(include_bestcomm_includedir)/mgt5200
11include_bestcomm_task_apidir = $(include_bestcommdir)/task_api
12
13dist_project_lib_DATA = bsp_specs
14
15include_HEADERS = include/bsp.h include/i2cdrv.h \
16    include/i2c.h
17include_HEADERS += include/tm27.h
18
19nodist_include_HEADERS = include/bspopts.h
20DISTCLEANFILES = include/bspopts.h
21
22noinst_PROGRAMS =
23
24
25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = start/start.S
27project_lib_DATA = start.$(OBJEXT)
28
29libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
30project_lib_DATA += rtems_crti.$(OBJEXT)
31
32dist_project_lib_DATA += startup/linkcmds.base
33project_lib_DATA += startup/linkcmds
34EXTRA_DIST += startup/linkcmds.brs5l
35EXTRA_DIST += startup/linkcmds.brs6l
36EXTRA_DIST += startup/linkcmds.icecube
37EXTRA_DIST += startup/linkcmds.pm520_cr825
38EXTRA_DIST += startup/linkcmds.pm520_ze30
39EXTRA_DIST += startup/linkcmds.dp2
40
41noinst_LIBRARIES += libbsp.a
42libbsp_a_SOURCES =
43
44# bestcomm
45libbsp_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
62include_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
67include_bestcomm_include_HEADERS = bestcomm/include/ppctypes.h
68include_bestcomm_include_mgt5200_HEADERS = bestcomm/include/mgt5200/mgt5200.h \
69        bestcomm/include/mgt5200/sdma.h
70include_bestcomm_task_api_HEADERS = bestcomm/task_api/tasksetup_general.h \
71        bestcomm/task_api/tasksetup_bdtable.h \
72        bestcomm/task_api/bestcomm_cntrl.h \
73        bestcomm/task_api/bestcomm_api_mem.h
74
75# clock
76# clock
77libbsp_a_SOURCES += ../shared/clock/clock.c
78# console
79libbsp_a_SOURCES += console/console.c
80# i2c
81libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c i2c/mpc5200mbus.h
82# ide
83libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h
84libbsp_a_SOURCES += ide/ata.c
85libbsp_a_SOURCES += ide/ata-instance.c
86libbsp_a_SOURCES += ide/ata-dma-pio-single.c
87
88include_bsp_HEADERS =
89include_bsp_HEADERS += ../../shared/include/bootcard.h
90include_bsp_HEADERS += ../../shared/include/irq-generic.h
91include_bsp_HEADERS += ../../shared/include/irq-info.h
92include_bsp_HEADERS += ../../shared/include/u-boot.h
93include_bsp_HEADERS += ../../shared/include/utility.h
94include_bsp_HEADERS += ../shared/include/u-boot-board-info.h
95include_bsp_HEADERS += include/ata.h
96include_bsp_HEADERS += include/bestcomm.h
97include_bsp_HEADERS += include/bestcomm_ops.h
98include_bsp_HEADERS += include/i2cdrv.h
99include_bsp_HEADERS += include/i2c.h
100include_bsp_HEADERS += include/irq.h
101include_bsp_HEADERS += include/mpc5200.h
102include_bsp_HEADERS += include/mscan-base.h
103include_bsp_HEADERS += include/u-boot-config.h
104include_bsp_HEADERS += mscan/mscan.h
105
106# irq
107libbsp_a_SOURCES += include/irq.h \
108        irq/irq.c \
109        ../../shared/src/irq-generic.c \
110        ../../shared/src/irq-legacy.c \
111        ../../shared/src/irq-info.c \
112        ../../shared/src/irq-shell.c \
113        ../../shared/src/irq-server.c
114
115# mscan
116libbsp_a_SOURCES += mscan/mscan.c mscan/mscan-base.c mscan/mscan.h mscan/mscan_int.h
117
118include_bsp_HEADERS += nvram/nvram.h
119# nvram
120libbsp_a_SOURCES += nvram/nvram.c nvram/nvram.h nvram/m93cxx.h
121
122include_bsp_HEADERS += slicetimer/slicetimer.h
123# slicetimer
124libbsp_a_SOURCES += slicetimer/slicetimer.c slicetimer/slicetimer.h
125
126# tod
127libbsp_a_SOURCES += tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \
128    ../../shared/tod.c
129
130# startup
131libbsp_a_SOURCES += ../../shared/bootcard.c
132libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
133libbsp_a_SOURCES += ../../shared/bspclean.c
134libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
135libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
136libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
137libbsp_a_SOURCES += ../../shared/sbrk.c
138libbsp_a_SOURCES += ../../shared/src/bsp-uboot-board-info.c
139libbsp_a_SOURCES += ../shared/showbats.c
140libbsp_a_SOURCES += ../shared/src/memcpy.c
141libbsp_a_SOURCES += ../shared/startup/bspidle.c
142libbsp_a_SOURCES += ../shared/uboot_dump_bdinfo.c
143libbsp_a_SOURCES += ../shared/uboot_getenv.c
144libbsp_a_SOURCES += startup/bspreset.c
145libbsp_a_SOURCES += startup/bspstart.c
146libbsp_a_SOURCES += startup/cpuinit.c
147libbsp_a_SOURCES += startup/uboot_support.c
148libbsp_a_SOURCES += startup/bestcomm.c
149
150if HAS_NETWORKING
151libbsp_a_SOURCES += network_5200/network.c
152endif
153
154libbsp_a_LIBADD =  ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
155        ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
156        ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
157        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
158        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
159        ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
160        ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
161
162include $(srcdir)/preinstall.am
163include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.