Changeset 73dc152 in rtems


Ignore:
Timestamp:
Dec 14, 2003, 4:35:54 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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.
Location:
c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/ChangeLog

    r777db82f r73dc152  
     12003-12-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Remove RTEMS_BSP-subdir rule.
     4        * configure.ac: Let AC_CONFIG_FILES(Makefile..) append explictit
     5        rules for RTEMS_BSP-subdirs.
     6
    172003-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/Makefile.am

    r777db82f r73dc152  
    1414SUBDIRS = . $(RTEMS_BSP)
    1515
    16 ## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
    17 ## this rule for invalid BSPs
    18 @RTEMS_BSP_LIST@: src/configure
    19         @set fnord $(MAKEFLAGS); amf=$$2; \
    20         test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
    21           echo "Configuring RTEMS_BSP=$$i"; \
    22           $(mkdir_p) $$i; \
    23           ( cd $$i && \
    24             CONFIG_SHELL=$(SHELL) RTEMS_BSP=$$i $(rtems_bsp_configure) ) \
    25           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    26         done
    27 
    2816## Let all RTEMS' make targets depend on ${RTEMS_BSP}
    2917all-local: ${RTEMS_BSP}
     
    3624
    3725DIST_SUBDIRS = ${RTEMS_BSP}
    38 ## -------------------------------------------------------
    3926
    4027include $(top_srcdir)/../automake/host.am
  • 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.