URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 30 |
Rev 173 |
dnl
|
dnl
|
dnl $Id: project-root.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
dnl $Id: project-root.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
dnl
|
dnl
|
|
|
AC_DEFUN(RTEMS_PROJECT_ROOT,
|
AC_DEFUN(RTEMS_PROJECT_ROOT,
|
[dnl
|
[dnl
|
AC_REQUIRE([RTEMS_TOP])
|
AC_REQUIRE([RTEMS_TOP])
|
if test "$TARGET_SUBDIR" = "." ; then
|
if test "$TARGET_SUBDIR" = "." ; then
|
PROJECT_ROOT=$RTEMS_TOPdir/'$(top_builddir)';
|
PROJECT_ROOT=$RTEMS_TOPdir/'$(top_builddir)';
|
else
|
else
|
PROJECT_ROOT=../$RTEMS_TOPdir/'$(top_builddir)'
|
PROJECT_ROOT=../$RTEMS_TOPdir/'$(top_builddir)'
|
fi
|
fi
|
AC_SUBST(PROJECT_ROOT)
|
AC_SUBST(PROJECT_ROOT)
|
|
|
RTEMS_ROOT=$RTEMS_TOPdir/'$(top_builddir)'/c/$RTEMS_BSP
|
RTEMS_ROOT=$RTEMS_TOPdir/'$(top_builddir)'/c/$RTEMS_BSP
|
AC_SUBST(RTEMS_ROOT)
|
AC_SUBST(RTEMS_ROOT)
|
|
|
PACKHEX="\$(PROJECT_ROOT)/tools/build/packhex"
|
PACKHEX="\$(PROJECT_ROOT)/tools/build/packhex"
|
AC_SUBST(PACKHEX)
|
AC_SUBST(PACKHEX)
|
|
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
AC_SUBST(PROJECT_INCLUDE)
|
AC_SUBST(PROJECT_INCLUDE)
|
|
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
AC_SUBST(PROJECT_RELEASE)
|
AC_SUBST(PROJECT_RELEASE)
|
])
|
])
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.