source: rtems/c/src/lib/libbsp/arm/csb337/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: 3.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
12include_HEADERS += include/at91rm9200_dbgu.h
13include_HEADERS += include/at91rm9200_emac.h
14include_HEADERS += include/at91rm9200_gpio.h
15include_HEADERS += include/at91rm9200.h
16include_HEADERS += include/at91rm9200_mem.h
17include_HEADERS += include/at91rm9200_pmc.h
18include_HEADERS += include/at91rm9200_usart.h
19include_HEADERS += include/bits.h
20
21if ENABLE_LCD
22include_HEADERS += include/sed1356.h
23endif
24
25include_bsp_HEADERS =
26libbsp_a_CPPFLAGS =
27
28if ENABLE_UMON
29include_umondir = $(includedir)/umon
30include_umon_HEADERS  = ../../shared/umon/cli.h
31include_umon_HEADERS += ../../shared/umon/monlib.h
32include_umon_HEADERS += ../../shared/umon/tfs.h
33
34include_rtemsdir = $(includedir)/rtems
35include_rtems_HEADERS  = ../../shared/umon/umon.h
36endif
37
38nodist_include_HEADERS = include/bspopts.h
39nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
40DISTCLEANFILES = include/bspopts.h
41noinst_PROGRAMS =
42
43
44if ENABLE_LCD
45nodist_include_HEADERS += console/sed1356_16bit.h
46nodist_include_HEADERS += console/font8x16.h
47endif
48
49noinst_LIBRARIES = libbspstart.a
50
51libbspstart_a_SOURCES = start/start.S
52project_lib_DATA = start.$(OBJEXT)
53
54project_lib_DATA += startup/linkcmds
55EXTRA_DIST = startup/linkcmds.csb337
56EXTRA_DIST += startup/linkcmds.csb637
57EXTRA_DIST += README
58EXTRA_DIST += README.kit637_v6
59
60noinst_LIBRARIES += libbsp.a
61
62# startup
63libbsp_a_SOURCES = \
64    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
65    startup/bspstart.c \
66    ../../shared/bspclean.c startup/bspreset.c \
67    startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
68    ../../shared/getentropy-cpucounter.c \
69    ../../shared/gnatinstallhandler.c
70libbsp_a_SOURCES += ../../shared/cpucounterread.c
71libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
72libbsp_a_SOURCES += startup/pmc.c
73libbsp_a_SOURCES += clock/clock.c
74libbsp_a_SOURCES += timer/timer.c
75# console
76libbsp_a_SOURCES += ../../shared/console.c console/uarts.c \
77    ../../shared/console_select.c  ../../shared/console_control.c \
78    ../../shared/console_read.c ../../shared/console_write.c
79libbsp_a_SOURCES += console/dbgu.c
80libbsp_a_SOURCES += console/usart.c
81# IRQ
82include_bsp_HEADERS += ../../shared/include/irq-generic.h \
83        ../../shared/include/irq-info.h
84include_bsp_HEADERS += include/bsp/irq.h
85libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
86libbsp_a_SOURCES += ../../shared/src/irq-generic.c
87libbsp_a_SOURCES += ../../shared/src/irq-info.c
88libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
89libbsp_a_SOURCES += ../../shared/src/irq-server.c
90libbsp_a_SOURCES += ../../shared/src/irq-shell.c
91libbsp_a_SOURCES += irq/irq.c
92if ENABLE_LCD
93libbsp_a_SOURCES += console/sed1356.c console/fbcons.c
94endif
95# umon
96if ENABLE_UMON
97libbsp_a_SOURCES += ../../shared/umon/umonrtemsglue.c  \
98    ../../shared/umon/monlib.c ../../shared/umon/tfsDriver.c \
99    ../../shared/umon/umoncons.c startup/umonsupp.c
100endif
101if ENABLE_UMON_CONSOLE
102libbsp_a_SOURCES += ../../shared/umon/umoncons.c
103endif
104
105# Cache
106libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
107libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
108libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
109libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
110
111if HAS_NETWORKING
112network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
113noinst_PROGRAMS += network.rel
114network_rel_SOURCES = network/network.c
115network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
116network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
117endif
118
119libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel
120if HAS_NETWORKING
121libbsp_a_LIBADD += network.rel
122endif
123
124include $(srcdir)/preinstall.am
125include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.