source: rtems/c/src/lib/libbsp/powerpc/haleakala/Makefile.am @ 010bf86

5
Last change on this file since 010bf86 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
RevLine 
[3c6fe2e]1ACLOCAL_AMFLAGS = -I ../../../../aclocal
[33a2faa]2EXTRA_DIST =
[3c6fe2e]3
4include $(top_srcdir)/../../../../automake/compile.am
[f3ce8f41]5include $(top_srcdir)/../../bsp.am
[3c6fe2e]6
[c06b3fa]7include_bspdir = $(includedir)/bsp
8
[3c6fe2e]9dist_project_lib_DATA = bsp_specs
10
[309dbd0]11include_HEADERS = include/bsp.h
[502609c8]12include_HEADERS += include/mmu_405.h
[642ef00]13include_HEADERS += include/tm27.h
[3c6fe2e]14
15nodist_include_HEADERS = include/bspopts.h
[c06b3fa]16nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
[3c6fe2e]17DISTCLEANFILES = include/bspopts.h
18
19
[ec32100]20EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
21rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
22        $(CPPASCOMPILE) -o $@ -c $<
[3c6fe2e]23project_lib_DATA = rtems_crti.$(OBJEXT)
24
25dist_project_lib_DATA += startup/linkcmds
26
[ec32100]27noinst_LIBRARIES = libbsp.a
[64eb0c7]28libbsp_a_SOURCES =
[e94666d]29
[64eb0c7]30# startup
[ca4602e]31libbsp_a_SOURCES += ../../shared/bspclean.c \
32    ../../shared/bspreset_loop.c \
[1762375]33    startup/bspstart.c ../../shared/bootcard.c \
[ca4895c]34    ../../shared/getentropy-cpucounter.c \
[284ed06a]35    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
[2858939a]36    ../../shared/sbrk.c \
[502609c8]37    ../../shared/gnatinstallhandler.c mmu/mmu_405.c mmu/mmu_405asm.S
[3c6fe2e]38
[64eb0c7]39# dlentry
40libbsp_a_SOURCES += dlentry/dlentry.S
[3c6fe2e]41
[e483dc3]42include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
43    ../../powerpc/shared/console/consoleIo.h
[64eb0c7]44# console
45libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \
[3c6fe2e]46    ../../powerpc/shared/console/console.c
47
[010bf86]48include_bsp_HEADERS += irq/irq.h
[3c6fe2e]49
[64eb0c7]50# irq
51libbsp_a_SOURCES += irq/irq_init.c irq/irq.c
[3c6fe2e]52
[502609c8]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
[e483dc3]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 \
[2d2de4eb]64    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
[e483dc3]65    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
66    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
[309dbd0]67    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
[3c6fe2e]68
[502609c8]69if HAS_NETWORKING
70libbsp_a_LIBADD += network.rel
71endif
72
[3c6fe2e]73include $(srcdir)/preinstall.am
74include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.