source: rtems/c/src/lib/libbsp/arm/edb7312/Makefile.am @ 642ef00

Last change on this file since 642ef00 was 642ef00, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 27, 2017 at 5:23:29 AM

bsps: Provide <tm27.h> in each BSP

Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.

Update #3254.

  • Property mode set to 100644
File size: 2.5 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
12include_bsp_HEADERS =
13
14nodist_include_HEADERS = include/bspopts.h
15nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
16DISTCLEANFILES = include/bspopts.h
17noinst_PROGRAMS =
18
19include_HEADERS += include/ep7312.h
20
21noinst_LIBRARIES = libbspstart.a
22libbspstart_a_SOURCES = start/start.S
23project_lib_DATA = start.$(OBJEXT)
24
25dist_project_lib_DATA += startup/linkcmds
26
27noinst_LIBRARIES += libbsp.a
28libbsp_a_SOURCES =
29
30include_HEADERS += ../../arm/shared/comm/uart.h
31# startup
32libbsp_a_SOURCES += \
33    ../../shared/bspgetworkarea.c \
34    ../../shared/bsppredriverhook.c startup/bspstart.c \
35    ../../shared/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
36    ../../shared/getentropy-cpucounter.c \
37    startup/bspreset.c ../../shared/gnatinstallhandler.c
38libbsp_a_SOURCES += ../../shared/cpucounterread.c
39libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
40
41# clock
42libbsp_a_SOURCES += clock/clockdrv.c
43libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
44# console
45libbsp_a_SOURCES += console/uart.c ../../shared/console.c \
46    ../../shared/console_select.c  ../../shared/console_control.c \
47    ../../shared/console_read.c ../../shared/console_write.c
48# timer
49libbsp_a_SOURCES += timer/timer.c
50
51# irq
52include_bsp_HEADERS += ../../shared/include/irq-generic.h \
53        ../../shared/include/irq-info.h \
54        irq/irq.h
55libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
56libbsp_a_SOURCES += ../../shared/src/irq-generic.c
57libbsp_a_SOURCES += ../../shared/src/irq-info.c
58libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
59libbsp_a_SOURCES += ../../shared/src/irq-server.c
60libbsp_a_SOURCES += ../../shared/src/irq-shell.c
61libbsp_a_SOURCES += irq/irq.c
62libbsp_a_SOURCES += irq/bsp_irq_asm.S
63
64# Cache
65libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
66libbsp_a_SOURCES += ../../shared/include/cache_.h
67libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
68
69if HAS_NETWORKING
70network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
71noinst_PROGRAMS += network.rel
72network_rel_SOURCES = network/network.c
73network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
74network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75endif
76
77# libcpu libraries could go here
78libbsp_a_LIBADD =
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.