source: rtems/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am @ 2d0bc83

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1#
2# @file
3#
4# @brief Makefile of LibBSP for the generic_or1k BSP.
5#
6
7ACLOCAL_AMFLAGS = -I ../../../../aclocal
8
9include $(top_srcdir)/../../../../automake/compile.am
10include $(top_srcdir)/../../bsp.am
11
12dist_project_lib_DATA = startup/bsp_specs
13
14###############################################################################
15#                  Header                                                     #
16###############################################################################
17
18###############################################################################
19#                  Data                                                       #
20###############################################################################
21
22start.$(OBJEXT): start/start.S
23        $(CPPASCOMPILE) -o $@ -c $<
24project_lib_DATA = start.$(OBJEXT)
25
26project_lib_DATA += linkcmds
27dist_project_lib_DATA += ../shared/startup/linkcmds.base
28
29###############################################################################
30#                  LibBSP                                                     #
31###############################################################################
32
33noinst_LIBRARIES = libbsp.a
34
35libbsp_a_SOURCES =
36libbsp_a_CPPFLAGS = $(AM_CPPFLAGS)
37libbsp_a_LIBADD =
38
39# Startup
40libbsp_a_SOURCES += ../../shared/bspreset.c
41libbsp_a_SOURCES += startup/bspstart.c
42
43# Shared
44libbsp_a_SOURCES += ../../shared/bootcard.c
45libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
46libbsp_a_SOURCES += ../../shared/bspclean.c
47libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
48libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
49libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
50libbsp_a_SOURCES += ../../shared/sbrk.c
51libbsp_a_SOURCES += ../../shared/src/stackalloc.c
52
53# Console
54libbsp_a_SOURCES += ../../shared/console.c
55libbsp_a_SOURCES += ../../shared/console_control.c
56libbsp_a_SOURCES += ../../shared/console_read.c
57libbsp_a_SOURCES += ../../shared/console_select.c
58libbsp_a_SOURCES += ../../shared/console_write.c
59libbsp_a_SOURCES += console/console-config.c
60libbsp_a_SOURCES += console/uart.c
61
62# Timer
63libbsp_a_SOURCES += timer/timer.c
64
65# clock
66libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
67
68# IRQ
69libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
70libbsp_a_SOURCES += ../../shared/src/irq-generic.c
71libbsp_a_SOURCES += ../../shared/src/irq-info.c
72libbsp_a_SOURCES += irq/irq.c
73
74# Cache
75libbsp_a_SOURCES += ../../../../../../bsps/or1k/shared/cache/cache.c
76
77###############################################################################
78#                  Special Rules                                              #
79###############################################################################
80
81DISTCLEANFILES = include/bspopts.h
82
83include $(top_srcdir)/../../../../automake/local.am
84include $(srcdir)/../../../../../../bsps/or1k/generic_or1k/headers.am
Note: See TracBrowser for help on using the repository browser.