4.104.114.84.95
Last change
on this file since fcee56c0 was
196094eb,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 13:19:14
|
Patch from Ralf Corsepius <corsepiu@…>:
This one is an enhancement to acpolish.
It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.
To apply:
cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = ../../../.. |
---|
9 | subdir = c/src/lib/libbsp |
---|
10 | |
---|
11 | INSTALL = @INSTALL@ |
---|
12 | |
---|
13 | RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ |
---|
14 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
15 | |
---|
16 | VPATH = @srcdir@ |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg |
---|
19 | include $(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 |
---|
23 | MP_DRIVERS_yes_V = shmdr |
---|
24 | MP_DRIVERS = $(MP_DRIVERS_$(HAS_MP)_V) |
---|
25 | |
---|
26 | SUB_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 | |
---|
34 | ifeq (${RTEMS_BSP},bare) |
---|
35 | SUB_DIRS += bare |
---|
36 | else |
---|
37 | SUB_DIRS += $(wildcard $(RTEMS_CPU)) |
---|
38 | endif |
---|
39 | |
---|
40 | preinstall: |
---|
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 | |
---|
52 | Makefile: $(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.