source: rtems/c/src/lib/libbsp/bfin/bf537Stamp/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: 1.8 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
12nodist_include_HEADERS = include/bspopts.h
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15
16noinst_PROGRAMS =
17
18
19noinst_LIBRARIES = libbspstart.a
20libbspstart_a_SOURCES = start/start.S
21project_lib_DATA = start.$(OBJEXT)
22
23dist_project_lib_DATA += startup/linkcmds
24
25noinst_LIBRARIES += libbsp.a
26libbsp_a_SOURCES =
27
28libbsp_a_SOURCES += \
29        startup/bspstart.c \
30        ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
31        ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
32        ../../shared/getentropy-cpucounter.c \
33        ../../shared/bspgetworkarea.c
34libbsp_a_SOURCES += ../../shared/bspreset.c
35
36libbsp_a_SOURCES += console/console.c
37
38if HAS_NETWORKING
39networkconfig_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
40noinst_PROGRAMS += networkconfig.rel
41networkconfig_rel_SOURCES = network/networkconfig.c
42networkconfig_rel_CPPFLAGS = $(AM_CPPFLAGS) $(networkconfig_CPPFLAGS)
43networkconfig_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44endif
45
46libbsp_a_LIBADD  = ../../../libcpu/@RTEMS_CPU@/mmu.rel
47libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/interrupt.rel
48libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel
49libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/uart.rel
50libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/clock.rel
51libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/rtc.rel
52libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/timer.rel
53
54if HAS_NETWORKING
55libbsp_a_LIBADD += networkconfig.rel
56libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/network.rel
57endif
58
59include $(srcdir)/preinstall.am
60include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.