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

4.11
Last change on this file since 6440903c was 6440903c, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 5, 2013 at 9:26:08 AM

bsps/m68k: Add and use linkcmds.base

  • 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
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
12DISTCLEANFILES = include/bspopts.h
13noinst_PROGRAMS =
14
15include_HEADERS += ../../shared/include/coverhd.h
16
17noinst_LIBRARIES = libbspstart.a
18libbspstart_a_SOURCES = start/start.S
19
20dist_project_lib_DATA = bsp_specs
21dist_project_lib_DATA += startup/linkcmds.m5484FireEngine.flash
22dist_project_lib_DATA += startup/linkcmds.COBRA5475
23dist_project_lib_DATA += startup/linkcmds.m5484FireEngine
24
25project_lib_DATA = start.$(OBJEXT)
26project_lib_DATA += startup/linkcmds
27
28noinst_LIBRARIES += libbsp.a
29libbsp_a_SOURCES =
30
31# startup
32libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c  \
33  ../../shared/bsppost.c ../../shared/bspgetworkarea.c \
34  ../../shared/bspreset_loop.c ../../shared/bsppretaskinghook.c \
35  ../../shared/bsppredriverhook.c startup/init548x.c startup/bspstart.c \
36  ../../shared/bootcard.c ../../shared/sbrk.c ../../shared/setvec.c \
37  ../../shared/gnatinstallhandler.c
38# clock
39libbsp_a_SOURCES += clock/clock.c ../../../shared/clockdrv_shell.h
40# console
41libbsp_a_SOURCES += console/console.c
42# timer
43libbsp_a_SOURCES += timer/timer.c
44
45if HAS_NETWORKING
46network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
47noinst_PROGRAMS += network.rel
48network_rel_SOURCES = network/network.c
49network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
50    $(network_CPPFLAGS)
51network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52endif
53
54libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
55                  ../../../libcpu/@RTEMS_CPU@/shared/misc.rel  \
56                  ../../../libcpu/@RTEMS_CPU@/mcf548x/mcdma.rel
57
58if HAS_NETWORKING
59libbsp_a_LIBADD += network.rel
60endif
61
62include $(srcdir)/preinstall.am
63include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.