Changeset dd984c0 in rtems for c/src/configure.ac


Ignore:
Timestamp:
Aug 8, 2003, 3:24:13 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
539e266e
Parents:
b91f13f9
Message:

2003-08-08 Ralf Corsepius <corsepiu@…>

  • configure.ac: Merge-in lib/libcpu/configure.ac. Merge-in lib/libbsp/configure.ac.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/configure.ac

    rb91f13f9 rdd984c0  
    120120BSP_SUBDIRS="$BSP_SUBDIRS make"
    121121BSP_SUBDIRS="$BSP_SUBDIRS optman"
    122 AC_CONFIG_SUBDIRS([lib/libcpu])
    123 BSP_SUBDIRS="$BSP_SUBDIRS lib/libcpu"
    124 AC_CONFIG_SUBDIRS([lib/libbsp])
    125 BSP_SUBDIRS="$BSP_SUBDIRS lib/libbsp"
     122
     123RTEMS_CPU_SUBDIRS(lib/libcpu)
     124if test -d "lib/libcpu/${RTEMS_CPU}"; then
     125  libcpu_cpu_subdir="${RTEMS_CPU}"
     126  BSP_SUBDIRS="$BSP_SUBDIRS lib/libcpu/${RTEMS_CPU}"
     127else
     128  libcpu_cpu_subdir=
     129fi
     130AC_SUBST(libcpu_cpu_subdir)
     131
     132# Is there code where there should be for this BSP?
     133# The bare bsp is a special case as it is not under the RTEMS_CPU path
     134if test "$RTEMS_BSP_FAMILY" = "bare" ; then
     135  AC_CONFIG_SUBDIRS([lib/libbsp/bare])
     136  BSP_SUBDIRS="$BSP_SUBDIRS lib/libbsp/bare"
     137  AC_SUBST(libbsp_cpu_subdir,bare)
     138else
     139  RTEMS_CPU_SUBDIRS([lib/libbsp])
     140  BSP_SUBDIRS="$BSP_SUBDIRS lib/libbsp/${RTEMS_CPU}"
     141  AC_SUBST(libbsp_cpu_subdir,$RTEMS_CPU)
     142fi
     143
    126144BSP_SUBDIRS="$BSP_SUBDIRS libchip"
    127145BSP_SUBDIRS="$BSP_SUBDIRS libnetworking"
    128146BSP_SUBDIRS="$BSP_SUBDIRS librdbg"
    129 
     147                                                         
    130148AS_IF([test "$RTEMS_HAS_CPLUSPLUS" = "yes"],[
    131149  AC_CONFIG_SUBDIRS([librtems++])
     
    164182AM_CONDITIONAL([HAS_RDBG],[test "$HAS_RDBG" = "yes"])
    165183AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
     184AM_CONDITIONAL([HAS_MP],[test "$HAS_MP" = "yes"])
    166185
    167186# The posix bsp doesn't support libchip
     
    216235optman/Makefile
    217236
     237lib/libcpu/Makefile
     238
     239lib/libbsp/Makefile
     240lib/libbsp/shmdr/Makefile
     241lib/libbsp/shared/Makefile
     242
    218243wrapup/Makefile
    219244])
Note: See TracChangeset for help on using the changeset viewer.