diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-01-11 12:21:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-01-11 12:21:40 +0000 |
commit | c6e26e069cd036977270b9e722456905f570b0c6 (patch) | |
tree | 538eb7aa41e45502242d5dc48d604848cf4a6e96 /cpukit/aclocal | |
parent | 2004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-c6e26e069cd036977270b9e722456905f570b0c6.tar.bz2 |
2004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Don't AC_SUBST PROJECT_ROOT.
Remove PROJECT_TOPdir (Unused).
* aclocal/env-rtemscpu.m4: Remove PROJECT_RELEASE.
Expand ${PROJECT_ROOT}.
Remove RTEMS_ENABLE_BARE (Unused).
Don't AC_SUBST RTEMS_BSP.
* aclocal/enable-bare.m4: Remove (Unused).
Diffstat (limited to 'cpukit/aclocal')
-rw-r--r-- | cpukit/aclocal/enable-bare.m4 | 19 | ||||
-rw-r--r-- | cpukit/aclocal/env-rtemscpu.m4 | 15 | ||||
-rw-r--r-- | cpukit/aclocal/rtems-top.m4 | 12 |
3 files changed, 4 insertions, 42 deletions
diff --git a/cpukit/aclocal/enable-bare.m4 b/cpukit/aclocal/enable-bare.m4 deleted file mode 100644 index 339290b3f7..0000000000 --- a/cpukit/aclocal/enable-bare.m4 +++ /dev/null @@ -1,19 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_BARE], -[ -AC_ARG_ENABLE(bare-cpu-cflags, -AS_HELP_STRING(--enable-bare-cpu-cflags,specify a particular cpu cflag (bare bsp specific)), -[case "${enableval}" in - no) BARE_CPU_CFLAGS="" ;; - *) BARE_CPU_CFLAGS="${enableval}" ;; -esac], -[BARE_CPU_CFLAGS=""]) - -AC_ARG_ENABLE(bare-cpu-model, -AS_HELP_STRING(--enable-bare-cpu-model,specify a particular cpu model (bare bsp specific)), -[case "${enableval}" in - no) BARE_CPU_MODEL="" ;; - *) BARE_CPU_MODEL="${enableval}" ;; -esac], -[BARE_CPU_MODEL=""]) -]) - diff --git a/cpukit/aclocal/env-rtemscpu.m4 b/cpukit/aclocal/env-rtemscpu.m4 index 6bcc48e28e..b93fbb7c13 100644 --- a/cpukit/aclocal/env-rtemscpu.m4 +++ b/cpukit/aclocal/env-rtemscpu.m4 @@ -14,9 +14,8 @@ AC_DEFUN([RTEMS_ENV_RTEMSCPU], [MULTISUBDIR="/$with_multisubdir"]) AC_SUBST(MULTISUBDIR) - AC_SUBST([PROJECT_INCLUDE],["\$(PROJECT_ROOT)/lib/include"]) - AC_SUBST([PROJECT_LIB],["\$(PROJECT_ROOT)/lib\$(MULTISUBDIR)"]) - AC_SUBST([PROJECT_RELEASE],["\$(PROJECT_ROOT)"]) + AC_SUBST([PROJECT_INCLUDE],["${PROJECT_ROOT}/lib/include"]) + AC_SUBST([PROJECT_LIB],["${PROJECT_ROOT}/lib\$(MULTISUBDIR)"]) includedir="\${exec_prefix}/include" libdir="${libdir}\$(MULTISUBDIR)" @@ -38,18 +37,12 @@ AC_DEFUN([RTEMS_ENV_RTEMSCPU], ]) RTEMS_BSP="$rtems_cv_RTEMS_BSP" AC_MSG_RESULT(${RTEMS_BSP}) - AC_SUBST(RTEMS_BSP) includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include" libdir="\${exec_prefix}/${RTEMS_BSP}/lib" - AC_SUBST([PROJECT_INCLUDE],["\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"]) - AC_SUBST([PROJECT_LIB],["\$(PROJECT_ROOT)/$RTEMS_BSP/lib"]) - AC_SUBST([PROJECT_RELEASE],["\$(PROJECT_ROOT)/$RTEMS_BSP"]) - - RTEMS_ENABLE_BARE - AC_SUBST(BARE_CPU_MODEL) - AC_SUBST(BARE_CPU_CFLAGS) + AC_SUBST([PROJECT_INCLUDE],["${PROJECT_ROOT}/$RTEMS_BSP/lib/include"]) + AC_SUBST([PROJECT_LIB],["${PROJECT_ROOT}/$RTEMS_BSP/lib"]) ]) AC_SUBST([project_libdir],["\$(libdir)"]) diff --git a/cpukit/aclocal/rtems-top.m4 b/cpukit/aclocal/rtems-top.m4 index 9f1e87de6f..0996ce73d0 100644 --- a/cpukit/aclocal/rtems-top.m4 +++ b/cpukit/aclocal/rtems-top.m4 @@ -23,19 +23,7 @@ AC_SUBST(RTEMS_TOPdir) ## with_target_subdirs is handled implicitly by autoconf test -n "$with_target_subdir" || with_target_subdir="." -if test "$with_target_subdir" = "." ; then -# Native -PROJECT_TOPdir="${with_project_root}${RTEMS_TOPdir}/\$(MULTIBUILDTOP)\$(top_builddir)" -else -# Cross -dots=`echo $with_target_subdir|\ -sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` -PROJECT_TOPdir="${dots}${with_project_root}${RTEMS_TOPdir}/\$(MULTIBUILDTOP)\$(top_builddir)" -fi -AC_SUBST(PROJECT_TOPdir) - PROJECT_ROOT="${with_project_root}${RTEMS_TOPdir}/\$(MULTIBUILDTOP)\$(top_builddir)" -AC_SUBST(PROJECT_ROOT) AC_MSG_CHECKING([for RTEMS Version]) AC_MSG_RESULT([_RTEMS_VERSION]) |