source: rtems/c/src/lib/libbsp/arm/beagle/Makefile.am @ 4cf93658

Last change on this file since 4cf93658 was 4cf93658, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 27, 2018 at 1:37:51 PM

bsps: Rework cache manager implementation

The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

  • bsps/shared/cache
  • bsps/@RTEMS_CPU@/shared/cache
  • bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[7a66986]1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the BeagleBoards.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
[33a2faa]9EXTRA_DIST =
[7a66986]10
11include $(top_srcdir)/../../../../automake/compile.am
[f3ce8f41]12include $(top_srcdir)/../../bsp.am
[7a66986]13
[2afb22b]14dist_project_lib_DATA = startup/bsp_specs
[7a66986]15
16###############################################################################
17#                  Header                                                     #
18###############################################################################
19
20###############################################################################
21#                  Data                                                       #
22###############################################################################
23
[ec32100]24EXTRA_DIST += ../shared/start/start.S
25start.$(OBJEXT): ../shared/start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
[7a66986]27project_lib_DATA = start.$(OBJEXT)
28
[2afb22b]29project_lib_DATA += linkcmds
30dist_project_lib_DATA += startup/linkcmds.beagle
[7a66986]31
32###############################################################################
33#                  LibBSP                                                     #
34###############################################################################
35
[ec32100]36noinst_LIBRARIES = libbsp.a
[7a66986]37
38libbsp_a_SOURCES =
39libbsp_a_LIBADD =
40
41# Shared
42libbsp_a_SOURCES += ../../shared/bootcard.c
[ca4895c]43libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
[f6115d7c]44libbsp_a_SOURCES += ../../shared/src/bsp-fdt.c
[7a66986]45libbsp_a_SOURCES += ../../shared/bspclean.c
46libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
47libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
48libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
49libbsp_a_SOURCES += ../../shared/sbrk.c
50libbsp_a_SOURCES += ../../shared/src/stackalloc.c
[151e53f]51libbsp_a_SOURCES += ../../shared/gpio.c
[53dd6d61]52libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
53libbsp_a_SOURCES += ../../shared/timerstub.c
54libbsp_a_SOURCES += ../../shared/cpucounterread.c
[7a66986]55libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
[53dd6d61]56libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
[e629076]57libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
[7a66986]58
59# Startup
60libbsp_a_SOURCES += startup/bspreset.c
61libbsp_a_SOURCES += startup/bspstart.c
[53dd6d61]62libbsp_a_SOURCES += startup/bspstarthooks.c
63libbsp_a_SOURCES += startup/bspstartmmu.c
[7a66986]64
65# IRQ
66libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
67libbsp_a_SOURCES += ../../shared/src/irq-generic.c
68libbsp_a_SOURCES += ../../shared/src/irq-info.c
69libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
70libbsp_a_SOURCES += ../../shared/src/irq-server.c
71libbsp_a_SOURCES += ../../shared/src/irq-shell.c
[53dd6d61]72libbsp_a_SOURCES += irq.c
[7a66986]73
74# Console
75libbsp_a_SOURCES += ../../shared/console.c \
76        ../../shared/console_select.c \
77  console/console-config.c \
78        ../../shared/console_read.c \
79        ../../shared/console_write.c \
80        ../../shared/console_control.c
81
[53dd6d61]82# I2C
[8f550d2]83libbsp_a_SOURCES += i2c/bbb-i2c.c
[7a66986]84
[151e53f]85# GPIO
86libbsp_a_SOURCES += gpio/bbb-gpio.c
87
[5e3096db]88#pwm
89libbsp_a_SOURCES += pwm/pwm.c
90
[d55d7a0]91#RTC
92libbsp_a_SOURCES += rtc.c
93libbsp_a_SOURCES += ../../shared/tod.c
[53dd6d61]94# Clock
95libbsp_a_SOURCES += clock.c
96libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
[7a66986]97
98# Cache
[4cf93658]99libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
[7a66986]100
101###############################################################################
102#                  Special Rules                                              #
103###############################################################################
104
105DISTCLEANFILES = include/bspopts.h
106
107include $(top_srcdir)/../../../../automake/local.am
[2afb22b]108include $(srcdir)/../../../../../../bsps/arm/beagle/headers.am
Note: See TracBrowser for help on using the repository browser.