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