source: rtems/c/src/lib/libbsp/arm/csb337/Makefile.am @ b748dffe

Last change on this file since b748dffe was b748dffe, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 8, 2017 at 7:05:04 AM

bsp/csb337: Move libcpu files to BSP

Update #3254.

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