source: rtems/c/src/lib/libbsp/m68k/mcf5206elite/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: 2.0 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
16DISTCLEANFILES = include/bspopts.h
17
18_SUBDIRS = . tools
19
20include_HEADERS += include/i2c.h
21include_HEADERS += include/i2cdrv.h
22include_HEADERS += include/ds1307.h
23include_HEADERS += include/nvram.h
24
25EXTRA_DIST += times
26
27EXTRA_DIST += start/start.S
28start.$(OBJEXT): start/start.S
29        $(CPPASCOMPILE) -o $@ -c $<
30project_lib_DATA = start.$(OBJEXT)
31
32dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
33    startup/linkcmds.flash
34
35noinst_LIBRARIES = libbsp.a
36libbsp_a_SOURCES =
37
38# startup
39libbsp_a_SOURCES += ../../shared/bspclean.c \
40    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
41    ../../shared/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
42    ../../shared/getentropy-cpucounter.c \
43    ../../shared/sbrk.c ../../shared/setvec.c \
44    ../../shared/gnatinstallhandler.c
45libbsp_a_SOURCES += ../../shared/bspreset.c
46# console
47libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c
48# i2c
49libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c
50# tod
51libbsp_a_SOURCES += tod/ds1307.c tod/todcfg.c ../../shared/tod.c
52# nvram
53libbsp_a_SOURCES += nvram/nvram.c
54
55# Cache
56libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
57libbsp_a_SOURCES += ../../shared/include/cache_.h
58libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include
59
60libbsp_a_LIBADD = \
61    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
62    ../../../libcpu/@RTEMS_CPU@/mcf5206/clock.rel \
63    ../../../libcpu/@RTEMS_CPU@/mcf5206/mcfuart.rel \
64    ../../../libcpu/@RTEMS_CPU@/mcf5206/timer.rel \
65    ../../../libcpu/@RTEMS_CPU@/mcf5206/mbus.rel
66
67include $(srcdir)/preinstall.am
68include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.