blob: 84c2e3d229315c175b4472aac08567fe2699b0e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
##
#
# @file
#
# @brief Makefile of LibBSP for the LPC247X boards.
#
# $Id$
ACLOCAL_AMFLAGS = -I ../../../../aclocal
include $(top_srcdir)/../../../../automake/compile.am
include_bspdir = $(includedir)/bsp
dist_project_lib_DATA = bsp_specs
###############################################################################
# Header #
###############################################################################
include_HEADERS = include/bsp.h
nodist_include_HEADERS = include/bspopts.h
nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
DISTCLEANFILES = include/bspopts.h
include_bsp_HEADERS = ../../shared/include/utility.h \
../../shared/include/irq-generic.h \
../../shared/tod.h \
../shared/include/linker-symbols.h \
../shared/include/start.h \
include/irq-config.h \
include/irq.h \
include/lpc24xx.h \
include/system-clocks.h
###############################################################################
# Data #
###############################################################################
noinst_LIBRARIES = libbspstart.a
libbspstart_a_SOURCES = ../shared/start/start.S
project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += ../shared/startup/linkcmds.base startup/linkcmds
###############################################################################
# LibBSP #
###############################################################################
noinst_LIBRARIES += libbsp.a
libbsp_a_SOURCES =
# shared
libbsp_a_SOURCES += ../../shared/bootcard.c \
../../shared/bspclean.c \
../../shared/bspreset.c \
../../shared/bspgetworkarea.c \
../../shared/bsplibc.c \
../../shared/bsppost.c \
../../shared/bsppredriverhook.c \
../../shared/bsppretaskinghook.c \
../../shared/gnatinstallhandler.c \
../../shared/sbrk.c \
../shared/abort/simple_abort.c
# startup
libbsp_a_SOURCES += startup/bspstart.c
# irq
libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
../../shared/src/irq-legacy.c \
../shared/irq/irq_asm.S \
irq/irq.c
# console
libbsp_a_SOURCES += ../../shared/console.c \
console/console-config.c
# clock
libbsp_a_SOURCES += clock/clock-config.c ../../../shared/clockdrv_shell.h
# rtc
libbsp_a_SOURCES += ../../shared/tod.c \
rtc/rtc-config.c
# misc
libbsp_a_SOURCES += misc/system-clocks.c
###############################################################################
# Special Rules #
###############################################################################
start.$(OBJEXT): ../shared/start/start.S
$(CPPASCOMPILE) -o $@ -c $<
include $(srcdir)/preinstall.am
include $(top_srcdir)/../../../../automake/local.am
|