summaryrefslogtreecommitdiffstats
path: root/tools/cpu
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/cpu
parentAdded missing dependency for libmisc.a based on a bug report by Phil Wilshire. (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 '')
-rw-r--r--tools/cpu/Makefile.in5
-rw-r--r--tools/cpu/generic/Makefile.in5
-rw-r--r--tools/cpu/unix/Makefile.in5
3 files changed, 12 insertions, 3 deletions
diff --git a/tools/cpu/Makefile.in b/tools/cpu/Makefile.in
index 185bdbb5e0..a685851614 100644
--- a/tools/cpu/Makefile.in
+++ b/tools/cpu/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/directory.cfg
diff --git a/tools/cpu/generic/Makefile.in b/tools/cpu/generic/Makefile.in
index f673545ea1..7268fdfebb 100644
--- a/tools/cpu/generic/Makefile.in
+++ b/tools/cpu/generic/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 $(PROJECT_ROOT)/make/leaf.cfg
diff --git a/tools/cpu/unix/Makefile.in b/tools/cpu/unix/Makefile.in
index b42424c512..f32639d298 100644
--- a/tools/cpu/unix/Makefile.in
+++ b/tools/cpu/unix/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
# we use host compiler here for gensize. Hopefully it has same alignment!!
USE_HOST_COMPILER=yes