source: rtems/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @ 11fe8c59

Last change on this file since 11fe8c59 was 11fe8c59, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 26, 2018 at 4:18:51 AM

bsps/powerpc: Move MMU support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 4.5 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7dist_project_lib_DATA = startup/bsp_specs
8
9DISTCLEANFILES = include/bspopts.h
10
11noinst_PROGRAMS =
12
13
14EXTRA_DIST += start/start.S
15start.$(OBJEXT): start/start.S
16        $(CPPASCOMPILE) -o $@ -c $<
17project_lib_DATA = start.$(OBJEXT)
18
19EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
20rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
21        $(CPPASCOMPILE) -o $@ -c $<
22project_lib_DATA += rtems_crti.$(OBJEXT)
23
24project_lib_DATA += linkcmds
25dist_project_lib_DATA += startup/linkcmds.brs5l
26dist_project_lib_DATA += startup/linkcmds.brs6l
27dist_project_lib_DATA += startup/linkcmds.dp2
28dist_project_lib_DATA += startup/linkcmds.gen5200_base
29dist_project_lib_DATA += startup/linkcmds.icecube
30dist_project_lib_DATA += startup/linkcmds.pm520_cr825
31dist_project_lib_DATA += startup/linkcmds.pm520_ze30
32
33noinst_LIBRARIES = libbsp.a
34libbsp_a_SOURCES =
35
36# bestcomm
37libbsp_a_SOURCES += bestcomm/include/ppctypes.h \
38    bestcomm/include/mgt5200/mgt5200.h bestcomm/include/mgt5200/sdma.h \
39    bestcomm/bestcomm_api.c bestcomm/bestcomm_api.h bestcomm/bestcomm_glue.c \
40    bestcomm/bestcomm_glue.h bestcomm/dma_image.c bestcomm/dma_image.capi.h \
41    bestcomm/dma_image.h bestcomm/dma_image.reloc.c bestcomm/load_task.c \
42    bestcomm/tasksetup_ata.c bestcomm/tasksetup_bdtable.c \
43    bestcomm/tasksetup_crc16_dp_0.c bestcomm/tasksetup_crc16_dp_1.c \
44    bestcomm/tasksetup_fec_rx_bd.c bestcomm/tasksetup_fec_tx_bd.c \
45    bestcomm/tasksetup_gen_dp_0.c bestcomm/tasksetup_gen_dp_1.c \
46    bestcomm/tasksetup_gen_dp_2.c bestcomm/tasksetup_gen_dp_3.c \
47    bestcomm/tasksetup_gen_dp_bd_0.c bestcomm/tasksetup_gen_dp_bd_1.c \
48    bestcomm/tasksetup_gen_rx_bd.c bestcomm/tasksetup_gen_tx_bd.c \
49    bestcomm/tasksetup_lpc.c bestcomm/tasksetup_pci_rx.c \
50    bestcomm/tasksetup_pci_tx.c bestcomm/bestcomm_priv.h \
51    bestcomm/task_api/bestcomm_api_mem.h bestcomm/task_api/bestcomm_cntrl.h \
52    bestcomm/task_api/tasksetup_bdtable.h \
53    bestcomm/task_api/tasksetup_general.h
54# clock
55# clock
56libbsp_a_SOURCES += ../shared/clock/clock.c
57# console
58libbsp_a_SOURCES += console/console.c
59# i2c
60libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c i2c/mpc5200mbus.h
61# ide
62libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h
63libbsp_a_SOURCES += ide/ata.c
64libbsp_a_SOURCES += ide/ata-instance.c
65libbsp_a_SOURCES += ide/ata-dma-pio-single.c
66
67# irq
68libbsp_a_SOURCES += include/irq.h \
69        irq/irq.c \
70        ../../shared/src/irq-generic.c \
71        ../../shared/src/irq-legacy.c \
72        ../../shared/src/irq-info.c \
73        ../../shared/src/irq-shell.c \
74        ../../shared/src/irq-server.c
75
76# mscan
77libbsp_a_SOURCES += mscan/mscan.c mscan/mscan-base.c mscan/mscan.h mscan/mscan_int.h
78
79# nvram
80libbsp_a_SOURCES += nvram/nvram.c nvram/nvram.h nvram/m93cxx.h
81
82# slicetimer
83libbsp_a_SOURCES += slicetimer/slicetimer.c slicetimer/slicetimer.h
84
85# tod
86libbsp_a_SOURCES += tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \
87    ../../shared/tod.c
88
89# startup
90libbsp_a_SOURCES += ../../shared/bootcard.c
91libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
92libbsp_a_SOURCES += ../../shared/bspclean.c
93libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
94libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
95libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
96libbsp_a_SOURCES += ../../shared/sbrk.c
97libbsp_a_SOURCES += ../../shared/src/bsp-uboot-board-info.c
98libbsp_a_SOURCES += ../shared/showbats.c
99libbsp_a_SOURCES += ../shared/src/memcpy.c
100libbsp_a_SOURCES += ../shared/startup/bspidle.c
101libbsp_a_SOURCES += ../shared/uboot_dump_bdinfo.c
102libbsp_a_SOURCES += ../shared/uboot_getenv.c
103libbsp_a_SOURCES += startup/bspreset.c
104libbsp_a_SOURCES += startup/bspstart.c
105libbsp_a_SOURCES += startup/cpuinit.c
106libbsp_a_SOURCES += startup/uboot_support.c
107libbsp_a_SOURCES += startup/bestcomm.c
108
109if HAS_NETWORKING
110libbsp_a_SOURCES += network_5200/network.c
111endif
112
113libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
114libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
115libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
116libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
117libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/ppc-dec-timer.c
118
119include $(top_srcdir)/../../../../automake/local.am
120include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
121include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
122include $(srcdir)/../../../../../../bsps/powerpc/gen5200/headers.am
Note: See TracBrowser for help on using the repository browser.