mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +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
|
case $bspdir in
|
||||||
bare)
|
bare)
|
||||||
bspcpudir=
|
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/
|
bspcpudir=$RTEMS_CPU/
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ dnl
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
|
|
||||||
AC_PREREQ(2.13)
|
AC_PREREQ(2.13)
|
||||||
AC_INIT(libbsp)
|
AC_INIT(libc)
|
||||||
RTEMS_TOP(../../..)
|
RTEMS_TOP(../../..)
|
||||||
AC_CONFIG_AUX_DIR(../../..)
|
AC_CONFIG_AUX_DIR(../../..)
|
||||||
|
|
||||||
|
|||||||
@@ -28,22 +28,7 @@ RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
|
|||||||
|
|
||||||
# Is there code where there should be for this BSP?
|
# 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
|
# The bare bsp is a special case as it is not under the RTEMS_CPU path
|
||||||
case $bspdir in
|
if test "$bspdir" = "bare" ; then
|
||||||
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
|
|
||||||
RTEMS_LIBBSP_CPU_SUBDIR="bare"
|
RTEMS_LIBBSP_CPU_SUBDIR="bare"
|
||||||
else
|
else
|
||||||
RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU
|
RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU
|
||||||
|
|||||||
Reference in New Issue
Block a user