source: rtems/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @ 61bd8cd6

Last change on this file since 61bd8cd6 was 61bd8cd6, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 5, 2017 at 1:26:59 PM

bsp/gen5200: Avoid duplicate header installation

Update #3254.

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