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