URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 132 |
Rev 167 |
Line 79... |
Line 79... |
|
|
case "$host_os" in
|
case "$host_os" in
|
solaris*) LIBS="-lsocket -lnsl" ;;
|
solaris*) LIBS="-lsocket -lnsl" ;;
|
esac
|
esac
|
|
|
|
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})
|
|
|
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)
|
Line 106... |
Line 124... |
-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}/pm -I\${top_srcdir}/pic"
|
AC_SUBST(INCLUDES)
|
AC_SUBST(INCLUDES)
|
|
|
|
echo $(debugmod)
|
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
|
|
test -n "$debugmod" && CFLAGS="$CFLAGS $debugmod"
|
|
echo $CFLAGS
|
|
|
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/or16/Makefile
|
cpu/common/Makefile cpu/or32/Makefile cpu/or16/Makefile
|
cpu/or1k/Makefile cpu/dlx/Makefile
|
cpu/or1k/Makefile cpu/dlx/Makefile
|
support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile
|
support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.