1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
4 | include $(top_srcdir)/../../bsp.am |
---|
5 | |
---|
6 | include_bspdir = $(includedir)/bsp |
---|
7 | |
---|
8 | dist_project_lib_DATA = bsp_specs |
---|
9 | |
---|
10 | include_HEADERS = include/bsp.h |
---|
11 | include_HEADERS += include/tm27.h |
---|
12 | include_HEADERS += ../shared/include/asm.h |
---|
13 | include_HEADERS += ../shared/include/traptable.h |
---|
14 | |
---|
15 | ## these are the include files used by the boot process from HelenOS Sparc64 |
---|
16 | include_bootdir = $(includedir)/boot |
---|
17 | include_boot_HEADERS = \ |
---|
18 | ../shared/helenos/boot/include/align.h \ |
---|
19 | ../shared/helenos/boot/include/balloc.h \ |
---|
20 | ../shared/helenos/boot/include/gentypes.h \ |
---|
21 | ../shared/helenos/boot/include/main.h \ |
---|
22 | ../shared/helenos/boot/include/ofwarch.h \ |
---|
23 | ../shared/helenos/boot/include/ofw.h \ |
---|
24 | ../shared/helenos/boot/include/ofw_tree.h \ |
---|
25 | ../shared/helenos/boot/include/register.h \ |
---|
26 | ../shared/helenos/boot/include/stack.h \ |
---|
27 | ../shared/helenos/boot/include/types.h |
---|
28 | |
---|
29 | ## These include files mimic the HelenOS kernel include layout, which |
---|
30 | ## in HelenOS-0.4.2 is more complicated than the boot include dirs. |
---|
31 | |
---|
32 | # assumed by the HelenOS sources to be in the root includedir. We place them |
---|
33 | # in a kernel include directory. |
---|
34 | include_kerneldir = $(includedir)/kernel |
---|
35 | include_kernel_HEADERS = \ |
---|
36 | ../shared/helenos/kernel/generic/include/align.h |
---|
37 | |
---|
38 | include_archdir = $(includedir)/arch |
---|
39 | include_arch_HEADERS = \ |
---|
40 | ../shared/helenos/kernel/sparc64/include/arch.h \ |
---|
41 | ../shared/helenos/kernel/sparc64/include/boot.h \ |
---|
42 | ../shared/helenos/kernel/sparc64/include/regdef.h \ |
---|
43 | ../shared/helenos/kernel/sparc64/include/stack.h |
---|
44 | |
---|
45 | include_arch_sun4udir = $(includedir)/arch/sun4u |
---|
46 | include_arch_sun4u_HEADERS = \ |
---|
47 | ../shared/helenos/kernel/sparc64/include/sun4u/arch.h |
---|
48 | |
---|
49 | include_arch_mmdir = $(includedir)/arch/mm |
---|
50 | include_arch_mm_HEADERS = \ |
---|
51 | ../shared/helenos/kernel/sparc64/include/mm/cache_spec.h \ |
---|
52 | ../shared/helenos/kernel/sparc64/include/mm/frame.h \ |
---|
53 | ../shared/helenos/kernel/sparc64/include/mm/mmu.h \ |
---|
54 | ../shared/helenos/kernel/sparc64/include/mm/page.h \ |
---|
55 | ../shared/helenos/kernel/sparc64/include/mm/tlb.h \ |
---|
56 | ../shared/helenos/kernel/sparc64/include/mm/tte.h |
---|
57 | |
---|
58 | |
---|
59 | include_arch_mm_sun4udir = $(includedir)/arch/mm/sun4u |
---|
60 | include_arch_mm_sun4u_HEADERS = \ |
---|
61 | ../shared/helenos/kernel/sparc64/include/mm/sun4u/frame.h \ |
---|
62 | ../shared/helenos/kernel/sparc64/include/mm/sun4u/mmu.h \ |
---|
63 | ../shared/helenos/kernel/sparc64/include/mm/sun4u/page.h \ |
---|
64 | ../shared/helenos/kernel/sparc64/include/mm/sun4u/tlb.h \ |
---|
65 | ../shared/helenos/kernel/sparc64/include/mm/sun4u/tte.h |
---|
66 | |
---|
67 | include_genarch_ofwdir = $(includedir)/genarch/ofw |
---|
68 | include_genarch_ofw_HEADERS = \ |
---|
69 | ../shared/helenos/kernel/genarch/include/ofw/ofw_tree.h |
---|
70 | |
---|
71 | |
---|
72 | nodist_include_HEADERS = include/bspopts.h |
---|
73 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
74 | DISTCLEANFILES = include/bspopts.h |
---|
75 | noinst_PROGRAMS = |
---|
76 | |
---|
77 | |
---|
78 | |
---|
79 | EXTRA_DIST = ../shared/start/start.S |
---|
80 | start.$(OBJEXT): ../shared/start/start.S |
---|
81 | $(CPPASCOMPILE) -o $@ -c $< |
---|
82 | project_lib_DATA = start.$(OBJEXT) |
---|
83 | |
---|
84 | dist_project_lib_DATA += ../shared/startup/linkcmds |
---|
85 | |
---|
86 | startup_SOURCES = ../../shared/bspclean.c \ |
---|
87 | ../../shared/bspstart.c \ |
---|
88 | ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
89 | ../../shared/getentropy-cpucounter.c \ |
---|
90 | ../../shared/bspgetworkarea.c \ |
---|
91 | ../../shared/bsppredriverhook.c \ |
---|
92 | ../../shared/bspreset.c \ |
---|
93 | ../shared/startup/setvec.c \ |
---|
94 | ../../shared/gnatinstallhandler.c \ |
---|
95 | ../shared/helenos/boot/genarch/balloc.c \ |
---|
96 | ../shared/helenos/boot/genarch/ofw.c \ |
---|
97 | ../shared/helenos/boot/genarch/ofw_tree.c \ |
---|
98 | ../shared/helenos/boot/generic/string.c \ |
---|
99 | ../shared/helenos/boot/sparc64/loader/ofwarch.c \ |
---|
100 | ../shared/helenos/boot/sparc64/loader/main.c \ |
---|
101 | ../shared/helenos/boot/sparc64/loader/ofwasm.S \ |
---|
102 | ../shared/asm/asm.S \ |
---|
103 | start/bspinit.S |
---|
104 | |
---|
105 | mmu_SOURCES = \ |
---|
106 | ../shared/helenos/kernel/sparc64/src/cache.S \ |
---|
107 | ../shared/helenos/kernel/sparc64/src/sun4u/takemmu.S \ |
---|
108 | ../shared/start/trap_table.S |
---|
109 | |
---|
110 | #clock_SOURCES = ../../shared/clock_driver_simidle.c |
---|
111 | clock_SOURCES = ../shared/clock/ckinit.c |
---|
112 | |
---|
113 | console_SOURCES = ../../shared/console.c ../shared/console/conscfg.c \ |
---|
114 | ../../shared/console_select.c ../../shared/console_control.c \ |
---|
115 | ../../shared/console_read.c ../../shared/console_write.c |
---|
116 | |
---|
117 | timer_SOURCES = ../../shared/timerstub.c |
---|
118 | |
---|
119 | noinst_LIBRARIES = libbsp.a |
---|
120 | libbsp_a_SOURCES = $(startup_SOURCES) $(mmu_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
121 | $(timer_SOURCES) |
---|
122 | |
---|
123 | |
---|
124 | libbsp_a_LIBADD = \ |
---|
125 | ../../../libcpu/@RTEMS_CPU@/shared/shared-score.rel \ |
---|
126 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
127 | ../../../libcpu/@RTEMS_CPU@/shared/sparc64-syscall.rel |
---|
128 | |
---|
129 | include $(srcdir)/preinstall.am |
---|
130 | include $(top_srcdir)/../../../../automake/local.am |
---|