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