source: rtems/c/src/lib/libbsp/powerpc/haleakala/Makefile.am @ 9704efb4

5
Last change on this file since 9704efb4 was 010bf86, checked in by Chris Johns <chrisj@…>, on 01/04/18 at 07:54:29

bsps/powerpc: Use public include path

Update #3254.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8
9dist_project_lib_DATA = bsp_specs
10
11include_HEADERS = include/bsp.h
12include_HEADERS += include/mmu_405.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
17DISTCLEANFILES = include/bspopts.h
18
19
20EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
21rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
22        $(CPPASCOMPILE) -o $@ -c $<
23project_lib_DATA = rtems_crti.$(OBJEXT)
24
25dist_project_lib_DATA += startup/linkcmds
26
27noinst_LIBRARIES = libbsp.a
28libbsp_a_SOURCES =
29
30# startup
31libbsp_a_SOURCES += ../../shared/bspclean.c \
32    ../../shared/bspreset_loop.c \
33    startup/bspstart.c ../../shared/bootcard.c \
34    ../../shared/getentropy-cpucounter.c \
35    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
36    ../../shared/sbrk.c \
37    ../../shared/gnatinstallhandler.c mmu/mmu_405.c mmu/mmu_405asm.S
38
39# dlentry
40libbsp_a_SOURCES += dlentry/dlentry.S
41
42include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
43    ../../powerpc/shared/console/consoleIo.h
44# console
45libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \
46    ../../powerpc/shared/console/console.c
47
48include_bsp_HEADERS += irq/irq.h
49
50# irq
51libbsp_a_SOURCES += irq/irq_init.c irq/irq.c
52
53if HAS_NETWORKING
54network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
55noinst_PROGRAMS = network.rel
56network_rel_SOURCES = network/network.c
57network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
58network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59endif
60
61libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
62    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
63    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
64    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
65    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
66    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
67    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
68
69if HAS_NETWORKING
70libbsp_a_LIBADD += network.rel
71endif
72
73include $(srcdir)/preinstall.am
74include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.