source: rtems/c/src/lib/libbsp/arm/gdbarmsim/Makefile.am @ 642ef00

Last change on this file since 642ef00 was 642ef00, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 27, 2017 at 5:23:29 AM

bsps: Provide <tm27.h> in each BSP

Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.

Update #3254.

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