1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | EXTRA_DIST = |
---|
3 | |
---|
4 | include $(top_srcdir)/../../../../automake/compile.am |
---|
5 | include $(top_srcdir)/../../bsp.am |
---|
6 | |
---|
7 | include_bspdir = $(includedir)/bsp |
---|
8 | |
---|
9 | dist_project_lib_DATA = bsp_specs |
---|
10 | |
---|
11 | include_HEADERS = include/bsp.h |
---|
12 | include_HEADERS += include/tm27.h |
---|
13 | |
---|
14 | nodist_include_HEADERS = include/bspopts.h |
---|
15 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | |
---|
18 | _SUBDIRS = . tools |
---|
19 | |
---|
20 | include_HEADERS += include/i2c.h |
---|
21 | include_HEADERS += include/i2cdrv.h |
---|
22 | include_HEADERS += include/ds1307.h |
---|
23 | include_HEADERS += include/nvram.h |
---|
24 | |
---|
25 | EXTRA_DIST += times |
---|
26 | |
---|
27 | EXTRA_DIST += start/start.S |
---|
28 | start.$(OBJEXT): start/start.S |
---|
29 | $(CPPASCOMPILE) -o $@ -c $< |
---|
30 | project_lib_DATA = start.$(OBJEXT) |
---|
31 | |
---|
32 | dist_project_lib_DATA += startup/linkcmds startup/gdbinit \ |
---|
33 | startup/linkcmds.flash |
---|
34 | |
---|
35 | noinst_LIBRARIES = libbsp.a |
---|
36 | libbsp_a_SOURCES = |
---|
37 | |
---|
38 | # startup |
---|
39 | libbsp_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 |
---|
45 | libbsp_a_SOURCES += ../../shared/bspreset.c |
---|
46 | # console |
---|
47 | libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c |
---|
48 | # i2c |
---|
49 | libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c |
---|
50 | # tod |
---|
51 | libbsp_a_SOURCES += tod/ds1307.c tod/todcfg.c ../../shared/tod.c |
---|
52 | # nvram |
---|
53 | libbsp_a_SOURCES += nvram/nvram.c |
---|
54 | |
---|
55 | # Cache |
---|
56 | libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c |
---|
57 | libbsp_a_SOURCES += ../../shared/include/cache_.h |
---|
58 | libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include |
---|
59 | |
---|
60 | libbsp_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 | |
---|
67 | include $(srcdir)/preinstall.am |
---|
68 | include $(top_srcdir)/../../../../automake/local.am |
---|