source: rtems/c/src/lib/libbsp/sh/gensh2/Makefile.am @ ec32100

5
Last change on this file since ec32100 was ec32100, checked in by Sebastian Huber <sebastian.huber@…>, on 01/02/18 at 06:37:44

bsps: Use CPPASCOMPILE for startfile

Update #3254.

  • Property mode set to 100644
File size: 2.3 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/io_types.h
17include_sh_HEADERS += include/sh/sci.h
18include_sh_HEADERS += include/sh/sh7_pfc.h
19include_sh_HEADERS += include/sh/sh7_sci.h
20include_sh_HEADERS += include/sh/sci_termios.h
21
22include_rtems_score_HEADERS = include/rtems/score/ispsh7045.h
23include_rtems_score_HEADERS += include/rtems/score/iosh7045.h
24
25nodist_include_HEADERS = include/bspopts.h
26nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
27DISTCLEANFILES = include/bspopts.h
28
29
30EXTRA_DIST += start/start.ram start/start.rom
31EXTRA_DIST += start/start.S
32start.$(OBJEXT): start/start.S
33        $(CPPASCOMPILE) -o $@ -c $<
34project_lib_DATA = start.$(OBJEXT)
35
36dist_project_lib_DATA += startup/linkcmds startup/linkcmds.ram \
37    startup/linkcmds.rom
38
39noinst_LIBRARIES = libbsp.a
40libbsp_a_SOURCES =
41
42SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
43
44scitab.c: $(SHGEN)
45        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
46BUILT_SOURCES = scitab.c
47CLEANFILES = scitab.c
48
49# startup
50libbsp_a_SOURCES += startup/hw_init.c \
51    ../../shared/bsppredriverhook.c \
52    ../shared/startup/bspstart.c \
53    ../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
54    ../../shared/getentropy-cpucounter.c \
55    ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \
56    ../shared/bsphwinit.c
57libbsp_a_SOURCES += ../../shared/bspreset.c
58libbsp_a_SOURCES += clock/ckinit.c
59libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7045.c
60libbsp_a_SOURCES += timer/timer.c
61# scitab
62libbsp_a_SOURCES += scitab.c
63# console
64libbsp_a_SOURCES += ../../sh/shared/console.c console/config.c
65libbsp_a_SOURCES += console/sci.c
66libbsp_a_SOURCES += console/sci_termios.c
67# debugio
68libbsp_a_SOURCES += ../../shared/dummy_printk_support.c
69
70# Cache
71libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
72libbsp_a_SOURCES += ../../shared/include/cache_.h
73libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
74
75include $(srcdir)/preinstall.am
76include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.