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 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
14 | DISTCLEANFILES = include/bspopts.h |
---|
15 | |
---|
16 | noinst_PROGRAMS = |
---|
17 | |
---|
18 | noinst_LIBRARIES = libbspstart.a |
---|
19 | libbspstart_a_SOURCES = startup/start.S |
---|
20 | project_lib_DATA = start.$(OBJEXT) |
---|
21 | |
---|
22 | libbspstart_a_SOURCES += ../shared/start/rtems_crti.S |
---|
23 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
24 | |
---|
25 | # Link commands |
---|
26 | project_lib_DATA += startup/linkcmds |
---|
27 | dist_project_lib_DATA += startup/linkcmds.gwlcfm startup/linkcmds.mpc5566evb \ |
---|
28 | startup/linkcmds.base |
---|
29 | |
---|
30 | noinst_LIBRARIES += libbsp.a |
---|
31 | libbsp_a_SOURCES = |
---|
32 | |
---|
33 | # Includes |
---|
34 | include_HEADERS = include/bsp.h |
---|
35 | include_HEADERS += ../../shared/include/tm27.h |
---|
36 | |
---|
37 | nodist_include_HEADERS = include/bspopts.h ../../shared/tod.h \ |
---|
38 | ../../shared/include/coverhd.h |
---|
39 | include_bsp_HEADERS = include/mpc55xxevb.h \ |
---|
40 | include/smsc9218i.h \ |
---|
41 | ../../../libcpu/powerpc/mpc83xx/i2c/mpc83xx_i2cdrv.h \ |
---|
42 | ../../shared/include/irq-generic.h \ |
---|
43 | ../../shared/include/irq-info.h \ |
---|
44 | ../../shared/include/utility.h \ |
---|
45 | ../shared/include/start.h \ |
---|
46 | ../shared/include/tictac.h |
---|
47 | |
---|
48 | # startup |
---|
49 | libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
50 | ../../shared/bootcard.c ../shared/src/tictac.c ../../shared/bspclean.c \ |
---|
51 | ../shared/startup/bspidle.c startup/bspstart.c startup/bspgetworkarea.c \ |
---|
52 | ../../shared/bsppretaskinghook.c \ |
---|
53 | ../shared/src/memcpy.c \ |
---|
54 | ../shared/src/bsp-start-zero.S |
---|
55 | |
---|
56 | # clock |
---|
57 | libbsp_a_SOURCES += clock/clock-config.c |
---|
58 | |
---|
59 | # irq_generic |
---|
60 | libbsp_a_SOURCES += ../../shared/src/irq-generic.c \ |
---|
61 | ../../shared/src/irq-legacy.c \ |
---|
62 | ../../shared/src/irq-info.c \ |
---|
63 | ../../shared/src/irq-shell.c |
---|
64 | |
---|
65 | # Misc |
---|
66 | libbsp_a_SOURCES += startup/sd-card-init.c |
---|
67 | |
---|
68 | # I2C |
---|
69 | libbsp_a_SOURCES += i2c/i2c_init.c \ |
---|
70 | ../../../libcpu/powerpc/mpc83xx/i2c/mpc83xx_i2cdrv.c |
---|
71 | |
---|
72 | # Network |
---|
73 | if HAS_NETWORKING |
---|
74 | libbsp_a_SOURCES += network/smsc9218i.c |
---|
75 | endif |
---|
76 | |
---|
77 | # BSP library |
---|
78 | |
---|
79 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
80 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
81 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
82 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/misc.rel \ |
---|
83 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel \ |
---|
84 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/siu.rel \ |
---|
85 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/edma.rel \ |
---|
86 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/emios.rel \ |
---|
87 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/dspi.rel \ |
---|
88 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/esci.rel \ |
---|
89 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
90 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
91 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel |
---|
92 | |
---|
93 | include $(srcdir)/preinstall.am |
---|
94 | include $(top_srcdir)/../../../../automake/local.am |
---|