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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [configure.in] - Blame information for rev 773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl Process this file with autoconf to produce a configure script.
2
dnl
3
dnl $Id: configure.in,v 1.2 2001-09-27 11:59:36 chris Exp $
4
 
5
AC_PREREQ(2.13)
6
AC_INIT(README)
7
RTEMS_TOP(../../../..)
8
AC_CONFIG_AUX_DIR(../../../..)
9
 
10
RTEMS_CANONICAL_TARGET_CPU
11
AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp,$RTEMS_VERSION,no)
12
AM_MAINTAINER_MODE
13
 
14
RTEMS_ENABLE_MULTIPROCESSING
15
RTEMS_PROG_CC_FOR_TARGET
16
RTEMS_CANONICALIZE_TOOLS
17
RTEMS_ENABLE_BARE
18
 
19
RTEMS_ENV_RTEMSBSP
20
 
21
RTEMS_CHECK_CPU
22
RTEMS_CANONICAL_HOST
23
 
24
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
25
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
26
 
27
RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
28
 
29
# Is there code where there should be for this BSP?
30
# The bare bsp is a special case as it is not under the RTEMS_CPU path
31
case $bspdir in
32
  bare)
33
    bspcpudir=
34
    if test "X${BARE_CPU_CFLAGS}" = "X" ; then
35
      AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
36
    fi
37
    if test "X${BARE_CPU_MODEL}" = "X" ; then
38
      AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
39
    fi
40
    ;;
41
  *)
42
    bspcpudir=$RTEMS_CPU/
43
    ;;
44
esac
45
 
46
if test "$RTEMS_BSP" = "bare" ; then
47
  RTEMS_LIBBSP_CPU_SUBDIR="bare"
48
else
49
  RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU
50
fi
51
AC_SUBST(RTEMS_LIBBSP_CPU_SUBDIR)
52
cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR"
53
 
54
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
55
AC_CONFIG_SUBDIRS($cfg_subdirs)
56
 
57
RTEMS_PROJECT_ROOT
58
 
59
# Explicitly list all Makefiles here
60
AC_OUTPUT(
61
Makefile
62
shmdr/Makefile)

powered by: WebSVN 2.1.0

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