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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_1_0/] [or1ksim/] [configure.in] - Diff between revs 397 and 513

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

Rev 397 Rev 513
Line 82... Line 82...
case "$host_os" in
case "$host_os" in
solaris*) LIBS="-lsocket -lnsl" ;;
solaris*) LIBS="-lsocket -lnsl" ;;
esac
esac
 
 
dnl define options
dnl define options
 
 
AC_MSG_CHECKING(whether to enable profiling)
 
AC_ARG_ENABLE(profiling,
 
    [  --enable-profiling      generate profiling code], [
 
    case "$enableval" in
 
        yes) profile="-pg" ;;
 
    esac
 
])
 
AC_MSG_RESULT(${enable_profiling-no})
 
 
 
AC_MSG_CHECKING(whether to disable CPU debugging module)
 
AC_ARG_ENABLE(debugmod,
 
    [  --disable-debugmod      turns off debug module], [
 
    case "$enableval" in
 
        no) debugmod="-DDEBUGMOD_OFF" ;;
 
    esac
 
])
 
AC_MSG_RESULT(${disable_debugmod-no})
 
 
 
AC_SUBST(FPM)
AC_SUBST(FPM)
 
 
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
                          (one of: bender, mp3, default)], [
                          (one of: bender, mp3, default)], [
    case "$enableval" in
    case "$enableval" in
Line 151... Line 133...
-I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
-I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
-I\${top_srcdir}/pm -I\${top_srcdir}/pic -I\${top_srcdir}/debug -I\${top_srcdir}/vapi"
-I\${top_srcdir}/pm -I\${top_srcdir}/pic -I\${top_srcdir}/debug -I\${top_srcdir}/vapi"
AC_SUBST(INCLUDES)
AC_SUBST(INCLUDES)
 
 
test -n "$profile"  && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
 
test -n "$debugmod" && CFLAGS="$CFLAGS $debugmod"
 
CFLAGS="$CFLAGS $IMPL"
 
 
 
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile
        cpu/common/Makefile cpu/or32/Makefile
        cpu/common/Makefile cpu/or32/Makefile
        cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile
        cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile
        support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile
        support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile
        pm/Makefile pic/Makefile debug/Makefile vapi/Makefile],
        pm/Makefile pic/Makefile debug/Makefile vapi/Makefile],

powered by: WebSVN 2.1.0

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