source: rtems/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am @ c4639963

4.115
Last change on this file since c4639963 was cbe2043, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/03/09 at 12:44:13

2009-11-03 Ralf Corsépius <ralf.corsepius@…>

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