source: rtems/c/src/lib/libbsp/powerpc/virtex4/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.1 KB
Line 
1
2ACLOCAL_AMFLAGS = -I ../../../../aclocal
3
4include $(top_srcdir)/../../../../automake/compile.am
5
6include_bspdir = $(includedir)/bsp
7
8dist_project_lib_DATA = bsp_specs
9
10# include
11include_HEADERS     = include/bsp.h
12include_HEADERS    += include/tm27.h
13
14include_bsp_HEADERS =
15
16nodist_include_HEADERS     = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES             = include/bspopts.h
19
20# start
21noinst_LIBRARIES      = libbspstart.a
22libbspstart_a_SOURCES = ../../powerpc/shared/start/rtems_crti.S
23project_lib_DATA      = rtems_crti.$(OBJEXT)
24
25dist_project_lib_DATA += startup/linkcmds
26
27noinst_LIBRARIES += libbsp.a
28
29# startup
30libbsp_a_SOURCES = startup/bspclean.c \
31                   ../shared/startup/zerobss.c \
32                   ../../shared/bspgetworkarea.c \
33                   startup/bspstart.c \
34                   ../../shared/bootcard.c \
35                   ../../shared/getentropy-cpucounter.c \
36                   ../../shared/sbrk.c \
37                   ../../shared/gnatinstallhandler.c \
38                   ../shared/src/memcpy.c
39libbsp_a_SOURCES += ../../shared/bspreset.c
40
41# start
42libbsp_a_SOURCES += start/start.S
43
44# console
45libbsp_a_SOURCES += startup/dummy_console.c \
46                    ../../shared/dummy_printk_support.c
47
48# irq
49include_bsp_HEADERS += include/irq.h
50libbsp_a_SOURCES += irq/irq_init.c
51
52# mmu
53include_bsp_HEADERS += include/mmu.h
54libbsp_a_SOURCES += mmu/mmu.c
55
56#vectors
57include_bsp_HEADERS += ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h
58include_bsp_HEADERS += ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
59
60libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
61                  ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
62                  ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
63                  ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
64                  ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
65                  ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
66
67EXTRA_DIST = times
68
69include $(srcdir)/preinstall.am
70include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.