summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-10 16:58:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-10 16:58:00 +0000
commit674c900f24a91e1503d5f6f07bbe2f423ef5bf4b (patch)
treeb64c1e64560022a18203d1c236d25b6d03945959 /tools/build
parentf99d4f83cc677b254ff35fdd0e8ae094ba0551a6 (diff)
downloadrtems-674c900f24a91e1503d5f6f07bbe2f423ef5bf4b.tar.bz2
Modified a lot of files to take a first cut at supporting building from
any directory in the build tree. The only variable which must be set before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/Makefile.in5
-rw-r--r--tools/build/os/Makefile.in5
-rw-r--r--tools/build/os/msdos/Makefile.in5
-rw-r--r--tools/build/scripts/Makefile.in5
-rw-r--r--tools/build/src/Makefile.in8
5 files changed, 20 insertions, 8 deletions
diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in
index 4170426842..532bd01b67 100644
--- a/tools/build/Makefile.in
+++ b/tools/build/Makefile.in
@@ -5,7 +5,10 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
-VPATH=@srcdir@
+VPATH = @srcdir@
+RTEMS_ROOT = @RTEMS_ROOT@
+PROJECT_ROOT = @PROJECT_ROOT@
+RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_CUSTOM)
include $(RTEMS_ROOT)/make/directory.cfg
diff --git a/tools/build/os/Makefile.in b/tools/build/os/Makefile.in
index 26c85624db..84fd6418ce 100644
--- a/tools/build/os/Makefile.in
+++ b/tools/build/os/Makefile.in
@@ -5,7 +5,10 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
-VPATH=@srcdir@
+VPATH = @srcdir@
+RTEMS_ROOT = @RTEMS_ROOT@
+PROJECT_ROOT = @PROJECT_ROOT@
+RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_CUSTOM)
include $(RTEMS_ROOT)/make/directory.cfg
diff --git a/tools/build/os/msdos/Makefile.in b/tools/build/os/msdos/Makefile.in
index 5cf6608120..b677c72ff5 100644
--- a/tools/build/os/msdos/Makefile.in
+++ b/tools/build/os/msdos/Makefile.in
@@ -5,7 +5,10 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
-VPATH=@srcdir@
+VPATH = @srcdir@
+RTEMS_ROOT = @RTEMS_ROOT@
+PROJECT_ROOT = @PROJECT_ROOT@
+RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
diff --git a/tools/build/scripts/Makefile.in b/tools/build/scripts/Makefile.in
index 4ccb3191af..b9446a55ff 100644
--- a/tools/build/scripts/Makefile.in
+++ b/tools/build/scripts/Makefile.in
@@ -9,7 +9,10 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
-VPATH=@srcdir@
+VPATH = @srcdir@
+RTEMS_ROOT = @RTEMS_ROOT@
+PROJECT_ROOT = @PROJECT_ROOT@
+RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_CUSTOM)
include $(RTEMS_ROOT)/make/leaf.cfg
diff --git a/tools/build/src/Makefile.in b/tools/build/src/Makefile.in
index f6c3135d54..642b76e2c4 100644
--- a/tools/build/src/Makefile.in
+++ b/tools/build/src/Makefile.in
@@ -5,7 +5,6 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
-VPATH=@srcdir@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
@@ -13,9 +12,10 @@ includedir = @includedir@
manext = 1
mandir = @mandir@/man$(manext)
-
-VPATH=@srcdir@
-
+VPATH = @srcdir@
+RTEMS_ROOT = @RTEMS_ROOT@
+PROJECT_ROOT = @PROJECT_ROOT@
+RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
# we use host compiler in this directory
USE_HOST_COMPILER=yes