From 674c900f24a91e1503d5f6f07bbe2f423ef5bf4b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 10 Dec 1997 16:58:00 +0000 Subject: 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). --- configure.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 213eb4a555..4f0bb25067 100644 --- a/configure.in +++ b/configure.in @@ -143,7 +143,7 @@ case "${target}" in target_cpu=no_cpu RTEMS_HAS_POSIX_API=no ;; - powerpc-rtems*|ppc-rtems*) + powerpc-*tems*) target_cpu=ppc ;; sparc-sun-solaris*) # unix "simulator" port @@ -194,10 +194,16 @@ if test -d "$srcdir/c/src/lib/libbsp/$target_cpu"; then Makefile*);; READ*);; CVS*);; - go32*);; # so the i386 port can pick up the other Makefiles + pxfl*);; + go32*);; # so the i386 port can pick up the other Makefiles + # Now account for BSPs with build variants + gen68360) rtems_bsp="$rtems_bsp gen68360 gen68360_040";; + p4000) rtems_bsp="$rtems_bsp p4600 p4650";; + mvme162) rtems_bsp="$rtems_bsp mvme162 mvme162lx";; *) rtems_bsp="$rtems_bsp $file";; esac; done + AC_MSG_RESULT([$rtems_bsp]) fi @@ -207,7 +213,7 @@ if test -d "$srcdir/c/src/lib/libbsp/$target_cpu"; then if test ! -r "$srcdir/c/make/custom/${i}.cfg"; then AC_MSG_ERROR([no make/custom/${i}.cfg file for BSP $i]) fi - + # account for "aliased" bsps which share source code case $i in mvme162lx) bspdir=mvme162 ;; # mvme162 board variant @@ -378,6 +384,7 @@ c/src/tests/tools/Makefile c/src/tests/tools/generic/Makefile $makefiles c/make/host.cfg +c/make/target.cfg c/make/Templates/Makefile.inc c/update-tools/Makefile) -- cgit v1.2.3