summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-07 20:51:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-07 20:51:56 +0000
commitd273d78ae6b9956adea8addb131f05bb4222238d (patch)
treea7d8b7685016a45d2533053e45a5f2541972927e
parentRenaming mcp750 to motorola_shared since that is the basis for both (diff)
downloadrtems-d273d78ae6b9956adea8addb131f05bb4222238d.tar.bz2
Renaming mcp750 to motorola_shared since that is the basis for both
the mvme2307 and mcp750 BSPs. In addition, it can support many Motorola PowerPC based VME and PCI boards.
Diffstat (limited to '')
-rw-r--r--aclocal/bsp-alias.m418
-rw-r--r--make/custom/mcp750.cfg6
-rw-r--r--make/custom/mvme2307.cfg4
3 files changed, 15 insertions, 13 deletions
diff --git a/aclocal/bsp-alias.m4 b/aclocal/bsp-alias.m4
index 595b0d852c..97006e308c 100644
--- a/aclocal/bsp-alias.m4
+++ b/aclocal/bsp-alias.m4
@@ -6,12 +6,14 @@ dnl RTEMS_BSP_ALIAS(BSP_ALIAS,BSP_RETURNED)
dnl convert a bsp alias $1 into its bsp directory $2
AC_DEFUN(RTEMS_BSP_ALIAS,
[
- # account for "aliased" bsps which share source code
- case $1 in
- mvme162lx) $2=mvme162 ;; # mvme162 board variant
- gen68360_040) $2=gen68360 ;; # 68360 in companion mode
- p4600) $2=p4000 ;; # p4000 board with IDT 4600
- p4650) $2=p4000 ;; # p4000 board with IDT 4650
- *) $2=$1;;
- esac
+ # account for "aliased" bsps which share source code
+ case $1 in
+ mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
+ mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant
+ mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant
+ gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
+ p4600) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4600
+ p4650) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4650
+ *) $2=$1;;
+ esac
])
diff --git a/make/custom/mcp750.cfg b/make/custom/mcp750.cfg
index c84c877d95..243b6c72d0 100644
--- a/make/custom/mcp750.cfg
+++ b/make/custom/mcp750.cfg
@@ -11,7 +11,7 @@ RTEMS_CPU_MODEL=mpc750
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
# This is the actual bsp directory used during the build process.
-RTEMS_BSP_FAMILY=mcp750
+RTEMS_BSP_FAMILY=motorola_powerpc
# This section makes the target dependent options file.
@@ -103,8 +103,8 @@ define make-exe
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
- $(CP) $@ $(PROJECT_ROOT)/powerpc-rtems/c/mcp750/lib/libbsp/powerpc/mcp750/bootloader/$(ARCH); \
- cd $(PROJECT_ROOT)/powerpc-rtems/c/mcp750/lib/libbsp/powerpc/mcp750/bootloader; \
+ $(CP) $@ $(PROJECT_ROOT)/powerpc-rtems/c/mcp750/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/$(ARCH); \
+ cd $(PROJECT_ROOT)/powerpc-rtems/c/mcp750/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader; \
$(MAKE) bootloader BINARY_LOADED=$(basename $@).exe; \
COMPLETE_FILE_NAME=$(basename $@).exe ;\
echo $${COMPLETE_FILE_NAME} ;\
diff --git a/make/custom/mvme2307.cfg b/make/custom/mvme2307.cfg
index 878bdbc0a2..86f866af0d 100644
--- a/make/custom/mvme2307.cfg
+++ b/make/custom/mvme2307.cfg
@@ -1,5 +1,5 @@
#
-# Config file for the PowerPC 60x simulator - mvme2307
+# Config file for the PowerPC 604 based mvme2307
#
# $Id$
#
@@ -10,7 +10,7 @@ RTEMS_CPU=powerpc
RTEMS_CPU_MODEL=mpc604
# This is the actual bsp directory used during the build process.
-RTEMS_BSP_FAMILY=mvme2307
+RTEMS_BSP_FAMILY=motorola_powerpc
# This section makes the target dependent options file.