source: rtems/c/src/lib/libbsp/arm/gdbarmsim/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.7 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_bsp_HEADERS = include/irq.h
13include_bsp_HEADERS += include/swi.h
14include_bsp_HEADERS += ../shared/include/start.h
15include_bsp_HEADERS += ../../shared/include/irq-generic.h
16include_bsp_HEADERS += ../../shared/include/irq-info.h
17
18nodist_include_HEADERS = include/bspopts.h
19nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
20nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
21DISTCLEANFILES = include/bspopts.h
22noinst_PROGRAMS =
23
24
25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = ../shared/start/start.S
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_LIBRARIES += libbsp.a
32libbsp_a_SOURCES =
33
34# startup
35libbsp_a_SOURCES += \
36    ../../shared/bspgetworkarea.c \
37    ../../shared/bsppredriverhook.c ../../shared/bspstart.c \
38    ../../shared/bspclean.c startup/bspreset.c ../../shared/bootcard.c \
39    ../../shared/getentropy-cpucounter.c \
40    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/syscalls.c
41libbsp_a_SOURCES += ../../shared/cpucounterread.c
42libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
43# console
44libbsp_a_SOURCES += ../../shared/console-polled.c console/console-io.c
45# clock
46libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
47# timer
48libbsp_a_SOURCES += ../../shared/timerstub.c
49# start hooks
50libbsp_a_SOURCES += startup/bspstarthooks.c
51libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
52
53# IRQ
54libbsp_a_SOURCES += irq/irq.c
55libbsp_a_SOURCES += irq/irq-dispatch.c
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
62
63# Cache
64libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
65libbsp_a_SOURCES += ../../shared/include/cache_.h
66libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
67
68#libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
69#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
70#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
71#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
72
73# Shared
74if shared
75libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
76libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
77endif
78
79include $(srcdir)/preinstall.am
80include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.