Changeset 847dbbe in rtems for c/src/lib/libbsp/configure.in


Ignore:
Timestamp:
Feb 1, 2000, 1:41:54 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
399432fa
Parents:
8505e9b
Message:

Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • The fix for the gen68360/network/Makefile.am
  • automatically set permissions to 755 to scripts/buildall and scripts-ada/buildall (I remembered a trick to achieve this :).
  • automake support for libbsp/* and libcpu/* (Attn: This part will finally break old-style configuration for all non-public cpus)

NOTES:

  • This patch has only been tested for a random selection of BSPs (I haven't rebuilt all toolchains yet).
  • This patch is against rtem-cvs as of this morning (MET).

To apply:

patch -p1 <rtems-rc-20000118-5.diff
cvs rm -f ./c/src/lib/libbsp/Makefile.in
cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in
cvs rm -f ./c/src/lib/libcpu/Makefile.in
cvs add ./c/src/lib/libbsp/Makefile.am
cvs add ./c/src/lib/libbsp/shmdr/Makefile.am
cvs add ./c/src/lib/libcpu/Makefile.am
./bootstrap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/configure.in

    r8505e9b r847dbbe  
    99
    1010RTEMS_CANONICAL_TARGET_CPU
    11 AC_PROG_MAKE_SET
    12 AC_PROG_INSTALL
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp,$RTEMS_VERSION,no)
    1312AM_MAINTAINER_MODE
    1413
    1514RTEMS_ENABLE_MULTIPROCESSING
    16 RTEMS_ENABLE_NETWORKING
    1715RTEMS_ENABLE_LIBCDIR
    1816RTEMS_ENABLE_BARE
     
    3129RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3230RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
    33 RTEMS_CHECK_NETWORKING(RTEMS_BSP)
    3431
    3532RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
     
    5855fi
    5956AC_SUBST(RTEMS_LIBBSP_CPU_SUBDIR)
    60 
    61 if test ! -f ${srcdir}/${RTEMS_LIBBSP_CPU_SUBDIR}/configure.in
    62 then
    63 
    64 # find all the Makefiles for the BSPs
    65   makefiles="$makefiles $RTEMS_CPU/Makefile"
    66      
    67   if test -d "$srcdir/$bspcpudir$bspdir"; then
    68     RTEMS_CHECK_MAKEFILE(${bspcpudir}$bspdir)
    69     RTEMS_CHECK_MAKEFILE(${bspcpudir}shared)
    70 
    71     # HACK: sed out bsp-tools from makefiles
    72     t="$bspcpudir$bspdir/tools"
    73     if test -d "$srcdir/$t"; then
    74       bsptools_cfgdirs="$bsptools_cfgdirs $t"
    75       makefiles=`echo "$makefiles" | sed -e "s%$t/.*Makefile%%g"`
    76     fi
    77   else
    78     AC_MSG_ERROR([unable to find libbsp subdirectory ($bspdir) for  ${RTEMS_BSP}])
    79   fi
    80 else
    81   cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR"
    82 fi
    83 
    84 if test "$HAS_MP" = "yes"; then
    85   makefiles="$makefiles shmdr/Makefile"
    86 else
    87   # HACK: sed out shmsupp/Makefile from makefiles
    88   t="$bspcpudir$bspdir/shmsupp"
    89   makefiles=`echo "$makefiles" | sed -e "s%$t/.*Makefile%%g"`
    90 fi
     57cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR"
    9158
    9259AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    93 
    94 AC_CONFIG_SUBDIRS($bsptools_cfgdirs)
    95 
    9660AC_CONFIG_SUBDIRS($cfg_subdirs)
    9761
    98 # try to explicitly list a Makefile here
     62# Explicitly list all Makefiles
    9963AC_OUTPUT(
    10064Makefile
    101 $makefiles)
     65shmdr/Makefile)
Note: See TracChangeset for help on using the changeset viewer.