source: rtems/c/src/lib/libbsp/sh/gensh4/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.1 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_shdir = $(includedir)/sh
8include_rtems_scoredir = $(includedir)/rtems/score
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += include/tm27.h
15
16include_sh_HEADERS = include/sh/sh4uart.h
17
18include_rtems_score_HEADERS = include/rtems/score/sh7750_regs.h
19include_rtems_score_HEADERS += include/rtems/score/ipl.h
20include_rtems_score_HEADERS += include/rtems/score/iosh7750.h
21include_rtems_score_HEADERS += include/rtems/score/ispsh7750.h
22include_rtems_score_HEADERS += include/rtems/score/sh4_regs.h
23
24nodist_include_HEADERS = include/bspopts.h
25nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
26DISTCLEANFILES = include/bspopts.h
27
28include_HEADERS += include/sdram.h
29
30EXTRA_DIST += start/start.S
31start.$(OBJEXT): start/start.S
32        $(CPPASCOMPILE) -o $@ -c $<
33project_lib_DATA = start.$(OBJEXT)
34
35dist_project_lib_DATA += startup/linkcmds startup/linkcmds.rom \
36    startup/linkcmds.rom2ram
37
38noinst_LIBRARIES = libbsp.a
39libbsp_a_SOURCES =
40
41# startup
42libbsp_a_SOURCES += \
43    ../../shared/bsppredriverhook.c ../shared/startup/bspstart.c \
44    ../../shared/bspgetworkarea.c \
45    ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
46    ../../shared/getentropy-cpucounter.c \
47    ../../shared/gnatinstallhandler.c ../shared/bsphwinit.c
48libbsp_a_SOURCES += ../../shared/bspreset.c
49libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7750.c
50libbsp_a_SOURCES += clock/ckinit.c
51libbsp_a_SOURCES += timer/timer.c
52# console
53libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c
54libbsp_a_SOURCES += console/sh4uart.c
55# hw_init
56libbsp_a_SOURCES += hw_init/hw_init.c
57
58# Cache
59libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
60libbsp_a_SOURCES += ../../shared/include/cache_.h
61libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include
62
63EXTRA_DIST += times
64
65include $(srcdir)/preinstall.am
66include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.