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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

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