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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_69/] [or1ksim/] [configure.in] - Diff between revs 1450 and 1452

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

Rev 1450 Rev 1452
Line 109... Line 109...
execution="1"
execution="1"
 
 
INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
AC_MSG_CHECKING(which execution style to use)
AC_MSG_CHECKING(which execution style to use)
AC_ARG_ENABLE(execution,
AC_ARG_ENABLE(execution,
    [  --enable-execution Executeion style to use (simple/complex)],
    [  --enable-execution Executeion style to use (simple/complex/dynamic)],
    [
    [
    case "$enableval" in
    case "$enableval" in
    simple)
    simple)
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
      execution="0"
      execution="0"
Line 122... Line 122...
    complex)
    complex)
      INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
      INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
      execution="1"
      execution="1"
      AC_MSG_RESULT(complex)
      AC_MSG_RESULT(complex)
      ;;
      ;;
 
    dynamic)
 
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
 
      execution="2"
 
      AC_MSG_RESULT(dynamic)
 
      ;;
    *)
    *)
      AC_MSG_ERROR("excecution must one of simple/complex")
      AC_MSG_ERROR("excecution must one of simple/complex/dynamic")
      ;;
      ;;
    esac
    esac
    ])
    ])
 
 
eth_phy="0"
eth_phy="0"
Line 177... Line 182...
 
 
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats)
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats)
AC_DEFINE_UNQUOTED(SET_OV_FLAG, $set_ov_flag)
AC_DEFINE_UNQUOTED(SET_OV_FLAG, $set_ov_flag)
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag)
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag)
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy)
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy)
AM_CONDITIONAL(SIMPLE_EXECUTION, test x$simple_execution = x1)
 
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $execution == 0)
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $execution == 0)
AC_DEFINE_UNQUOTED(COMPLEX_EXECUTION, $execution == 1)
AC_DEFINE_UNQUOTED(COMPLEX_EXECUTION, $execution == 1)
 
AC_DEFINE_UNQUOTED(DYNAMIC_EXECUTION, $execution == 2)
 
AM_CONDITIONAL(GENERATE_NEEDED, test x$execution = x1)
 
AM_CONDITIONAL(DYNAMIC_EXECUTION, test x$execution = x2)
 
 
 
 
AC_MSG_CHECKING(for implementation-specific data)
AC_MSG_CHECKING(for implementation-specific data)
AC_ARG_ENABLE(impl,
AC_ARG_ENABLE(impl,
    [  --enable-impl=     use -specific environment
    [  --enable-impl=     use -specific environment
Line 211... Line 218...
BUILD_DIR=`pwd`
BUILD_DIR=`pwd`
AC_SUBST(BUILD_DIR)
AC_SUBST(BUILD_DIR)
 
 
AC_SUBST(CFLAGS)
AC_SUBST(CFLAGS)
AC_SUBST(LOCAL_CFLAGS)
AC_SUBST(LOCAL_CFLAGS)
dnl AC_SUBST(LOCAL_LDFLAGS) (LOCAL_LDFLAGS not defined)
AC_SUBST(LOCAL_LDFLAGS)
AC_SUBST(LOCAL_DEFS)
AC_SUBST(LOCAL_DEFS)
 
 
AC_SUBST(AR)
AC_SUBST(AR)
AC_SUBST(ARFLAGS)
AC_SUBST(ARFLAGS)
 
 

powered by: WebSVN 2.1.0

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