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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

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