summaryrefslogtreecommitdiffstats
path: root/aclocal/tool-paths.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/tool-paths.m4')
-rw-r--r--aclocal/tool-paths.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/aclocal/tool-paths.m4 b/aclocal/tool-paths.m4
index b6a7f5500d..cb61747afd 100644
--- a/aclocal/tool-paths.m4
+++ b/aclocal/tool-paths.m4
@@ -2,6 +2,8 @@ AC_DEFUN(RTEMS_TOOLPATHS,
[
# tooldir='$(exec_prefix)/'$target_alias
# Temporary work-around until building in source tree is supported
+AC_REQUIRE([RTEMS_PROJECT_ROOT])
+
tooldir='$(PROJECT_ROOT)'
AC_SUBST(tooldir)
@@ -13,4 +15,9 @@ AC_SUBST(project_libdir)
project_bindir='$(tooldir)/bin'
AC_SUBST(project_bindir)
+
+rtems_bspdir='$(prefix)/${RTEMS_BSP}'
+AC_SUBST(rtems_bspdir)
+rtems_makedir='$(prefix)/make'
+AC_SUBST(rtems_makedir)
])