2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>

* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
	Per Jiri Gaisler remove unused erc32nfp and leon1 BSP variants.
This commit is contained in:
Joel Sherrill
2007-05-11 14:09:17 +00:00
parent e819020f4f
commit 1a63b52872
4 changed files with 72 additions and 66 deletions

View File

@@ -1,3 +1,8 @@
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
Per Jiri Gaisler remove unused erc32nfp and leon1 BSP variants.
2007-05-11 Joel Sherrill <joel.sherrill@oarcorp.com> 2007-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* README.configure: DMV152 obsoleted. * README.configure: DMV152 obsoleted.

View File

@@ -22,23 +22,23 @@ To configure RTEMS for a specific target, run configure in the build
directory. In addition to the standard configure options, the following directory. In addition to the standard configure options, the following
RTEMS-specific option are supported: RTEMS-specific option are supported:
--disable-rtems-inlines --disable-rtems-inlines
--disable-posix --disable-posix
--disable-itron --disable-itron
--disable-networking --disable-networking
--enable-cxx --enable-cxx
--enable-bare-cpu-model=<MODEL> --enable-bare-cpu-model=<MODEL>
--enable-bare-cpu-cflags=<FLAGS> --enable-bare-cpu-cflags=<FLAGS>
--enable-multiprocessing --enable-multiprocessing
--enable-rtemsbsp="bsp1 bsp2 ..." --enable-rtemsbsp="bsp1 bsp2 ..."
--enable-tests --enable-tests
--enable-rdbg (only valid for i386 and some PowerPC BSPs) --enable-rdbg (only valid for i386 and some PowerPC BSPs)
--enable-docs --enable-docs
In addition, the following standard autoconf options are frequently In addition, the following standard autoconf options are frequently
used when configuring RTEMS installations: used when configuring RTEMS installations:
--prefix=INSTALL_DIRECTORY --prefix=INSTALL_DIRECTORY
By default, inline routines are used instead of macros where possible. By default, inline routines are used instead of macros where possible.
Macros can be selected using the --disable-inlines option. [NOTE: Macros can be selected using the --disable-inlines option. [NOTE:
@@ -79,38 +79,38 @@ for those BSPs supporting it by the --enable-multiprocessing option.
By default, all bsps for a target are built. The bare BSP is not built By default, all bsps for a target are built. The bare BSP is not built
unless directly specified. There are two ways of changing this: unless directly specified. There are two ways of changing this:
+ use the --enable-rtemsbsp option which will set the specified + use the --enable-rtemsbsp option which will set the specified
bsps as the default bsps, or bsps as the default bsps, or
+ set the RTEMS_BSP variable during make (see below). + set the RTEMS_BSP variable during make (see below).
The --enable-rtemsbsp= option configures RTEMS for a specific board The --enable-rtemsbsp= option configures RTEMS for a specific board
within a target architecture. Remember that the target specifies the within a target architecture. Remember that the target specifies the
CPU family while the BSP specifies the precise board you will be using. CPU family while the BSP specifies the precise board you will be using.
The following targets are supported: The following targets are supported:
(none) will build the host-based version on Linux, (none) will build the host-based version on Linux,
Solaris and HPUX. Solaris and HPUX.
arm-rtems arm-rtems
c4x-rtems c4x-rtems
h8300-rtems h8300-rtems
i386-rtems i386-rtems
m68k-rtems m68k-rtems
mips-rtems mips-rtems
no_cpu-rtems no_cpu-rtems
or32-rtems or32-rtems
powerpc-rtems powerpc-rtems
sh-rtems sh-rtems
sparc-rtems sparc-rtems
bare see notes bare see notes
The cross-compiler is set to $(target)-gcc by default. This can be The cross-compiler is set to $(target)-gcc by default. This can be
overridden by: overridden by:
+ using the --program-prefix option to configure to specify the + using the --program-prefix option to configure to specify the
string which will prepended to the tool names. Be sure to include string which will prepended to the tool names. Be sure to include
a trailing "-". For example, to use a m68k-coff toolset, use the a trailing "-". For example, to use a m68k-coff toolset, use the
--program-prefix=m68k-coff- option. --program-prefix=m68k-coff- option.
To build, run make in the build directory. To specify which bsps to build, To build, run make in the build directory. To specify which bsps to build,
add the RTEMS_BSP="bsp1 bsp2 .." to the make command. Specifying multiple add the RTEMS_BSP="bsp1 bsp2 .." to the make command. Specifying multiple
@@ -120,11 +120,11 @@ Installation is done under $(prefix)/rtems.
As an example, to build and install the mvme136 and mvme162 bsps for m68k do: As an example, to build and install the mvme136 and mvme162 bsps for m68k do:
(path_to_rtems_src)/configure --target=m68k-rtems (path_to_rtems_src)/configure --target=m68k-rtems
make RTEMS_BSP="mvme136 mvme162" make RTEMS_BSP="mvme136 mvme162"
make install RTEMS_BSP="mvme136 mvme162" make install RTEMS_BSP="mvme136 mvme162"
The sample tests are built by 'make all', do a 'make test' to build the full The sample tests are built by 'make all', do a 'make test' to build the full
test suite. test suite.
@@ -144,14 +144,14 @@ for the standalone build.
bare: bare:
1. See the README in the bare bsp source directory. This should 1. See the README in the bare bsp source directory. This should
contain all info you need. contain all info you need.
2. The bare bsp source contains a script to show how to build it. 2. The bare bsp source contains a script to show how to build it.
3. The configure flags must be used to get the bare bsp to work. 3. The configure flags must be used to get the bare bsp to work.
The --enable-bare-cpu-model and --enable-bare-cpu-cflags are the The --enable-bare-cpu-model and --enable-bare-cpu-cflags are the
only pieces of information. The module is usually a gcc module only pieces of information. The module is usually a gcc module
such as m68302 or mcpu32. The flags are passed directly to gcc. such as m68302 or mcpu32. The flags are passed directly to gcc.
Use "" if more than one option is specified. Use "" if more than one option is specified.
3. To use the installed RTEMS library 3. To use the installed RTEMS library
===================================== =====================================
@@ -161,7 +161,7 @@ makefile has to include a bsp-specific makefile that will define the
RTEMS variables necessary to find include files and libraries. The RTEMS variables necessary to find include files and libraries. The
bsp-specific makefile is installed at bsp-specific makefile is installed at
$(RTEMS_MAKEFILE_PATH)/Makefile.inc $(RTEMS_MAKEFILE_PATH)/Makefile.inc
For the erc32 bsp installed at /usr/local/cross, the environment For the erc32 bsp installed at /usr/local/cross, the environment
variable RTEMS_MAKEFILE_PATH would be set as follows to the variable RTEMS_MAKEFILE_PATH would be set as follows to the
@@ -176,37 +176,41 @@ The following bsps are supported:
host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX) host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
arm : arm_bare_bsp armulator csb336 csb337 edb7312 gp32 vegaplus arm : armulator csb336 csb337 edb7312 gba gp32 rtl22x
avr: : none
bfin : eZKit533
c4x : c3xsim c4xsim c4x : c3xsim c4xsim
h8300 : h8sim h8300 : h8sim
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex i386 : 386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
NOTE: The "pc386" BSP can be compiled to support a NOTE: The "pc386" BSP can be compiled to support a
variety of PC configurations including PC-104 variety of PC configurations including PC-104
based solutions. based solutions.
m68k : av5282 csb360 gen68302 gen68340 gen68360 gen68360_040 m68k : gen68360 gen68360_040 mvme136 mvme147s mvme162 mvme162lx
idp mcf5206elite mcf5235 mrm332 mvme136 mvme147 mvme147s mvme167 ods68302 sim68000 mcf5206elite uC5282
mvme162 mvme162lx ods68302 sim68000 simcpu32 uC5282 gen68302 csb360 simcpu32 mrm332 av5282 gen68340 mcf5235 idp
no_cpu : no_bsp (porting example) no_cpu : no_bsp (porting example)
mips : csb350 genmongoosev mips : csb350 genmongoosev hurricane jmr3904 rbtx4925 rbtx4938
p4600 p4650 (p4000 port with either R4600 or R4650)
jmr3904
powerpc : ep1a gen405 helas403 mcp750 mbx8xx mtx603e powerpc : psim score603e mcp750 mvme2100 mvme2307 mpc8260ads ss555
mpc8260ads mvme230x mvme5500 psim score603e ss555 mvme5500 ep1a pm520_cr825 pm520_ze30 gen405 helas403
mbx821_001 mbx821_002 mbx821_002b mbx860_1b mbx860_001b
mbx860_002 mbx860_005b mtx603e brs5l gen5200
NOTE: The "motorola_powerpc" BSP is a single BSP which NOTE: The "motorola_powerpc" BSP is a single BSP which
can be conditionally compiled to support most Motorola can be conditionally compiled to support most Motorola
VMEbus, CompactPCI, and MTX boards.) VMEbus, CompactPCI, and MTX boards.)
sh : gensh1 gensh2 shsim simsh4 gensh4 sh : gensh1 gensh2 gensh4 shsim simsh4 simsh7045
sparc : erc32 erc32nfp leon1 leon2 sparc : erc32 sis leon2 leon3
any : bare any : bare

View File

@@ -9,9 +9,7 @@ AC_DEFUN([_RTEMS_BSP_ALIAS],
case $1 in case $1 in
bare*) $2=bare ;; # EXP: bare-aliases bare*) $2=bare ;; # EXP: bare-aliases
c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb
erc32nfp) $2=erc32 ;; # erc32 without fpu
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
leon1) $2=leon2 ;; # leon without fpu
mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board
mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
mtx603e) $2=motorola_powerpc ;; # Motorola PPC board variant mtx603e) $2=motorola_powerpc ;; # Motorola PPC board variant

View File

@@ -29,8 +29,7 @@ AC_MSG_CHECKING([for available BSPs])
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l";; gen5200) bsps="pm520_cr825 pm520_ze30 brs5l";;
motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";; motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";;
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";; pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
erc32) bsps="erc32 erc32nfp sis";; erc32) bsps="erc32 sis";;
leon2) bsps="leon1 leon2";;
sim68000) bsps="sim68000 simcpu32";; sim68000) bsps="sim68000 simcpu32";;
shsim) bsps="simsh7032 simsh7045";; shsim) bsps="simsh7032 simsh7045";;
*) bsps="$bsp_family";; *) bsps="$bsp_family";;