source: rtems/c/src/lib/libbsp/powerpc/tqm8xx/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.8 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
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15
16noinst_PROGRAMS =
17
18include_bsp_HEADERS = include/tqm.h include/8xx_immap.h \
19    include/irq.h \
20    ../../shared/include/irq-generic.h \
21    ../../shared/include/irq-info.h \
22    spi/spi.h
23
24EXTRA_DIST =
25
26noinst_LIBRARIES = libbspstart.a
27libbspstart_a_SOURCES = start/start.S
28project_lib_DATA = start.$(OBJEXT)
29
30libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
31project_lib_DATA += rtems_crti.$(OBJEXT)
32
33project_lib_DATA += startup/linkcmds
34dist_project_lib_DATA += startup/linkcmds.base
35EXTRA_DIST += startup/linkcmds.tqm8xx
36
37noinst_LIBRARIES += libbsp.a
38libbsp_a_SOURCES =
39
40# irq
41libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
42libbsp_a_SOURCES += ../../shared/src/irq-generic.c
43libbsp_a_SOURCES += ../../shared/src/irq-info.c
44libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
45libbsp_a_SOURCES += ../../shared/src/irq-server.c
46libbsp_a_SOURCES += ../../shared/src/irq-shell.c
47libbsp_a_SOURCES += irq/irq.c
48
49# clock
50libbsp_a_SOURCES += ../shared/clock/clock.c
51libbsp_a_SOURCES += clock/p_clock.c
52
53# console
54libbsp_a_SOURCES += console/console.c
55# spi
56libbsp_a_SOURCES += spi/spi.c
57# timer
58libbsp_a_SOURCES += timer/timer.c
59# startup
60libbsp_a_SOURCES += ../../shared/bspclean.c \
61    ../../shared/bsppredriverhook.c \
62    ../shared/startup/bspidle.c \
63    startup/bspstart.c startup/bspgetworkarea.c ../../shared/bootcard.c \
64    ../../shared/getentropy-cpucounter.c \
65    startup/mmutlbtab.c startup/cpuinit.c ../../shared/sbrk.c \
66    ../../shared/gnatinstallhandler.c
67libbsp_a_SOURCES += ../../shared/bspreset.c
68
69if HAS_NETWORKING
70network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
71noinst_PROGRAMS += network.rel
72network_rel_SOURCES = network/network_scc.c network/network_fec.c
73network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
74network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75endif
76
77libbsp_a_LIBADD = \
78    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
79    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
80    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
81    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
82    ../../../libcpu/@RTEMS_CPU@/mpc8xx/console-generic.rel \
83    ../../../libcpu/@RTEMS_CPU@/mpc8xx/cpm.rel \
84    ../../../libcpu/@RTEMS_CPU@/mpc8xx/clock.rel \
85    ../../../libcpu/@RTEMS_CPU@/mpc8xx/mmu.rel \
86    ../../../libcpu/@RTEMS_CPU@/mpc8xx/timer.rel
87
88if HAS_NETWORKING
89libbsp_a_LIBADD += network.rel
90endif
91
92include $(srcdir)/preinstall.am
93include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.