1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | |
---|
11 | dist_project_lib_DATA = bsp_specs |
---|
12 | |
---|
13 | include_HEADERS = include/bsp.h include/i2cdrv.h include/u-boot.h \ |
---|
14 | include/i2c.h |
---|
15 | include_HEADERS += include/tm27.h |
---|
16 | |
---|
17 | nodist_include_HEADERS = include/bspopts.h |
---|
18 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
19 | DISTCLEANFILES = include/bspopts.h |
---|
20 | |
---|
21 | noinst_PROGRAMS = |
---|
22 | |
---|
23 | include_HEADERS += ../../shared/include/coverhd.h |
---|
24 | |
---|
25 | nodist_include_HEADERS += ../../shared/tod.h |
---|
26 | |
---|
27 | noinst_LIBRARIES = libbspstart.a |
---|
28 | libbspstart_a_SOURCES = start/start.S |
---|
29 | project_lib_DATA = start.$(OBJEXT) |
---|
30 | |
---|
31 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S |
---|
32 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
33 | |
---|
34 | dist_project_lib_DATA += startup/linkcmds.base |
---|
35 | project_lib_DATA += startup/linkcmds |
---|
36 | EXTRA_DIST = startup/linkcmds.brs5l |
---|
37 | EXTRA_DIST += startup/linkcmds.icecube |
---|
38 | EXTRA_DIST += startup/linkcmds.pm520_cr825 |
---|
39 | EXTRA_DIST += startup/linkcmds.pm520_ze30 |
---|
40 | |
---|
41 | noinst_LIBRARIES += libbsp.a |
---|
42 | libbsp_a_SOURCES = |
---|
43 | |
---|
44 | # bestcomm |
---|
45 | libbsp_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 |
---|
62 | |
---|
63 | # clock |
---|
64 | # clock |
---|
65 | libbsp_a_SOURCES += ../shared/clock/clock.c |
---|
66 | # console |
---|
67 | libbsp_a_SOURCES += console/console.c |
---|
68 | # i2c |
---|
69 | libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c i2c/mpc5200mbus.h |
---|
70 | # ide |
---|
71 | libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h |
---|
72 | |
---|
73 | include_bsp_HEADERS = ../../shared/include/irq-generic.h \ |
---|
74 | ../../shared/include/irq-info.h \ |
---|
75 | include/irq.h \ |
---|
76 | include/i2cdrv.h \ |
---|
77 | include/i2c.h \ |
---|
78 | include/mpc5200.h \ |
---|
79 | include/mscan-base.h \ |
---|
80 | include/u-boot.h \ |
---|
81 | mscan/mscan.h |
---|
82 | |
---|
83 | # irq |
---|
84 | libbsp_a_SOURCES += include/irq.h \ |
---|
85 | irq/irq.c \ |
---|
86 | ../../shared/src/irq-generic.c \ |
---|
87 | ../../shared/src/irq-legacy.c \ |
---|
88 | ../../shared/src/irq-info.c \ |
---|
89 | ../../shared/src/irq-shell.c \ |
---|
90 | ../../shared/src/irq-server.c |
---|
91 | |
---|
92 | # mscan |
---|
93 | libbsp_a_SOURCES += mscan/mscan.c mscan/mscan-base.c mscan/mscan.h mscan/mscan_int.h |
---|
94 | |
---|
95 | include_bsp_HEADERS += nvram/nvram.h |
---|
96 | # nvram |
---|
97 | libbsp_a_SOURCES += nvram/nvram.c nvram/nvram.h nvram/m93cxx.h |
---|
98 | |
---|
99 | include_bsp_HEADERS += slicetimer/slicetimer.h |
---|
100 | # slicetimer |
---|
101 | libbsp_a_SOURCES += slicetimer/slicetimer.c slicetimer/slicetimer.h |
---|
102 | |
---|
103 | # tod |
---|
104 | libbsp_a_SOURCES += tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \ |
---|
105 | ../../shared/tod.c |
---|
106 | |
---|
107 | # startup |
---|
108 | libbsp_a_SOURCES += ../../shared/bootcard.c \ |
---|
109 | ../../shared/bsplibc.c \ |
---|
110 | ../../shared/bsppost.c \ |
---|
111 | ../../shared/bsppretaskinghook.c \ |
---|
112 | ../../shared/bsppredriverhook.c \ |
---|
113 | ../../shared/gnatinstallhandler.c \ |
---|
114 | ../../shared/sbrk.c \ |
---|
115 | ../shared/showbats.c \ |
---|
116 | ../shared/uboot_dump_bdinfo.c \ |
---|
117 | ../shared/uboot_getenv.c \ |
---|
118 | ../../shared/bspclean.c \ |
---|
119 | startup/bspreset.c \ |
---|
120 | ../../shared/bspgetworkarea.c \ |
---|
121 | ../shared/startup/bspidle.c \ |
---|
122 | startup/bspstart.c \ |
---|
123 | startup/cpuinit.c \ |
---|
124 | startup/uboot_support.c |
---|
125 | |
---|
126 | if HAS_NETWORKING |
---|
127 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
128 | network_CPPFLAGS += -D__BSD_VISIBLE |
---|
129 | noinst_PROGRAMS += network.rel |
---|
130 | network_rel_SOURCES = network_5200/network.c |
---|
131 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
132 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
133 | endif |
---|
134 | |
---|
135 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
136 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
137 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
138 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
139 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
140 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
141 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
142 | |
---|
143 | if HAS_NETWORKING |
---|
144 | libbsp_a_LIBADD += network.rel |
---|
145 | endif |
---|
146 | |
---|
147 | include $(srcdir)/preinstall.am |
---|
148 | include $(top_srcdir)/../../../../automake/local.am |
---|