source: rtems/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @ 5e8726d0

4.104.115
Last change on this file since 5e8726d0 was 6c45275a, checked in by Joel Sherrill <joel.sherrill@…>, on 09/03/08 at 16:36:27

2008-09-03 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, bestcomm/load_task.c, bestcomm/task_api/tasksetup_general.h: Eliminate requirement to build bestcomm as a relocatable lump. This should reduce the minimum footprint considerably.
  • Property mode set to 100644
File size: 4.4 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10libcpudir = ../../../libcpu/@RTEMS_CPU@
11
12dist_project_lib_DATA = bsp_specs
13
14include_HEADERS = include/bsp.h include/i2cdrv.h include/u-boot.h \
15    include/i2c.h
16include_HEADERS += include/tm27.h
17
18nodist_include_HEADERS = include/bspopts.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23include_bspdir = $(includedir)/bsp
24
25include_HEADERS += include/coverhd.h
26
27nodist_include_HEADERS += ../../shared/tod.h
28
29EXTRA_DIST = start/start.S
30start.$(OBJEXT): start/start.S
31        $(CPPASCOMPILE) -o $@ -c $<
32project_lib_DATA = start.$(OBJEXT)
33
34EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
35rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
36        $(CPPASCOMPILE) -o $@ -c $<
37project_lib_DATA += rtems_crti.$(OBJEXT)
38
39dist_project_lib_DATA += startup/linkcmds \
40        startup/linkcmds.base \
41        startup/linkcmds.brs5l \
42        startup/linkcmds.icecube \
43        startup/linkcmds.pm520
44
45bestcomm_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
63clock_SOURCES = clock/clock.c
64console_SOURCES = console/console.c
65i2c_SOURCES = i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c i2c/mpc5200mbus.h
66ide_SOURCES = ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h
67
68include_bsp_HEADERS = $(libcpudir)/new-exceptions/bspsupport/vectors.h \
69        $(libcpudir)/new-exceptions/bspsupport/ppc_exc_bspsupp.h \
70        ../../shared/include/irq-generic.h \
71        include/irq-config.h \
72        include/irq.h \
73        include/i2cdrv.h \
74        include/i2c.h \
75        include/mpc5200.h \
76        include/mscan-base.h \
77        include/u-boot.h \
78        mscan/mscan.h
79
80irq_SOURCES = include/irq.h \
81        include/irq-config.h \
82        irq/irq.c \
83        ../../shared/src/irq-generic.c \
84        ../../shared/src/irq-legacy.c
85
86mscan_SOURCES = mscan/mscan.c mscan/mscan-base.c mscan/mscan.h mscan/mscan_int.h
87
88include_bsp_HEADERS += nvram/nvram.h
89nvram_SOURCES = nvram/nvram.c nvram/nvram.h nvram/m93cxx.h
90
91include_bsp_HEADERS += slicetimer/slicetimer.h
92slicetimer_SOURCES = slicetimer/slicetimer.c slicetimer/slicetimer.h
93
94tod_SOURCES = tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \
95    ../../shared/tod.c
96
97startup_SOURCES = ../../shared/bootcard.c \
98        ../../shared/bsplibc.c \
99        ../../shared/bsppost.c \
100        ../../shared/bsppretaskinghook.c \
101        ../../shared/gnatinstallhandler.c \
102        ../../shared/sbrk.c \
103        ../shared/showbats.c \
104        ../shared/uboot_dump_bdinfo.c \
105        ../shared/uboot_getenv.c \
106        startup/bspclean.c \
107        startup/bspstart.c \
108        startup/cpuinit.c  \
109        startup/uboot_support.c
110
111if HAS_NETWORKING
112network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
113network_CPPFLAGS += -D__BSD_VISIBLE
114noinst_PROGRAMS += network.rel
115network_rel_SOURCES = network_5200/network.c
116network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
117network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
118endif
119
120noinst_LIBRARIES = libbsp.a
121libbsp_a_SOURCES = $(clock_SOURCES) $(console_SOURCES) $(i2c_SOURCES) \
122    $(ide_SOURCES) $(irq_SOURCES) $(mscan_SOURCES) $(nvram_SOURCES) \
123    $(slicetimer_SOURCES) $(tod_SOURCES) $(startup_SOURCES) $(bestcomm_SOURCES)
124
125libbsp_a_LIBADD =  $(libcpudir)/shared/cpuIdent.rel \
126        $(libcpudir)/shared/cache.rel \
127        $(libcpudir)/shared/stack.rel \
128        $(libcpudir)/@exceptions@/rtems-cpu.rel \
129        $(libcpudir)/@exceptions@/raw_exception.rel \
130        $(libcpudir)/@exceptions@/exc_bspsupport.rel \
131        $(libcpudir)/mpc6xx/mmu.rel \
132        $(libcpudir)/mpc6xx/timer.rel
133
134if HAS_NETWORKING
135libbsp_a_LIBADD += network.rel
136endif
137
138include $(srcdir)/preinstall.am
139include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.