source: rtems/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @ 92d8038

4.115
Last change on this file since 92d8038 was 92d8038, checked in by Sebastian Huber <sebastian.huber@…>, on 04/19/13 at 09:53:07

bsp/mpc5200: New BSP variant BRS6L

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