URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 30 |
Rev 173 |
dnl
|
dnl
|
dnl $Id: tool-prefix.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
dnl $Id: tool-prefix.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
dnl
|
dnl
|
dnl Set program_prefix
|
dnl Set program_prefix
|
dnl
|
dnl
|
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
dnl Extracted from configure
|
dnl Extracted from configure
|
|
|
AC_DEFUN(RTEMS_TOOL_PREFIX,
|
AC_DEFUN(RTEMS_TOOL_PREFIX,
|
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
|
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
|
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
|
|
changequote(,)dnl
|
changequote(,)dnl
|
if [ "${program_prefix}" = "NONE" ] ; then
|
if [ "${program_prefix}" = "NONE" ] ; then
|
if [ "${target}" = "${host}" ] ; then
|
if [ "${target}" = "${host}" ] ; then
|
program_prefix=
|
program_prefix=
|
else
|
else
|
program_prefix=${target}-
|
program_prefix=${target}-
|
fi
|
fi
|
fi
|
fi
|
changequote([,])dnl
|
changequote([,])dnl
|
])
|
])
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.