OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [configure.in] - Diff between revs 410 and 451

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 410 Rev 451
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=
AC_SUBST(OR1K_LDFLAGS)
AC_SUBST(OR1K_SRCDIR)
OR1K_LDFLAGS=
OR1K_SRCDIR="./${top_srcdir}"
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"
                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)
 
 
copysec=
CFLAGS="$CFLAGS -Wall"
AC_MSG_CHECKING(whether to enable section copying)
 
AC_ARG_ENABLE(copysec,
 
    [  --enable-copysec      generate section copy code], [
 
    case "$enableval" in
 
        yes) copysec="-DCOPY_SECTIONS" ;;
 
    esac
 
])
 
AC_MSG_RESULT(${enable_copysec-no})
 
 
 
 
 
CFLAGS="$CFLAGS -Wall $copysec"
 
 
 
AC_SUBST(INCLUDES)
AC_SUBST(INCLUDES)
INCLUDES="-I\${top_srcdir}/support"
INCLUDES="-I\${top_srcdir}/support"
 
 
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for typedefs, structures, and compiler characteristics.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.