source: rtems/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am @ 63de714c

4.104.114.95
Last change on this file since 63de714c was 63de714c, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 09/08/08 at 09:55:39

added new BSP for TQM8xx boards

  • Property mode set to 100644
File size: 2.6 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15libcpudir = ../../../libcpu/@RTEMS_CPU@
16
17nodist_include_HEADERS = include/bspopts.h
18DISTCLEANFILES = include/bspopts.h
19
20noinst_PROGRAMS =
21
22include_bspdir = $(includedir)/bsp
23
24include_HEADERS += include/coverhd.h
25include_bsp_HEADERS = include/tqm.h include/8xx_immap.h \
26    include/irq.h include/irq-config.h \
27    ../../shared/include/irq-generic.h\
28    $(libcpudir)/@exceptions@/bspsupport/vectors.h \
29    $(libcpudir)/@exceptions@/bspsupport/ppc_exc_bspsupp.h
30
31
32EXTRA_DIST = times-tqm866
33
34EXTRA_DIST += startup/start.S
35start.$(OBJEXT): startup/start.S
36        $(CPPASCOMPILE) -o $@ -c $<
37project_lib_DATA = start.$(OBJEXT)
38
39EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
40rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
41        $(CPPASCOMPILE) -o $@ -c $<
42project_lib_DATA += rtems_crti.$(OBJEXT)
43
44dist_project_lib_DATA += startup/linkcmds.base\
45                         startup/linkcmds.tqm8xx
46
47irq_SOURCES = include/irq-config.h \
48        irq/irq.c \
49        ../../shared/src/irq-generic.c \
50        ../../shared/src/irq-legacy.c
51
52# clock_SOURCES = ../shared/clock/clock.c
53p_clock_SOURCES = clock/p_clock.c
54
55console_SOURCES = console/console.c
56timer_SOURCES = timer/timer.c
57startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
58    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
59    startup/bspstart.c ../../shared/bootcard.c \
60    startup/mmutlbtab.c startup/cpuinit.c \
61    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
62
63if HAS_NETWORKING
64network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
65noinst_PROGRAMS += network.rel
66network_rel_SOURCES = network/network_scc.c network/network_fec.c
67network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
68network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
69endif
70
71noinst_LIBRARIES = libbsp.a
72libbsp_a_SOURCES = $(irq_SOURCES) \
73    $(startup_SOURCES) $(console_SOURCES) \
74    $(p_clock_SOURCES) $(timer_SOURCES)
75
76libbsp_a_LIBADD = \
77    $(libcpudir)/shared/cpuIdent.rel \
78    $(libcpudir)/shared/cache.rel \
79    $(libcpudir)/@exceptions@/rtems-cpu.rel \
80    $(libcpudir)/@exceptions@/raw_exception.rel \
81    $(libcpudir)/@exceptions@/exc_bspsupport.rel \
82    $(libcpudir)/mpc8xx/console-generic.rel \
83    $(libcpudir)/mpc8xx/cpm.rel \
84    $(libcpudir)/mpc8xx/clock.rel \
85    $(libcpudir)/mpc8xx/mmu.rel \
86    $(libcpudir)/mpc8xx/timer.rel
87
88if HAS_NETWORKING
89libbsp_a_LIBADD += network.rel
90endif
91
92include $(srcdir)/preinstall.am
93include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.