Changeset 73dc152 in rtems for c/configure.ac


Ignore:
Timestamp:
Dec 14, 2003, 4:35:54 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
dbb07c74
Parents:
777db82f
Message:

2003-12-14 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Remove RTEMS_BSP-subdir rule.
  • configure.ac: Let AC_CONFIG_FILES(Makefile..) append explictit rules for RTEMS_BSP-subdirs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/configure.ac

    r777db82f r73dc152  
    6666
    6767# Explicitly list all Makefiles here
    68 AC_CONFIG_FILES([Makefile])
     68AC_CONFIG_FILES([Makefile],[
     69for bsp in : $RTEMS_BSP_LIST; do test "x$bsp" = x: && continue
     70cat >> Makefile << BSPEOF
     71
     72$bsp: src/configure
     73        @set fnord \$(MAKEFLAGS); amf=\[$]\[$]2; \\
     74          echo "Configuring RTEMS_BSP=$bsp"; \\
     75          \$(mkdir_p) $bsp; \\
     76          ( cd $bsp && \\
     77            CONFIG_SHELL=\$(SHELL) RTEMS_BSP=$bsp \$(rtems_bsp_configure) ) \\
     78          || case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;
     79BSPEOF
     80done
     81],[RTEMS_BSP_LIST="$RTEMS_BSP_LIST"])
    6982AC_OUTPUT
    7083
Note: See TracChangeset for help on using the changeset viewer.