Changeset 080afec in rtems


Ignore:
Timestamp:
Oct 17, 2001, 1:15:11 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
efb5450
Parents:
8dc51855
Message:

2001-10-16 Ralf Corsepius <corsepiu@…>

  • aclocal/rtems-cpu-subdirs.m4: Add PREFIX arg to RTEMS_CPU_SUBDIRS, add 2nd arg to _RTEMS_CPU_SUBDIR.
  • aclocal/target.m4: Replace ac_configure_args with rtems_configure_args, add rtems_configure_args to INIT-CMDS.
  • Makefile.am: Require automake-1.5.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r8dc51855 r080afec  
     12001-10-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * aclocal/rtems-cpu-subdirs.m4: Add PREFIX arg to RTEMS_CPU_SUBDIRS,
     4        add 2nd arg to _RTEMS_CPU_SUBDIR.
     5        * aclocal/target.m4: Replace ac_configure_args with
     6        rtems_configure_args, add rtems_configure_args to INIT-CMDS.
     7        * Makefile.am: Require automake-1.5.
     8
    192001-10-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • Makefile.am

    r8dc51855 r080afec  
    77##
    88
    9 AUTOMAKE_OPTIONS = foreign 1.4
     9AUTOMAKE_OPTIONS = foreign 1.5
    1010ACLOCAL_AMFLAGS = -I aclocal
    1111
  • aclocal/rtems-cpu-subdirs.m4

    r8dc51855 r080afec  
    11AC_DEFUN([_RTEMS_CPU_SUBDIR],
    22[
    3 $1 )    if test -d ${srcdir}/$1 ; then
    4   AC_CONFIG_SUBDIRS([$1])
     3$1 )    if test -d ${srcdir}/ifelse([$2],,[$1],[$2/$1]) ; then
     4  AC_CONFIG_SUBDIRS(ifelse([$2],,[$1],[$2/$1]))
    55  fi
    66])
    77
     8## RTEMS_CPU_SUBDIRS([PREFIX])
    89AC_DEFUN([RTEMS_CPU_SUBDIRS],
    910[
    1011## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
    1112case $RTEMS_CPU in
    12 _RTEMS_CPU_SUBDIR([a29k]);;
    13 _RTEMS_CPU_SUBDIR([arm]);;
    14 _RTEMS_CPU_SUBDIR([c4x]);;
    15 _RTEMS_CPU_SUBDIR([h8300]);;
    16 _RTEMS_CPU_SUBDIR([hppa1.1]);;
    17 _RTEMS_CPU_SUBDIR([i386]);;
    18 _RTEMS_CPU_SUBDIR([i960]);;
    19 _RTEMS_CPU_SUBDIR([m68k]);;
    20 _RTEMS_CPU_SUBDIR([mips]);;
    21 _RTEMS_CPU_SUBDIR([mips64orion]);;
    22 _RTEMS_CPU_SUBDIR([no_cpu]);;
    23 _RTEMS_CPU_SUBDIR([or16]);;
    24 _RTEMS_CPU_SUBDIR([or32]);;
    25 _RTEMS_CPU_SUBDIR([powerpc]);;
    26 _RTEMS_CPU_SUBDIR([sh]);;
    27 _RTEMS_CPU_SUBDIR([sparc]);;
    28 _RTEMS_CPU_SUBDIR([unix]);;
     13_RTEMS_CPU_SUBDIR([a29k],[$1]);;
     14_RTEMS_CPU_SUBDIR([arm],[$1]);;
     15_RTEMS_CPU_SUBDIR([c4x],[$1]);;
     16_RTEMS_CPU_SUBDIR([h8300],[$1]);;
     17_RTEMS_CPU_SUBDIR([hppa1.1],[$1]);;
     18_RTEMS_CPU_SUBDIR([i386],[$1]);;
     19_RTEMS_CPU_SUBDIR([i960],[$1]);;
     20_RTEMS_CPU_SUBDIR([m68k],[$1]);;
     21_RTEMS_CPU_SUBDIR([mips],[$1]);;
     22_RTEMS_CPU_SUBDIR([mips64orion],[$1]);;
     23_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
     24_RTEMS_CPU_SUBDIR([or16],[$1]);;
     25_RTEMS_CPU_SUBDIR([or32],[$1]);;
     26_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
     27_RTEMS_CPU_SUBDIR([sh],[$1]);;
     28_RTEMS_CPU_SUBDIR([sparc],[$1]);;
     29_RTEMS_CPU_SUBDIR([unix],[$1]);;
    2930*) AC_MSG_ERROR([Invalid RTEMS_CPU])
    3031esac
  • aclocal/target.m4

    r8dc51855 r080afec  
    2424  ac_sub_configure_args=
    2525  rtems_prev=
    26   for rtems_arg in $ac_configure_args; do
     26  for rtems_arg in $rtems_configure_args; do
    2727    if test -n "$rtems_prev"; then
    2828      rtems_prev=
     
    8383[
    8484RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS"
     85rtems_configure_args="$ac_configure_args"
    8586])
    8687])
Note: See TracChangeset for help on using the changeset viewer.