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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6include_bspdir = $(includedir)/bsp
7
8include_HEADERS = include/bsp.h
9include_HEADERS += include/tm27.h
10
11nodist_include_HEADERS = include/bspopts.h
12nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
13
14include_bsp_HEADERS =
15include_bsp_HEADERS += ../../shared/include/irq-generic.h
16include_bsp_HEADERS += ../../shared/include/irq-info.h
17include_bsp_HEADERS += include/irq.h
18
19DISTCLEANFILES = include/bspopts.h
20noinst_PROGRAMS =
21
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/getentropy-cpucounter.c \
45  ../../shared/gnatinstallhandler.c
46# clock
47libbsp_a_SOURCES += clock/clock.c ../../../shared/clockdrv_shell.h
48# console
49libbsp_a_SOURCES += console/console.c
50# timer
51libbsp_a_SOURCES += timer/timer.c
52
53# IRQ
54libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
55libbsp_a_SOURCES += ../../shared/src/irq-info.c
56libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
57libbsp_a_SOURCES += ../../shared/src/irq-server.c
58libbsp_a_SOURCES += ../../shared/src/irq-shell.c
59libbsp_a_SOURCES += irq/irq.c
60libbsp_a_SOURCES += irq/intc-icr-init-values.c
61
62# Cache
63libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
64libbsp_a_SOURCES += ../include/cache_.h
65libbsp_a_CPPFLAGS += -I$(srcdir)/include
66
67if HAS_NETWORKING
68network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
69noinst_PROGRAMS += network.rel
70network_rel_SOURCES = network/network.c
71network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
72    $(network_CPPFLAGS)
73network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74endif
75
76libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
77                  ../../../libcpu/@RTEMS_CPU@/mcf548x/mcdma.rel
78
79if HAS_NETWORKING
80libbsp_a_LIBADD += network.rel
81endif
82
83include $(srcdir)/preinstall.am
84include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.