source: rtems/c/src/lib/libbsp/powerpc/t32mppc/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.3 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
11
12nodist_include_HEADERS = include/bspopts.h
13DISTCLEANFILES = include/bspopts.h
14
15EXTRA_DIST = README
16
17noinst_PROGRAMS =
18
19
20include_bsp_HEADERS = include/irq.h \
21        ../../shared/include/irq-generic.h \
22        ../../shared/include/irq-info.h \
23        ../../shared/include/bootcard.h \
24        ../../shared/include/utility.h \
25        ../shared/include/start.h \
26        ../shared/include/tictac.h \
27        ../shared/include/linker-symbols.h
28
29noinst_LIBRARIES = libbspstart.a
30libbspstart_a_SOURCES = start/start.S
31project_lib_DATA = start.$(OBJEXT)
32
33libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
34project_lib_DATA += rtems_crti.$(OBJEXT)
35
36dist_project_lib_DATA += startup/linkcmds \
37        ../shared/startup/linkcmds.base \
38        startup/linkcmds.t32mppc
39
40noinst_LIBRARIES += libbsp.a
41libbsp_a_SOURCES =
42
43# Startup
44libbsp_a_SOURCES += \
45        ../../shared/bootcard.c \
46        ../../shared/getentropy-cpucounter.c \
47        ../../shared/bsppredriverhook.c \
48        ../../shared/sbrk.c \
49        ../../shared/gnatinstallhandler.c \
50        ../../shared/bspclean.c \
51        ../../shared/bspgetworkarea.c \
52        ../shared/src/ppc-exc-handler-table.c \
53        ../shared/src/tictac.c \
54        ../shared/src/bsp-start-zero.S \
55        startup/bspstart.c \
56        startup/bspreset.c
57
58# Clock
59libbsp_a_SOURCES += clock/clock-config.c
60
61# Timer
62libbsp_a_SOURCES += ../../shared/timerstub.c
63
64# IRQ
65libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
66libbsp_a_SOURCES += ../../shared/src/irq-generic.c
67libbsp_a_SOURCES += ../../shared/src/irq-info.c
68libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
69libbsp_a_SOURCES += ../../shared/src/irq-server.c
70libbsp_a_SOURCES += ../../shared/src/irq-shell.c
71libbsp_a_SOURCES += irq/irq.c
72
73# Console
74libbsp_a_SOURCES += ../../shared/console-termios.c
75libbsp_a_SOURCES += console/console.c
76
77libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
78        ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
79        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
80        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel
81
82if HAS_SMP
83libbsp_a_SOURCES += ../../shared/bspsmp.c
84endif
85
86include $(srcdir)/preinstall.am
87include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.