diff options
Diffstat (limited to 'cpukit/aclocal')
-rw-r--r-- | cpukit/aclocal/rtems-top.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/aclocal/rtems-top.m4 b/cpukit/aclocal/rtems-top.m4 index ba055115ef..25572244d3 100644 --- a/cpukit/aclocal/rtems-top.m4 +++ b/cpukit/aclocal/rtems-top.m4 @@ -26,12 +26,12 @@ test -n "$with_target_subdir" || with_target_subdir="." if test "$with_target_subdir" = "." ; then # Native -PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)' +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}${RTEMS_TOPdir}/'$(top_builddir)' +PROJECT_TOPdir="${dots}${with_project_root}${RTEMS_TOPdir}/\$(MULTIBUILDTOP)\$(top_builddir)" fi AC_SUBST(PROJECT_TOPdir) |