1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | |
---|
11 | dist_project_lib_DATA = bsp_specs |
---|
12 | |
---|
13 | include_HEADERS = ../gp32/include/bsp.h |
---|
14 | include_HEADERS += ../gp32/smc/smc.h |
---|
15 | include_HEADERS += ../../shared/include/tm27.h |
---|
16 | |
---|
17 | include_bsp_HEADERS = |
---|
18 | |
---|
19 | nodist_include_HEADERS = include/bspopts.h |
---|
20 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
21 | DISTCLEANFILES = include/bspopts.h |
---|
22 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
23 | |
---|
24 | noinst_LIBRARIES = libbspstart.a |
---|
25 | libbspstart_a_SOURCES = ../gp32/start/start.S |
---|
26 | project_lib_DATA = start.$(OBJEXT) |
---|
27 | |
---|
28 | dist_project_lib_DATA += startup/linkcmds |
---|
29 | |
---|
30 | noinst_LIBRARIES += libbsp.a |
---|
31 | libbsp_a_SOURCES = |
---|
32 | |
---|
33 | # startup |
---|
34 | libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
35 | ../gp32/startup/bspstart.c ../../shared/bspclean.c \ |
---|
36 | startup/bspreset.c startup/memmap.c \ |
---|
37 | ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
38 | ../../shared/bsppretaskinghook.c \ |
---|
39 | ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \ |
---|
40 | ../../shared/gnatinstallhandler.c |
---|
41 | # console |
---|
42 | libbsp_a_SOURCES += ../gp32/console/uart.c ../../shared/console.c \ |
---|
43 | ../../shared/console_select.c \ |
---|
44 | ../../shared/console_read.c ../../shared/console_write.c \ |
---|
45 | ../../shared/console_control.c |
---|
46 | # IRQ |
---|
47 | include_bsp_HEADERS += ../../shared/include/irq-generic.h \ |
---|
48 | ../../shared/include/irq-info.h |
---|
49 | libbsp_a_SOURCES += ../../shared/src/irq-generic.c \ |
---|
50 | ../../shared/src/irq-legacy.c \ |
---|
51 | ../../shared/src/irq-info.c \ |
---|
52 | ../../shared/src/irq-shell.c \ |
---|
53 | ../../shared/src/irq-server.c |
---|
54 | # abort |
---|
55 | libbsp_a_SOURCES += ../shared/abort/abort.c |
---|
56 | # smc |
---|
57 | libbsp_a_SOURCES += ../gp32/smc/smc.c ../gp32/smc/smc.h |
---|
58 | |
---|
59 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \ |
---|
60 | ../../../libcpu/@RTEMS_CPU@/s3c24xx/clock.rel \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/s3c24xx/timer.rel \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/s3c24xx/irq.rel |
---|
63 | |
---|
64 | include $(srcdir)/preinstall.am |
---|
65 | include $(top_srcdir)/../../../../automake/local.am |
---|