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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [configure.ac] - Diff between revs 89 and 90

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

Rev 89 Rev 90
Line 30... Line 30...
# preparing a release, otherwise use a the date version (yyyy-mm-dd).
# preparing a release, otherwise use a the date version (yyyy-mm-dd).
AC_INIT([or1ksim], [2010-04-21], [openrisc@opencores.org])
AC_INIT([or1ksim], [2010-04-21], [openrisc@opencores.org])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_MACRO_DIR([m4])
 
 
# Check we have the execute source file present for sanity. Specify a separate
# Check we have the execute source file present for sanity. Specify a separate
# config for the testsuite, since we'll need different tool chain there (the
# config for the testsuite OR1K specific programs, since we'll need different
# OpenRISC one, rather than the native one).
# tool chain there (the OpenRISC one, rather than the native one).
AC_CONFIG_SRCDIR([cpu/or32/execute.c])
AC_CONFIG_SRCDIR([cpu/or32/execute.c])
AC_CONFIG_SUBDIRS([testsuite])
AC_CONFIG_SUBDIRS([testsuite/test-code-or1k])
 
 
AC_CANONICAL_TARGET([])
AC_CANONICAL_TARGET([])
AC_PROG_LIBTOOL
AC_PROG_LIBTOOL
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([config.h])
 
 
AC_REVISION([$Id: configure.ac 89 2010-04-21 10:51:35Z jeremybennett $ using automake version] AC_ACVERSION)
AC_REVISION([$Id: configure.ac 90 2010-04-21 17:30:28Z jeremybennett $ using automake version] AC_ACVERSION)
 
 
# make sure we are using a recent autoconf version
# make sure we are using a recent autoconf version
AC_PREREQ(2.59)
AC_PREREQ(2.59)
 
 
# yuck.
# yuck.
Line 317... Line 317...
AM_CONDITIONAL(GENERATE_NEEDED, test x$execution = x1)
AM_CONDITIONAL(GENERATE_NEEDED, test x$execution = x1)
AM_CONDITIONAL(DYNAMIC_EXECUTION, test x$execution = x2)
AM_CONDITIONAL(DYNAMIC_EXECUTION, test x$execution = x2)
 
 
 
 
test -n "$profile"  && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
test -n "$profile"  && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
# CFLAGS="$CFLAGS -O4"
 
 
# Check for a DejaGNU global config file. If not set, then set it
 
# ourselves. This stops runtest complaining
 
if test x"$DEJAGNU" = x
 
then
 
  DEJAGNU="\$(top_srcdir)/testsuite/default-global-conf.exp"
 
  AC_SUBST(DEJAGNU)
 
fi
 
 
BUILD_DIR=`pwd`
BUILD_DIR=`pwd`
AC_SUBST(BUILD_DIR)
AC_SUBST(BUILD_DIR)
 
 
AC_SUBST(CFLAGS)
AC_SUBST(CFLAGS)
Line 358... Line 365...
                 cpu/common/Makefile                  \
                 cpu/common/Makefile                  \
                 cpu/or1k/Makefile                    \
                 cpu/or1k/Makefile                    \
                 cuc/Makefile                         \
                 cuc/Makefile                         \
                 debug/Makefile                       \
                 debug/Makefile                       \
                 doc/Makefile                         \
                 doc/Makefile                         \
                 support/Makefile                     \
 
                 mmu/Makefile                         \
                 mmu/Makefile                         \
                 peripheral/Makefile                  \
                 peripheral/Makefile                  \
                 tick/Makefile                        \
 
                 peripheral/channels/Makefile         \
                 peripheral/channels/Makefile         \
                 pm/Makefile                          \
                 pm/Makefile                          \
                 pic/Makefile                         \
                 pic/Makefile                         \
                 vapi/Makefile                        \
                 port/Makefile                           \
                 port/Makefile])
                 support/Makefile                        \
 
                 testsuite/Makefile                      \
 
                 testsuite/config/Makefile               \
 
                 testsuite/lib/Makefile                  \
 
                 testsuite/libsim.tests/Makefile         \
 
                 testsuite/or1ksim.tests/Makefile        \
 
                 testsuite/test-code/Makefile            \
 
                 testsuite/test-code/lib-iftest/Makefile \
 
                 tick/Makefile                           \
 
                 vapi/Makefile])
 
 
# yuck. I don't know why I cannot just substitute $CPU_ARCH in the above
# yuck. I don't know why I cannot just substitute $CPU_ARCH in the above
case "$CPU_ARCH" in
case "$CPU_ARCH" in
dlx)    AC_CONFIG_FILES([cpu/dlx/Makefile]);;
dlx)    AC_CONFIG_FILES([cpu/dlx/Makefile]);;
*)      AC_CONFIG_FILES([cpu/or32/Makefile]);;
*)      AC_CONFIG_FILES([cpu/or32/Makefile]);;

powered by: WebSVN 2.1.0

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