Changeset 9bb5b9d in rtems


Ignore:
Timestamp:
11/05/04 08:30:18 (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bffdb82
Parents:
07a984b
Message:

2004-11-05 Ralf Corsepius <ralf_corsepius@…>

  • configure.ac: Remove check for libbsp/${RTEMS_CPU}. Add dependency tracking for *.cfgs.
  • Makefile.am: Add dependency tracking for *.cfg.
Location:
c/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r07a984b r9bb5b9d  
     12004-11-05      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * configure.ac: Remove check for libbsp/${RTEMS_CPU}.
     4        Add dependency tracking for *.cfgs.
     5        * Makefile.am: Add dependency tracking for *.cfg.
     6
    172004-11-03      Ralf Corsepius <ralf_corsepius@rtems.org>
    28
  • c/src/Makefile.am

    r07a984b r9bb5b9d  
    2828        cp $< $@
    2929
    30 make/custom/%.cfg: $(srcdir)/$(cfg_dir)/custom/%.cfg
    31         cp $< $@
    32 
    3330noinst_DATA += make/custom/default.cfg
    3431DISTCLEANFILES += make/custom/default.cfg
     
    4845DISTCLEANFILES += @host_alias@-@RTEMS_BSP@.pc
    4946
     47DISTCLEANFILES += $(DEPDIR)/cfg.P
     48include $(DEPDIR)/cfg.P
     49
    5050include $(top_srcdir)/automake/subdirs.am
    5151include $(top_srcdir)/automake/local.am
  • c/src/configure.ac

    r07a984b r9bb5b9d  
    2020RTEMS_ENABLE_MULTIPROCESSING
    2121RTEMS_ENV_RTEMSBSP
    22 
    23 # Is this a supported CPU?
    24 AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
    25 # FIXME: Temporary hack
    26 if test -d "$srcdir/lib/libbsp/$RTEMS_CPU"; then
    27   AC_MSG_RESULT(yes)
    28 else
    29   AC_MSG_ERROR(no)
    30 fi
    3122
    3223AC_ARG_ENABLE(rpcgen,
     
    5445
    5546AS_MKDIR_P([make/custom])
     47AM_SET_DEPDIR
     48test -d ${DEPDIR} || mkdir ${DEPDIR}
     49
     50rm -f ${DEPDIR}/cfg.P
     51echo "# Do not edit - automatically generated by" > ${DEPDIR}/cfg.P
     52echo "# $0" >> ${DEPDIR}/cfg.P
    5653
    5754# Collect and copy the BSP's make/custom/*.cfg files from the toplevel make
    5855# directory into the build tree's <bsp>/make/custom subdirectories
    59 cfg_dir="${RTEMS_TOPdir}/make"
    60 CUSTOM_CFG_FILES=""
     56CUSTOM_CFG_FILES=
    6157f="${RTEMS_BSP}.cfg"
    6258while test -n "$f"; do
    63   if test -r "${srcdir}/${cfg_dir}/custom/$f"; then
    64     cp ${srcdir}/${cfg_dir}/custom/$f make/custom/$f
     59  cfg_file=
     60  _RTEMS_CHECK_CUSTOM_BSP([$f],cfg_file)
     61  if test -n "${cfg_file}"; then
     62    cp ${cfg_file} make/custom/$f
     63    echo "make/custom/$f: ${cfg_file}" >> ${DEPDIR}/cfg.P
     64    echo "      cp ${cfg_file} make/custom/$f" >> ${DEPDIR}/cfg.P
    6565    CUSTOM_CFG_FILES="$CUSTOM_CFG_FILES make/custom/$f"
    66     f=`grep "^include.*make/custom" ${srcdir}/${cfg_dir}/custom/$f \
     66    f=`grep "^include.*make/custom" ${cfg_file} \
    6767    | sed \
    6868      -e 's%^.*custom\/%%' \
Note: See TracChangeset for help on using the changeset viewer.