summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/rtems-top.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 15:19:48 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 15:19:48 +0000
commit68556636579a3e2403c8588d0f61bd1ff0a60c95 (patch)
treeb7332622bc74906c8f6b521fa9b92a13e5730922 /cpukit/aclocal/rtems-top.m4
parent2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-68556636579a3e2403c8588d0f61bd1ff0a60c95.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* aclocal/rtems-top.m4: Don't AC_SUBST(PROJECT_ROOT). Add project_libdir, project_include and libdir. * aclocal/env-rtemscpu.m4: Remove all references to RTEMS_BSP. Remove project_libdir, project_include and libdir. Unconditionally use CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V.
Diffstat (limited to 'cpukit/aclocal/rtems-top.m4')
-rw-r--r--cpukit/aclocal/rtems-top.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/aclocal/rtems-top.m4 b/cpukit/aclocal/rtems-top.m4
index 6d6f6fabc5..c3f74304e5 100644
--- a/cpukit/aclocal/rtems-top.m4
+++ b/cpukit/aclocal/rtems-top.m4
@@ -57,10 +57,14 @@ AS_IF([test "$enable_multilib" = "yes"],[
PROJECT_ROOT='$(top_builddir)'${rtems_updir}'../$(MULTIBUILDTOP)'],[
PROJECT_ROOT='$(top_builddir)'${rtems_updir}])
])
-AC_SUBST([PROJECT_ROOT])
AC_SUBST([PROJECT_INCLUDE],["${PROJECT_ROOT}lib/include"])
AC_SUBST([PROJECT_LIB],["${PROJECT_ROOT}lib\$(MULTISUBDIR)"])
+libdir="${libdir}\$(MULTISUBDIR)"
+
+AC_SUBST([project_libdir],["\$(libdir)"])
+AC_SUBST([project_includedir],["\$(includedir)"])
+
AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
])dnl