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

5
Last change on this file since ca4602e was ca4602e, checked in by Sebastian Huber <sebastian.huber@…>, on 01/25/16 at 21:03:00

Use linker set for libio initialization

Update #2408.

  • Property mode set to 100644
File size: 2.4 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7include_HEADERS = include/bsp.h
8include_HEADERS += include/tm27.h
9
10nodist_include_HEADERS = include/bspopts.h
11nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
12
13include_bsp_HEADERS =
14include_bsp_HEADERS += ../../shared/include/irq-generic.h
15include_bsp_HEADERS += ../../shared/include/irq-info.h
16include_bsp_HEADERS += include/irq.h
17
18DISTCLEANFILES = include/bspopts.h
19noinst_PROGRAMS =
20
21include_HEADERS += ../../shared/include/coverhd.h
22
23noinst_LIBRARIES = libbspstart.a
24libbspstart_a_SOURCES = start/start.S
25
26dist_project_lib_DATA = bsp_specs
27dist_project_lib_DATA += startup/linkcmds.m5484FireEngine.flash
28dist_project_lib_DATA += startup/linkcmds.COBRA5475
29dist_project_lib_DATA += startup/linkcmds.m5484FireEngine
30
31project_lib_DATA = start.$(OBJEXT)
32project_lib_DATA += startup/linkcmds
33
34noinst_LIBRARIES += libbsp.a
35libbsp_a_SOURCES =
36libbsp_a_CPPFLAGS =
37
38# startup
39libbsp_a_SOURCES += \
40  ../../shared/bspclean.c ../../shared/bspgetworkarea.c \
41  ../../shared/bspreset_loop.c \
42  ../../shared/bsppredriverhook.c startup/init548x.c startup/bspstart.c \
43  ../../shared/bootcard.c ../../shared/sbrk.c ../../shared/setvec.c \
44  ../../shared/gnatinstallhandler.c
45# clock
46libbsp_a_SOURCES += clock/clock.c ../../../shared/clockdrv_shell.h
47# console
48libbsp_a_SOURCES += console/console.c
49# timer
50libbsp_a_SOURCES += timer/timer.c
51
52# IRQ
53libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
54libbsp_a_SOURCES += ../../shared/src/irq-info.c
55libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
56libbsp_a_SOURCES += ../../shared/src/irq-server.c
57libbsp_a_SOURCES += ../../shared/src/irq-shell.c
58libbsp_a_SOURCES += irq/irq.c
59libbsp_a_SOURCES += irq/intc-icr-init-values.c
60
61# Cache
62libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
63libbsp_a_SOURCES += ../include/cache_.h
64libbsp_a_CPPFLAGS += -I$(srcdir)/include
65
66if HAS_NETWORKING
67network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
68noinst_PROGRAMS += network.rel
69network_rel_SOURCES = network/network.c
70network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
71    $(network_CPPFLAGS)
72network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73endif
74
75libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
76                  ../../../libcpu/@RTEMS_CPU@/mcf548x/mcdma.rel
77
78if HAS_NETWORKING
79libbsp_a_LIBADD += network.rel
80endif
81
82include $(srcdir)/preinstall.am
83include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.