source: rtems/c/src/lib/libbsp/arm/gdbarmsim/Makefile.am @ 33a2faa

Last change on this file since 33a2faa was 33a2faa, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:04:06 AM

bsps: Add EXTRA_DIST to all BSP Makefile.am

This makes it possible to easily use

EXTRA_DIST += foobar

in fragments.

Update #3254.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8
9dist_project_lib_DATA = bsp_specs
10
11include_HEADERS = include/bsp.h
12include_HEADERS += include/tm27.h
13include_bsp_HEADERS = include/irq.h
14include_bsp_HEADERS += include/swi.h
15include_bsp_HEADERS += ../shared/include/start.h
16include_bsp_HEADERS += ../../shared/include/irq-generic.h
17include_bsp_HEADERS += ../../shared/include/irq-info.h
18
19nodist_include_HEADERS = include/bspopts.h
20nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
21nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
22DISTCLEANFILES = include/bspopts.h
23noinst_PROGRAMS =
24
25
26noinst_LIBRARIES = libbspstart.a
27libbspstart_a_SOURCES = ../shared/start/start.S
28project_lib_DATA = start.$(OBJEXT)
29
30dist_project_lib_DATA += startup/linkcmds
31
32noinst_LIBRARIES += libbsp.a
33libbsp_a_SOURCES =
34
35# startup
36libbsp_a_SOURCES += \
37    ../../shared/bspgetworkarea.c \
38    ../../shared/bsppredriverhook.c ../../shared/bspstart.c \
39    ../../shared/bspclean.c startup/bspreset.c ../../shared/bootcard.c \
40    ../../shared/getentropy-cpucounter.c \
41    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/syscalls.c
42libbsp_a_SOURCES += ../../shared/cpucounterread.c
43libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
44# console
45libbsp_a_SOURCES += ../../shared/console-polled.c console/console-io.c
46# clock
47libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
48# timer
49libbsp_a_SOURCES += ../../shared/timerstub.c
50# start hooks
51libbsp_a_SOURCES += startup/bspstarthooks.c
52libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
53
54# IRQ
55libbsp_a_SOURCES += irq/irq.c
56libbsp_a_SOURCES += irq/irq-dispatch.c
57libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
58libbsp_a_SOURCES += ../../shared/src/irq-generic.c
59libbsp_a_SOURCES += ../../shared/src/irq-info.c
60libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
61libbsp_a_SOURCES += ../../shared/src/irq-server.c
62libbsp_a_SOURCES += ../../shared/src/irq-shell.c
63
64# Cache
65libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
66libbsp_a_SOURCES += ../../shared/include/cache_.h
67libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
68
69#libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
70#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
71#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
72#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
73
74# Shared
75if shared
76libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
77libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
78endif
79
80include $(srcdir)/preinstall.am
81include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.