Patch rtems-rc-20000615-4-cvs.diff from Ralf Corsepius

<corsepiu@faw.uni-ulm.de> to fix the following:

  * lib/configure.in actually is libc's configure.in, so let it depend
    on libc not on lib [In my Cygnus/GNU configuration scheme, lib/include
    and lib/libc are treated as one unit, while libcpu and libbsp are
    treated as separate units.]

  * Allow empty --enable-bare* flags for the bare bsp. The formerly
    used scheme is too strict for our multilib experiments.
This commit is contained in:
Joel Sherrill
2000-06-16 13:00:42 +00:00
parent fc6eaeeba5
commit 994202a417
3 changed files with 2 additions and 23 deletions

View File

@@ -35,12 +35,6 @@ for i in $rtems_bsp; do
case $bspdir in
bare)
bspcpudir=
if test "X${BARE_CPU_CFLAGS}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
fi
if test "X${BARE_CPU_MODEL}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
fi
;;
*)
bspcpudir=$RTEMS_CPU/

View File

@@ -3,7 +3,7 @@ dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(libbsp)
AC_INIT(libc)
RTEMS_TOP(../../..)
AC_CONFIG_AUX_DIR(../../..)

View File

@@ -28,22 +28,7 @@ RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
# Is there code where there should be for this BSP?
# The bare bsp is a special case as it is not under the RTEMS_CPU path
case $bspdir in
bare)
bspcpudir=
if test "X${BARE_CPU_CFLAGS}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
fi
if test "X${BARE_CPU_MODEL}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
fi
;;
*)
bspcpudir=$RTEMS_CPU/
;;
esac
if test "$RTEMS_BSP" = "bare" ; then
if test "$bspdir" = "bare" ; then
RTEMS_LIBBSP_CPU_SUBDIR="bare"
else
RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU