blob: 8b7218c21207dd4aa9bcbca5eb8fb60f5d50ee84 (
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
|
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = .
ACLOCAL = aclocal
AUTOCONF = autoconf
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
ACLOCAL_AMFLAGS = -I @RTEMS_TOPdir@/aclocal
RTEMS_ROOT = @RTEMS_ROOT@
PROJECT_ROOT = @PROJECT_ROOT@
VPATH = @srcdir@
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/directory.cfg
INSTALL_CHANGE = @INSTALL_CHANGE@
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
INSTALLDIRS = $(PROJECT_ROOT)/@RTEMS_BSP@/lib
$(INSTALLDIRS):
@$(mkinstalldirs) $(INSTALLDIRS)
# shmdr is a portable shared memory MPCI layer
# We only build it if HAS_MP was defined
@HAS_MP_TRUE@MP_DRIVERS = shmdr
SUBDIRS = $(MP_DRIVERS)
# If we are building a "real" BSP, then we need to descend into the
# appropriate CPU specific directory. The bare BSP is a special
# case which can be built for any CPU and it resides at the same
# level as the CPUs. If we are building the bare BSP, then descend
# into that directory.
SUBDIRS += @RTEMS_LIBBSP_CPU_SUBDIR@
preinstall:
@$(mkinstalldirs) $(PROJECT_ROOT)/@RTEMS_BSP@/lib
@if test "@RTEMS_BSP@" = "bare"; then \
$(INSTALL_CHANGE) -m 644 \
$(srcdir)/bare/bsp_specs \
$(PROJECT_ROOT)/@RTEMS_BSP@/lib; \
else \
$(INSTALL_CHANGE) -m 644 \
$(srcdir)/$(RTEMS_CPU)/${RTEMS_BSP_FAMILY}/bsp_specs \
$(PROJECT_ROOT)/@RTEMS_BSP@/lib; \
fi
# HACK: Don't let them fail here
dist:
distdir:
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4)
cd $(srcdir) && $(AUTOCONF)
|