source: rtems/c/src/lib/libbsp/m68k/csb360/Makefile.am @ 6897cb1

5
Last change on this file since 6897cb1 was 6897cb1, checked in by Chris Johns <chrisj@…>, on 12/28/17 at 12:21:14

bsps: Add AM_CPPFLAGS to special case CPPFLAGS

This is necessary to pick up mandatory flags provided by the build
system.

Update #3254.

  • Property mode set to 100644
File size: 1.6 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/tm27.h
13
14nodist_include_HEADERS = include/bspopts.h
15nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
16nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
17DISTCLEANFILES = include/bspopts.h
18
19
20EXTRA_DIST += times
21
22EXTRA_DIST += start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_LIBRARIES = libbsp.a
30libbsp_a_SOURCES =
31
32# startup
33libbsp_a_SOURCES += ../../shared/bspclean.c \
34    ../../shared/bsppredriverhook.c \
35    ../../shared/bspgetworkarea.c \
36    ../../shared/bspstart.c startup/init5272.c ../../shared/bootcard.c \
37    ../../shared/getentropy-cpucounter.c \
38    ../../shared/sbrk.c ../../shared/setvec.c \
39    ../../shared/gnatinstallhandler.c
40libbsp_a_SOURCES += ../../shared/bspreset.c
41# console
42libbsp_a_SOURCES += console/console-io.c ../../shared/console-polled.c
43
44# Cache
45libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
46libbsp_a_SOURCES += ../../shared/include/cache_.h
47libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include
48
49libbsp_a_LIBADD = \
50    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
51    ../../../libcpu/@RTEMS_CPU@/mcf5272/clock.rel \
52    ../../../libcpu/@RTEMS_CPU@/mcf5272/timer.rel
53
54include $(srcdir)/preinstall.am
55include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.