Changeset 3e4969d in rtems


Ignore:
Timestamp:
Oct 11, 2001, 4:43:45 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
09eb8a2
Parents:
0be2f358
Message:

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

  • configure.in: Reworked for autoconf-2.52.
Location:
c/src/make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/ChangeLog

    r0be2f358 r3e4969d  
     12001-10-10      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.in: Reworked for autoconf-2.52.
     4
    152001-02-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/make/configure.in

    r0be2f358 r3e4969d  
    77dnl
    88
    9 AC_PREREQ(2.13)
    10 AC_INIT(bsp.cfg.in)
     9AC_PREREQ(2.52)
     10AC_INIT
     11AC_CONFIG_SRCDIR([bsp.cfg.in])
    1112RTEMS_TOP(../../..)
    1213AC_CONFIG_AUX_DIR(../../..)
     
    8990# Collect the files needed to build a BSP
    9091cfg_dir="${RTEMS_TOPdir}/make"
    91 cfg_srcs=""
    92 cfg_dsts=""
    9392CUSTOM_CFG_FILES=""
    9493f="${RTEMS_BSP}.cfg"
    9594while test -n "$f"; do
    9695  if test -r "${srcdir}/${cfg_dir}/custom/$f"; then
    97     cfg_srcs="$cfg_srcs ${cfg_dir}/custom/$f"
    98     cfg_dsts="$cfg_dsts custom/$f"
     96    AC_CONFIG_LINKS([custom/$f:${cfg_dir}/custom/$f])
    9997    CUSTOM_CFG_FILES="$CUSTOM_CFG_FILES $f"
    10098    f=`grep "^include.*make/custom" ${srcdir}/${cfg_dir}/custom/$f \
     
    106104done
    107105AC_SUBST(CUSTOM_CFG_FILES)
     106AC_SUBST(cfg_dir)
    108107
    109108# Symlink the *.cfg files from the toplevel make directory into the build
    110109# trees c/<bsp>/make subdirectories
    111 AC_LINK_FILES($cfg_srcs,$cfg_dsts)
    112 AC_LINK_FILES($cfg_dir/Templates/Makefile.lib,Templates/Makefile.lib)
    113 AC_LINK_FILES($cfg_dir/Templates/Makefile.leaf,Templates/Makefile.leaf)
    114 AC_LINK_FILES($cfg_dir/Templates/Makefile.dir,Templates/Makefile.dir)
    115 AC_LINK_FILES($cfg_dir/compilers/gcc-target-default.cfg,compilers/gcc-target-default.cfg)
    116 AC_LINK_FILES($cfg_dir/directory.cfg,directory.cfg)
    117 AC_LINK_FILES(leaf.cfg,leaf.cfg)
    118 AC_LINK_FILES($cfg_dir/lib.cfg,lib.cfg)
    119 AC_LINK_FILES($cfg_dir/README,README)
     110
     111AC_CONFIG_LINKS([
     112  Templates/Makefile.lib:${cfg_dir}/Templates/Makefile.lib
     113  Templates/Makefile.leaf:${cfg_dir}/Templates/Makefile.leaf
     114  Templates/Makefile.dir:${cfg_dir}/Templates/Makefile.dir
     115  compilers/gcc-target-default.cfg:${cfg_dir}/compilers/gcc-target-default.cfg
     116  directory.cfg:${cfg_dir}/directory.cfg
     117  lib.cfg:${cfg_dir}/lib.cfg
     118  README:${cfg_dir}/README
     119  leaf.cfg:leaf.cfg
     120],,[
     121  RTEMS_TOPdir=${RTEMS_TOPdir}
     122  cfg_dir=${cfg_dir}
     123  test -d Templates || mkdir Templates
     124])
    120125
    121126# Explicitly list all Makefiles here
    122 AC_OUTPUT(
    123 Makefile
     127AC_CONFIG_FILES([Makefile
    124128Makefile.inc
    125129host.cfg
     
    127131custom/Makefile
    128132custom/default.cfg
    129 compilers/Makefile,
    130 ${MAKE} $RTEMS_BSP.cache,
    131 MAKE=${MAKE-make}
     133compilers/Makefile])
     134AC_CONFIG_COMMANDS([default],[[${MAKE} $RTEMS_BSP.cache]],[[MAKE=${MAKE-make}
    132135RTEMS_BSP=${RTEMS_BSP}
    133 )
     136]])
     137AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.