source: rtems/c/src/lib/libbsp/Makefile.in @ 6e27f588

4.104.114.84.95
Last change on this file since 6e27f588 was 6e27f588, checked in by Joel Sherrill <joel.sherrill@…>, on 04/12/99 at 20:27:14

Patch from Ralf Corsepius <corsepiu@…>:

Installing of bsp_specs for aliased bsps is broken. Instead of installing
RTEMS_BSP_FAMILY/bsp_specs, RTEMS_BSP/bsp_specs was tried to be installed.

The patch below should fix this problem (tested with mips64orion p4600 and
p4650).

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../..
9subdir = c/src/lib/libbsp
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
19include $(RTEMS_ROOT)/make/directory.cfg
20
21# shmdr is a portable shared memory MPCI layer
22# We only build it if HAS_MP was defined
23MP_DRIVERS_yes_V = shmdr
24MP_DRIVERS = $(MP_DRIVERS_$(HAS_MP)_V)
25
26SUB_DIRS=$(MP_DRIVERS)
27
28# If we are building a "real" BSP, then we need to descend into the
29# appropriate CPU specific directory.  The bare BSP is a special
30# case which can be built for any CPU and it resides at the same
31# level as the CPUs.  If we are building the bare BSP, then descend
32# into that directory.
33
34ifeq ($(RTEMS_BSP),bare)
35SUB_DIRS += bare
36else
37SUB_DIRS += $(wildcard $(RTEMS_CPU))
38endif
39
40preinstall:
41        $(RTEMS_ROOT)/mkinstalldirs $(PROJECT_ROOT)/${RTEMS_BSP}/lib
42        if test "${RTEMS_BSP}" = "bare"; then \
43          $(INSTALL_DATA) \
44            $(srcdir)/bare/bsp_specs \
45            $(PROJECT_ROOT)/${RTEMS_BSP}/lib; \
46        else \
47          $(INSTALL_DATA) \
48            $(srcdir)/$(RTEMS_CPU)/${RTEMS_BSP_FAMILY}/bsp_specs \
49            $(PROJECT_ROOT)/${RTEMS_BSP}/lib; \
50        fi
51
52Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
53        cd $(top_builddir) \
54         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.