source: rtems/c/src/lib/libbsp/arm/csb336/Makefile.am @ 26ff9fd6

Last change on this file since 26ff9fd6 was 26ff9fd6, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 8, 2017 at 6:46:48 AM

bsp/csb336: Move libcpu files to BSP

Update #3254.

  • Property mode set to 100644
File size: 2.4 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/mc9328mxl.h
12
13include_bsp_HEADERS =
14libbsp_a_CPPFLAGS =
15
16nodist_include_HEADERS = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES = include/bspopts.h
19noinst_PROGRAMS =
20
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
31# startup
32libbsp_a_SOURCES += \
33    ../../shared/bspgetworkarea.c \
34    ../../shared/bsppredriverhook.c startup/bspstart.c ../../shared/bspclean.c \
35    ../../shared/bspreset.c startup/memmap.c ../../shared/bootcard.c \
36    ../../shared/getentropy-cpucounter.c \
37    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
38libbsp_a_SOURCES += ../../shared/cpucounterread.c
39libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
40libbsp_a_SOURCES += clock/clockdrv.c
41libbsp_a_SOURCES += timer/timer.c
42# console
43libbsp_a_SOURCES += console/uart.c
44# IRQ
45include_bsp_HEADERS += ../../shared/include/irq-generic.h \
46        ../../shared/include/irq-info.h
47include_bsp_HEADERS += include/bsp/irq.h
48libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
49libbsp_a_SOURCES += ../../shared/src/irq-generic.c
50libbsp_a_SOURCES += ../../shared/src/irq-info.c
51libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
52libbsp_a_SOURCES += ../../shared/src/irq-server.c
53libbsp_a_SOURCES += ../../shared/src/irq-shell.c
54libbsp_a_SOURCES += irq/irq.c
55
56# Cache
57libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
58libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
59libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
60libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
61
62if HAS_NETWORKING
63network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
64noinst_PROGRAMS += network.rel
65network_rel_SOURCES = network/network.c network/lan91c11x.c
66network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
67network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68endif
69
70libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel
71
72if HAS_NETWORKING
73libbsp_a_LIBADD += network.rel
74endif
75
76include $(srcdir)/preinstall.am
77include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.