URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [testbench/] [configure.in] - Diff between revs 381 and 385
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 381 |
Rev 385 |
Line 48... |
Line 48... |
AC_SUBST(CFLAGS)
|
AC_SUBST(CFLAGS)
|
set -- $CFLAGS
|
set -- $CFLAGS
|
COMPILE_OR1K=unknown
|
COMPILE_OR1K=unknown
|
AC_SUBST(TESTS_ENV)
|
AC_SUBST(TESTS_ENV)
|
TESTS_ENV=
|
TESTS_ENV=
|
LDFLAGS=
|
AC_SUBST(OR1K_LDFLAGS)
|
|
OR1K_LDFLAGS=
|
case $target in
|
case $target in
|
or1k*|or32*)
|
or1k*|or32*)
|
CFLAGS="$CFLAGS -nostdlib -mhard-div"
|
CFLAGS="$CFLAGS -nostdlib -mhard-div"
|
COMPILE=or1k
|
COMPILE=or1k
|
TESTS_ENV="$SIM"
|
TESTS_ENV="$SIM"
|
LDFLAGS="-T${top_srcdir}/except.ld"
|
OR1K_LDFLAGS="-T\${top_srcdir}/except.ld"
|
;;
|
;;
|
esac
|
esac
|
echo $TESTS_ENV
|
echo $TESTS_ENV
|
AM_CONDITIONAL(OR1K_EXCEPT, test x$COMPILE = xor1k)
|
AM_CONDITIONAL(OR1K_EXCEPT, test x$COMPILE = xor1k)
|
CFLAGS="$CFLAGS -Wall"
|
CFLAGS="$CFLAGS -Wall"
|
|
|
AC_SUBST(INCLUDES)
|
AC_SUBST(INCLUDES)
|
INCLUDES="-I\${top_srcdir}/support"
|
INCLUDES="-I\${top_srcdir}/support"
|
AC_SUBST(LDFLAGS)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
AC_C_CONST
|
AC_C_CONST
|
AC_C_INLINE
|
AC_C_INLINE
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.