source: rtems/c/src/lib/libbsp/powerpc/haleakala/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
9include_HEADERS = include/bsp.h
10include_HEADERS += include/mmu_405.h
11include_HEADERS += include/tm27.h
12
13nodist_include_HEADERS = include/bspopts.h
14nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
15DISTCLEANFILES = include/bspopts.h
16
17
18noinst_LIBRARIES = libbspstart.a
19libbspstart_a_SOURCES = ../../powerpc/shared/start/rtems_crti.S
20project_lib_DATA = rtems_crti.$(OBJEXT)
21
22dist_project_lib_DATA += startup/linkcmds
23
24noinst_LIBRARIES += libbsp.a
25libbsp_a_SOURCES =
26
27# startup
28libbsp_a_SOURCES += ../../shared/bspclean.c \
29    ../../shared/bspreset_loop.c \
30    startup/bspstart.c ../../shared/bootcard.c \
31    ../../shared/getentropy-cpucounter.c \
32    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
33    ../../shared/sbrk.c \
34    ../../shared/gnatinstallhandler.c mmu/mmu_405.c mmu/mmu_405asm.S
35
36# dlentry
37libbsp_a_SOURCES += dlentry/dlentry.S
38
39include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
40    ../../powerpc/shared/console/consoleIo.h
41# console
42libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \
43    ../../powerpc/shared/console/console.c
44
45include_bsp_HEADERS += irq/irq.h \
46    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
47
48# irq
49libbsp_a_SOURCES += irq/irq_init.c irq/irq.c
50
51if HAS_NETWORKING
52network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
53noinst_PROGRAMS = network.rel
54network_rel_SOURCES = network/network.c
55network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
56network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57endif
58
59libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
60    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
61    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_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
67if HAS_NETWORKING
68libbsp_a_LIBADD += network.rel
69endif
70
71include $(srcdir)/preinstall.am
72include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.