mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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:
@@ -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/
|
||||
|
||||
@@ -3,7 +3,7 @@ dnl
|
||||
dnl $Id$
|
||||
|
||||
AC_PREREQ(2.13)
|
||||
AC_INIT(libbsp)
|
||||
AC_INIT(libc)
|
||||
RTEMS_TOP(../../..)
|
||||
AC_CONFIG_AUX_DIR(../../..)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user