URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 174 to Rev 175
- ↔ Reverse comparison
Rev 174 → Rev 175
/trunk/or1ksim/configure.in
81,6 → 81,8
solaris*) LIBS="-lsocket -lnsl" ;; |
esac |
|
dnl define options |
|
AC_MSG_CHECKING(whether to enable profiling) |
AC_ARG_ENABLE(profiling, |
[ --enable-profiling generate profiling code], [ |
99,6 → 101,28
]) |
AC_MSG_RESULT(${disable_debugmod-no}) |
|
AC_SUBST(FPM) |
AC_MSG_CHECKING(for implementation-specific data) |
AC_ARG_ENABLE(impl, |
[ --enable-impl=<arch> use <impl>-specific environment |
(one of: bender, mp3, default)], [ |
case "$enableval" in |
no|default) IMPL="DEFAULT" ;; |
mp3) IMPL="MP3" ;; |
bender) IMPL="BENDER" ;; |
*) |
AC_MSG_RESULT(failed) |
AC_MSG_ERROR([bad --enable-impl option]) |
;; |
esac |
]) |
AC_MSG_RESULT(${IMPL=DEFAULT}) |
if test "$IMPL" = "DEFAULT" |
then |
AC_MSG_WARN([using default environment]) |
fi |
IMPL="-DIMPL_$IMPL" |
|
BUILD_DIR=`pwd` |
AC_SUBST(BUILD_DIR) |
|
126,10 → 150,9
-I\${top_srcdir}/pm -I\${top_srcdir}/pic" |
AC_SUBST(INCLUDES) |
|
echo $(debugmod) |
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile" |
test -n "$debugmod" && CFLAGS="$CFLAGS $debugmod" |
echo $CFLAGS |
CFLAGS="$CFLAGS $IMPL" |
|
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile |
cpu/common/Makefile cpu/or32/Makefile cpu/or16/Makefile |