source: rtems/c/src/lib/libbsp/m68k/mcf5235/Makefile.am @ dd309b1

4.115
Last change on this file since dd309b1 was dd309b1, checked in by Chris Johns <chrisj@…>, on Dec 1, 2014 at 3:55:23 AM

m68k/mcf5235: GCC 4.9.2 generates invalid code for Init5235.

Move the vector table copy out of the Init5235 source to avoid
stipping the GCC bug.

Fixes #2204.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11
12nodist_include_HEADERS = include/bspopts.h
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15noinst_PROGRAMS =
16
17include_HEADERS += ../../shared/include/coverhd.h
18
19noinst_LIBRARIES = libbspstart.a
20libbspstart_a_SOURCES = start/start.S
21project_lib_DATA = start.$(OBJEXT)
22
23dist_project_lib_DATA += startup/linkcmds startup/linkcmdsflash \
24    startup/linkcmdsram
25
26noinst_LIBRARIES += libbsp.a
27libbsp_a_SOURCES =
28
29# startup
30libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsppredriverhook.c \
31    ../../shared/bsplibc.c ../../shared/bsppost.c ../../shared/bspreset_loop.c \
32    startup/bspgetcpuclockspeed.c ../../shared/bsppretaskinghook.c \
33    ../../shared/bspgetworkarea.c startup/init5235.c startup/bspstart.c \
34    ../../shared/bootcard.c ../../shared/sbrk.c ../../shared/setvec.c \
35    ../../shared/gnatinstallhandler.c ../../shared/bspinit.c \
36    startup/copyvectors.c
37# clock
38libbsp_a_SOURCES += clock/clock.c ../../../shared/clockdrv_shell.h
39# console
40libbsp_a_SOURCES += console/console.c
41# timer
42libbsp_a_SOURCES += timer/timer.c
43
44if HAS_NETWORKING
45network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
46noinst_PROGRAMS += network.rel
47network_rel_SOURCES = network/network.c
48network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
49    $(network_CPPFLAGS)
50network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51endif
52
53libbsp_a_LIBADD = \
54    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
55    ../../../libcpu/@RTEMS_CPU@/mcf5235/cachepd.rel \
56    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
57if HAS_NETWORKING
58libbsp_a_LIBADD += network.rel
59endif
60
61include $(srcdir)/preinstall.am
62include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.