Changeset 1896a650 in rtems


Ignore:
Timestamp:
07/30/99 17:52:50 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a3c8bda
Parents:
aa9eb940
Message:

Patch from Ralf Corsepius <corsepiu@…>:

The main topic is replacing the hard-coded values for HAS_MP and
HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
(This is the patch I had mentioned before earlier this week).

CHANGES

  • HAS_MP removed from custom/*.cfg, replaced with configuration time autoconf check
  • HAS_RDBG removed from custom/*.cfg, replaced with configuration-time autoconf check
  • NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp values (i.e. HAS_MP, HAS_RDBG), gets installed as $(prefix)/<bsp>/make/bsp.cfg
  • NEW: default.cfg includes bsp.cfg - this change is backward compatible.
  • IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory Makefile.ins
  • HACK: a bug in acpolish mis-handles addtions to makefile variables which are enclosed in gmake conditionals: c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  • Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of unneeded subdirectories in various configure.in files.
  • Several minor changes in Makefile.ins and configure.ins, wrt. to the order of including *.cfg and defining Makefile variables

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-4.diff
./autogen

Files:
1 added
71 edited

Legend:

Unmodified
Added
Removed
  • aclocal/check-rdbg.m4

    raa9eb940 r1896a650  
    33AC_REQUIRE([RTEMS_TOP])dnl
    44AC_REQUIRE([RTEMS_CHECK_CPU])dnl
    5 AC_CACHE_CHECK([whether cpu supports librdbg],
    6   rtems_cv_has_rdbg,
     5AC_CACHE_CHECK([whether BSP supports librdbg],
     6  rtems_cv_HAS_RDBG,
    77  [
    8     if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}"; then
    9       rtems_cv_has_rdbg="yes" ;
     8    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}/${$1}"; then
     9      rtems_cv_HAS_RDBG="yes" ;
    1010    else
    11       rtems_cv_has_rdbg="no";
     11      rtems_cv_HAS_RDBG="no";
    1212    fi
    1313  ])
     14HAS_RDBG="$rtems_cv_HAS_RDBG"
     15AC_SUBST(HAS_RDBG)
    1416])
  • c/src/exec/aclocal.m4

    raa9eb940 r1896a650  
    892892RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
    893893AC_SUBST(RTEMS_USE_NEWLIB)
    894 ])
    895 
    896 
    897 dnl
    898 dnl $Id$
    899 dnl
    900 
    901 dnl RTEMS_CHECK_MAKEFILE(path)
    902 dnl Search for Makefile.in's within the directory starting
    903 dnl at path and append an entry for Makefile to global variable
    904 dnl "makefiles" (from configure.in) for each Makefile.in found
    905 dnl
    906 AC_DEFUN(RTEMS_CHECK_MAKEFILE,
    907 [RTEMS_CHECK_FILES_IN($1,Makefile,makefiles)
    908 ])
    909 
    910 dnl
    911 dnl $Id$
    912 dnl
    913 
    914 dnl RTEMS_CHECK_FILES_IN(path,file,var)
    915 dnl path .. path relative to srcdir, where to start searching for files
    916 dnl file .. name of the files to search for
    917 dnl var  .. shell variable to append files found
    918 
    919 AC_DEFUN(RTEMS_CHECK_FILES_IN,
    920 [
    921 AC_MSG_CHECKING(for $2.in in $1)
    922 if test -d $srcdir/$1; then
    923   rtems_av_save_dir=`pwd`;
    924   cd $srcdir;
    925   rtems_av_tmp=`find $1 -name "$2.in" -print | sed "s/$2\.in/%/" | sort | sed "s/%/$2/"`
    926   $3="$$3 $rtems_av_tmp";
    927   cd $rtems_av_save_dir;
    928   AC_MSG_RESULT(done)
    929 else
    930   AC_MSG_RESULT(no)
    931 fi
    932894])
    933895
     
    982944])dnl
    983945
     946dnl $Id$
     947
     948AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
     949[dnl
     950AC_REQUIRE([RTEMS_TOP])dnl
     951AC_REQUIRE([RTEMS_CHECK_CPU])dnl
     952AC_CACHE_CHECK([whether BSP supports multiprocessing],
     953  rtems_cv_HAS_MP,
     954  [dnl
     955    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${$1}/shmsupp"; then
     956      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     957        rtems_cv_HAS_MP="yes" ;
     958      else
     959        rtems_cv_HAS_MP="disabled";
     960      fi
     961    else
     962      rtems_cv_HAS_MP="no";
     963    fi
     964  ])
     965if test "$rtems_cv_HAS_MP" = "yes"; then
     966HAS_MP="yes"
     967else
     968HAS_MP="no"
     969fi
     970AC_SUBST(HAS_MP)
     971])
     972
     973dnl
     974dnl $Id$
     975dnl
     976
     977dnl RTEMS_CHECK_MAKEFILE(path)
     978dnl Search for Makefile.in's within the directory starting
     979dnl at path and append an entry for Makefile to global variable
     980dnl "makefiles" (from configure.in) for each Makefile.in found
     981dnl
     982AC_DEFUN(RTEMS_CHECK_MAKEFILE,
     983[RTEMS_CHECK_FILES_IN($1,Makefile,makefiles)
     984])
     985
     986dnl
     987dnl $Id$
     988dnl
     989
     990dnl RTEMS_CHECK_FILES_IN(path,file,var)
     991dnl path .. path relative to srcdir, where to start searching for files
     992dnl file .. name of the files to search for
     993dnl var  .. shell variable to append files found
     994
     995AC_DEFUN(RTEMS_CHECK_FILES_IN,
     996[
     997AC_MSG_CHECKING(for $2.in in $1)
     998if test -d $srcdir/$1; then
     999  rtems_av_save_dir=`pwd`;
     1000  cd $srcdir;
     1001  rtems_av_tmp=`find $1 -name "$2.in" -print | sed "s/$2\.in/%/" | sort | sed "s/%/$2/"`
     1002  $3="$$3 $rtems_av_tmp";
     1003  cd $rtems_av_save_dir;
     1004  AC_MSG_RESULT(done)
     1005else
     1006  AC_MSG_RESULT(no)
     1007fi
     1008])
     1009
     1010
  • c/src/exec/configure

    raa9eb940 r1896a650  
    26732673
    26742674
     2675# Check if there is custom/*.cfg for this BSP
     2676echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6
     2677echo "configure:2678: checking for make/custom/$RTEMS_BSP.cfg" >&5
     2678if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
     2679  echo "$ac_t""yes" 1>&6
     2680else
     2681  { echo "configure: error: no" 1>&2; exit 1; }
     2682fi
     2683
     2684
     2685echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6
     2686echo "configure:2687: checking whether BSP supports multiprocessing" >&5
     2687if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then
     2688  echo $ac_n "(cached) $ac_c" 1>&6
     2689else
     2690      if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP}/shmsupp"; then
     2691      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     2692        rtems_cv_HAS_MP="yes" ;
     2693      else
     2694        rtems_cv_HAS_MP="disabled";
     2695      fi
     2696    else
     2697      rtems_cv_HAS_MP="no";
     2698    fi
     2699 
     2700fi
     2701
     2702echo "$ac_t""$rtems_cv_HAS_MP" 1>&6
     2703if test "$rtems_cv_HAS_MP" = "yes"; then
     2704HAS_MP="yes"
     2705else
     2706HAS_MP="no"
     2707fi
     2708
     2709
     2710
    26752711# find all the Executive Makefiles
    26762712
    2677 echo $ac_n "checking for Makefile.in in rtems""... $ac_c" 1>&6
    2678 echo "configure:2679: checking for Makefile.in in rtems" >&5
    2679 if test -d $srcdir/rtems; then
    2680   rtems_av_save_dir=`pwd`;
    2681   cd $srcdir;
    2682   rtems_av_tmp=`find rtems -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"`
    2683   makefiles="$makefiles $rtems_av_tmp";
    2684   cd $rtems_av_save_dir;
    2685   echo "$ac_t""done" 1>&6
    2686 else
    2687   echo "$ac_t""no" 1>&6
    2688 fi
    2689 
    2690 
    2691 
    2692 echo $ac_n "checking for Makefile.in in sapi""... $ac_c" 1>&6
    2693 echo "configure:2694: checking for Makefile.in in sapi" >&5
    2694 if test -d $srcdir/sapi; then
    2695   rtems_av_save_dir=`pwd`;
    2696   cd $srcdir;
    2697   rtems_av_tmp=`find sapi -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"`
    2698   makefiles="$makefiles $rtems_av_tmp";
    2699   cd $rtems_av_save_dir;
    2700   echo "$ac_t""done" 1>&6
    2701 else
    2702   echo "$ac_t""no" 1>&6
    2703 fi
    2704 
    2705 
    2706 
    27072713echo $ac_n "checking for Makefile.in in score/cpu/$RTEMS_CPU""... $ac_c" 1>&6
    2708 echo "configure:2709: checking for Makefile.in in score/cpu/$RTEMS_CPU" >&5
     2714echo "configure:2715: checking for Makefile.in in score/cpu/$RTEMS_CPU" >&5
    27092715if test -d $srcdir/score/cpu/$RTEMS_CPU; then
    27102716  rtems_av_save_dir=`pwd`;
     
    27202726
    27212727
    2722 if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    2723  
    2724 echo $ac_n "checking for Makefile.in in posix""... $ac_c" 1>&6
    2725 echo "configure:2726: checking for Makefile.in in posix" >&5
    2726 if test -d $srcdir/posix; then
    2727   rtems_av_save_dir=`pwd`;
    2728   cd $srcdir;
    2729   rtems_av_tmp=`find posix -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"`
    2730   makefiles="$makefiles $rtems_av_tmp";
    2731   cd $rtems_av_save_dir;
    2732   echo "$ac_t""done" 1>&6
    2733 else
    2734   echo "$ac_t""no" 1>&6
    2735 fi
    2736 
    2737 
    2738   makefiles="$makefiles wrapup/posix/Makefile"
    2739 fi
    2740 
    2741 # Check if there is custom/*.cfg for this BSP
    2742 echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6
    2743 echo "configure:2744: checking for make/custom/$RTEMS_BSP.cfg" >&5
    2744 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
    2745   echo "$ac_t""yes" 1>&6
    2746 else
    2747   { echo "configure: error: no" 1>&2; exit 1; }
    2748 fi
    2749 
    2750 
    27512728# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
    27522729if test "$RTEMS_USE_MACROS" = "yes"; then
    2753   inline_dir=macros
     2730  inline_dir="macros"
    27542731  if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    27552732    # The problem is that there is currently no code in posix/macros :)
     
    27572734  fi
    27582735else
    2759   inline_dir=inline
     2736  inline_dir="inline"
     2737fi
     2738
     2739if test "$RTEMS_HAS_POSIX_API" = "yes"; then
     2740  makefiles="$makefiles posix/Makefile"
     2741  makefiles="$makefiles posix/src/Makefile"
     2742  makefiles="$makefiles posix/include/Makefile"
     2743  makefiles="$makefiles posix/include/sys/Makefile"
     2744  makefiles="$makefiles posix/include/rtems/Makefile"
     2745  makefiles="$makefiles posix/include/rtems/posix/Makefile"
     2746  makefiles="$makefiles posix/include/wrap/Makefile"
     2747  makefiles="$makefiles posix/optman/Makefile"
     2748  makefiles="$makefiles wrapup/posix/Makefile"
     2749
     2750  makefiles="$makefiles posix/${inline_dir}/Makefile"
     2751  makefiles="$makefiles posix/${inline_dir}/rtems/Makefile"
     2752  makefiles="$makefiles posix/${inline_dir}/rtems/posix/Makefile"
    27602753fi
    27612754
     
    28862879
    28872880trap 'rm -fr `echo "Makefile
     2881rtems/Makefile
     2882rtems/src/Makefile
     2883rtems/include/Makefile
     2884rtems/include/wrap/Makefile
     2885rtems/include/rtems/Makefile
     2886rtems/include/rtems/rtems/Makefile
     2887rtems/optman/Makefile
     2888rtems/${inline_dir}/Makefile
     2889rtems/${inline_dir}/rtems/Makefile
     2890rtems/${inline_dir}/rtems/rtems/Makefile
     2891sapi/Makefile
     2892sapi/src/Makefile
     2893sapi/include/Makefile
     2894sapi/include/wrap/Makefile
     2895sapi/include/rtems/Makefile
     2896sapi/include/rtems/sptables.h
     2897sapi/${inline_dir}/Makefile
     2898sapi/${inline_dir}/rtems/Makefile
     2899sapi/optman/Makefile
    28882900score/Makefile
    28892901score/cpu/Makefile
     
    28992911wrapup/rtems/Makefile
    29002912$makefiles
    2901 sapi/include/rtems/sptables.h
    29022913" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    29032914EOF
     
    29832994s%@CC@%$CC%g
    29842995s%@RTEMS_USE_NEWLIB@%$RTEMS_USE_NEWLIB%g
     2996s%@HAS_MP@%$HAS_MP%g
    29852997s%@RTEMS_VERSION@%$RTEMS_VERSION%g
    29862998s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g
     
    30343046
    30353047CONFIG_FILES=\${CONFIG_FILES-"Makefile
     3048rtems/Makefile
     3049rtems/src/Makefile
     3050rtems/include/Makefile
     3051rtems/include/wrap/Makefile
     3052rtems/include/rtems/Makefile
     3053rtems/include/rtems/rtems/Makefile
     3054rtems/optman/Makefile
     3055rtems/${inline_dir}/Makefile
     3056rtems/${inline_dir}/rtems/Makefile
     3057rtems/${inline_dir}/rtems/rtems/Makefile
     3058sapi/Makefile
     3059sapi/src/Makefile
     3060sapi/include/Makefile
     3061sapi/include/wrap/Makefile
     3062sapi/include/rtems/Makefile
     3063sapi/include/rtems/sptables.h
     3064sapi/${inline_dir}/Makefile
     3065sapi/${inline_dir}/rtems/Makefile
     3066sapi/optman/Makefile
    30363067score/Makefile
    30373068score/cpu/Makefile
     
    30473078wrapup/rtems/Makefile
    30483079$makefiles
    3049 sapi/include/rtems/sptables.h
    30503080"}
    30513081EOF
     
    31193149test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    31203150
     3151
  • c/src/exec/configure.in

    raa9eb940 r1896a650  
    4848RTEMS_CHECK_NEWLIB
    4949
    50 # find all the Executive Makefiles
    51 RTEMS_CHECK_MAKEFILE(rtems)
    52 RTEMS_CHECK_MAKEFILE(sapi)
    53 RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU)
    54 
    55 if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    56   RTEMS_CHECK_MAKEFILE(posix)
    57   makefiles="$makefiles wrapup/posix/Makefile"
    58 fi
    59 
    6050# Check if there is custom/*.cfg for this BSP
    6151RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    6252
     53RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
     54
     55# find all the Executive Makefiles
     56RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU)
     57
    6358# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
    6459if test "$RTEMS_USE_MACROS" = "yes"; then
    65   inline_dir=macros
     60  inline_dir="macros"
    6661  if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    6762    # The problem is that there is currently no code in posix/macros :)
     
    6964  fi
    7065else
    71   inline_dir=inline
     66  inline_dir="inline"
     67fi
     68
     69if test "$RTEMS_HAS_POSIX_API" = "yes"; then
     70  makefiles="$makefiles posix/Makefile"
     71  makefiles="$makefiles posix/src/Makefile"
     72  makefiles="$makefiles posix/include/Makefile"
     73  makefiles="$makefiles posix/include/sys/Makefile"
     74  makefiles="$makefiles posix/include/rtems/Makefile"
     75  makefiles="$makefiles posix/include/rtems/posix/Makefile"
     76  makefiles="$makefiles posix/include/wrap/Makefile"
     77  makefiles="$makefiles posix/optman/Makefile"
     78  makefiles="$makefiles wrapup/posix/Makefile"
     79
     80  makefiles="$makefiles posix/${inline_dir}/Makefile"
     81  makefiles="$makefiles posix/${inline_dir}/rtems/Makefile"
     82  makefiles="$makefiles posix/${inline_dir}/rtems/posix/Makefile"
    7283fi
    7384
     
    8697AC_OUTPUT(
    8798Makefile
     99rtems/Makefile
     100rtems/src/Makefile
     101rtems/include/Makefile
     102rtems/include/wrap/Makefile
     103rtems/include/rtems/Makefile
     104rtems/include/rtems/rtems/Makefile
     105rtems/optman/Makefile
     106rtems/${inline_dir}/Makefile
     107rtems/${inline_dir}/rtems/Makefile
     108rtems/${inline_dir}/rtems/rtems/Makefile
     109sapi/Makefile
     110sapi/src/Makefile
     111sapi/include/Makefile
     112sapi/include/wrap/Makefile
     113sapi/include/rtems/Makefile
     114sapi/include/rtems/sptables.h
     115sapi/${inline_dir}/Makefile
     116sapi/${inline_dir}/rtems/Makefile
     117sapi/optman/Makefile
    88118score/Makefile
    89119score/cpu/Makefile
     
    99129wrapup/rtems/Makefile
    100130$makefiles
    101 sapi/include/rtems/sptables.h
    102131)
     132
  • c/src/exec/posix/include/rtems/posix/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/leaf.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     21
     22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/posix
     23
     24$(INSTALLDIRS):
     25        @$(mkinstalldirs) $(INSTALLDIRS)
     26
    1627# We only build multiprocessing related files if HAS_MP was defined
    1728MP_H_PIECES_yes_V = condmp mqueuemp mutexmp pthreadmp semaphoremp
     
    2637
    2738SRCS = $(H_FILES)
    28 
    29 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    30 include $(RTEMS_ROOT)/make/leaf.cfg
    31 
    32 INSTALL_CHANGE = @INSTALL_CHANGE@
    33 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    34 
    35 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/posix
    36 
    37 $(INSTALLDIRS):
    38         @$(mkinstalldirs) $(INSTALLDIRS)
    3939
    4040#
  • c/src/exec/rtems/Makefile.in

    raa9eb940 r1896a650  
    2727SUB_DIRS = include $(INLINE) optman src
    2828
    29 preinstall:
    30         $(mkinstalldirs) $(INSTALLDIRS)
     29preinstall: $(INSTALLDIRS)
    3130
    3231Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • c/src/exec/rtems/include/rtems/rtems/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/leaf.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     21
     22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/rtems
     23
     24$(INSTALLDIRS):
     25        @$(mkinstalldirs) $(INSTALLDIRS)
     26
    1627# We only build multiprocessing related files if HAS_MP was defined
    1728MP_H_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp
     
    2435
    2536SRCS = $(H_FILES)
    26 
    27 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    28 include $(RTEMS_ROOT)/make/leaf.cfg
    29 
    30 INSTALL_CHANGE = @INSTALL_CHANGE@
    31 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    32 
    33 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/rtems
    34 
    35 $(INSTALLDIRS):
    36         @$(mkinstalldirs) $(INSTALLDIRS)
    3737
    3838#
  • c/src/exec/rtems/src/Makefile.in

    raa9eb940 r1896a650  
    1313
    1414VPATH = @srcdir@
     15
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/lib.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    1520
    1621# We only build multiprocessing related files if HAS_MP was defined
     
    6570OBJS = $(C_O_FILES)
    6671
    67 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    68 include $(RTEMS_ROOT)/make/lib.cfg
    69 
    70 INSTALL_CHANGE = @INSTALL_CHANGE@
    71 
    7272#
    7373# Add local stuff here using +=
  • c/src/exec/sapi/include/rtems/Makefile.in

    raa9eb940 r1896a650  
    4343
    4444preinstall: $(INSTALLDIRS) $(H_FILES)
    45         $(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems
     45        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems
    4646
    4747sptables.h: $(srcdir)/sptables.h.in $(top_builddir)/config.status
  • c/src/exec/score/Makefile.in

    raa9eb940 r1896a650  
    2828
    2929preinstall:
    30         $(mkinstalldirs) $(INSTALLDIRS)
     30        @$(mkinstalldirs) $(INSTALLDIRS)
    3131
    3232Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • c/src/exec/score/include/rtems/score/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/leaf.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     21
     22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score
     23
     24$(INSTALLDIRS):
     25        @$(mkinstalldirs) $(INSTALLDIRS)
     26
    1627# We only build multiprocessing related files if HAS_MP was defined
    1728MP_H_PIECES_yes_V = mpci mppkt objectmp threadmp
     
    2637
    2738SRCS = $(H_FILES) $(TARGOPTS)
    28 
    29 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    30 include $(RTEMS_ROOT)/make/leaf.cfg
    31 
    32 INSTALL_CHANGE = @INSTALL_CHANGE@
    33 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    34 
    35 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score
    36 
    37 $(INSTALLDIRS):
    38         @$(mkinstalldirs) $(INSTALLDIRS)
    3939
    4040RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@
  • c/src/exec/score/inline/rtems/score/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/lib.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     21
     22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score
     23
     24$(INSTALLDIRS):
     25        @$(mkinstalldirs) $(INSTALLDIRS)
     26
    1627# We only build multiprocessing related files if HAS_MP was defined
    1728MP_I_PIECES_yes_V = mppkt objectmp threadmp
     
    2435
    2536SRCS = $(I_FILES)
    26 
    27 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    28 include $(RTEMS_ROOT)/make/lib.cfg
    29 
    30 INSTALL_CHANGE = @INSTALL_CHANGE@
    31 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    32 
    33 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score
    34 
    35 $(INSTALLDIRS):
    36         @$(mkinstalldirs) $(INSTALLDIRS)
    3737
    3838#
  • c/src/exec/score/macros/rtems/score/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/lib.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     21
     22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score
     23
     24$(INSTALLDIRS):
     25        @$(mkinstalldirs) $(INSTALLDIRS)
     26
    1627# We only build multiprocessing related files if HAS_MP was defined
    1728MP_I_PIECES_yes_V = mppkt objectmp threadmp
     
    2435
    2536SRCS = $(I_FILES)
    26 
    27 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    28 include $(RTEMS_ROOT)/make/lib.cfg
    29 
    30 INSTALL_CHANGE = @INSTALL_CHANGE@
    31 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    32 
    33 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score
    34 
    35 $(INSTALLDIRS):
    36         @$(mkinstalldirs) $(INSTALLDIRS)
    3737
    3838#
  • c/src/exec/score/src/Makefile.in

    raa9eb940 r1896a650  
    1313
    1414VPATH = @srcdir@
     15
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/lib.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    1520
    1621# We only build multiprocessing related files if HAS_MP was defined
     
    3540SRCS = $(C_FILES)
    3641OBJS = $(C_O_FILES)
    37 
    38 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    39 include $(RTEMS_ROOT)/make/lib.cfg
    40 
    41 INSTALL_CHANGE = @INSTALL_CHANGE@
    4242
    4343#
  • c/src/exec/wrapup/posix/Makefile.in

    raa9eb940 r1896a650  
    5656
    5757all: ${ARCH} $(SRCS) $(LIB)
    58         $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
     58        @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    5959
    6060Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • c/src/lib/aclocal.m4

    raa9eb940 r1896a650  
    949949])dnl
    950950
     951dnl $Id$
     952
     953AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
     954[dnl
     955AC_REQUIRE([RTEMS_TOP])dnl
     956AC_REQUIRE([RTEMS_CHECK_CPU])dnl
     957AC_CACHE_CHECK([whether BSP supports multiprocessing],
     958  rtems_cv_HAS_MP,
     959  [dnl
     960    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${$1}/shmsupp"; then
     961      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     962        rtems_cv_HAS_MP="yes" ;
     963      else
     964        rtems_cv_HAS_MP="disabled";
     965      fi
     966    else
     967      rtems_cv_HAS_MP="no";
     968    fi
     969  ])
     970if test "$rtems_cv_HAS_MP" = "yes"; then
     971HAS_MP="yes"
     972else
     973HAS_MP="no"
     974fi
     975AC_SUBST(HAS_MP)
     976])
     977
    951978dnl
    952979dnl  $Id$
     
    10101037AC_REQUIRE([RTEMS_TOP])dnl
    10111038AC_REQUIRE([RTEMS_CHECK_CPU])dnl
    1012 AC_CACHE_CHECK([whether cpu supports librdbg],
    1013   rtems_cv_has_rdbg,
     1039AC_CACHE_CHECK([whether BSP supports librdbg],
     1040  rtems_cv_HAS_RDBG,
    10141041  [
    1015     if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}"; then
    1016       rtems_cv_has_rdbg="yes" ;
     1042    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}/${$1}"; then
     1043      rtems_cv_HAS_RDBG="yes" ;
    10171044    else
    1018       rtems_cv_has_rdbg="no";
     1045      rtems_cv_HAS_RDBG="no";
    10191046    fi
    10201047  ])
    1021 ])
    1022 
     1048HAS_RDBG="$rtems_cv_HAS_RDBG"
     1049AC_SUBST(HAS_RDBG)
     1050])
     1051
  • c/src/lib/configure

    raa9eb940 r1896a650  
    26422642fi
    26432643
     2644echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6
     2645echo "configure:2646: checking whether BSP supports multiprocessing" >&5
     2646if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then
     2647  echo $ac_n "(cached) $ac_c" 1>&6
     2648else
     2649      if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP}/shmsupp"; then
     2650      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     2651        rtems_cv_HAS_MP="yes" ;
     2652      else
     2653        rtems_cv_HAS_MP="disabled";
     2654      fi
     2655    else
     2656      rtems_cv_HAS_MP="no";
     2657    fi
     2658 
     2659fi
     2660
     2661echo "$ac_t""$rtems_cv_HAS_MP" 1>&6
     2662if test "$rtems_cv_HAS_MP" = "yes"; then
     2663HAS_MP="yes"
     2664else
     2665HAS_MP="no"
     2666fi
     2667
     2668
    26442669
    26452670
     
    26822707 
    26832708echo $ac_n "checking for Makefile.in in libbsp/${bspcpudir}$bspdir""... $ac_c" 1>&6
    2684 echo "configure:2685: checking for Makefile.in in libbsp/${bspcpudir}$bspdir" >&5
     2709echo "configure:2710: checking for Makefile.in in libbsp/${bspcpudir}$bspdir" >&5
    26852710if test -d $srcdir/libbsp/${bspcpudir}$bspdir; then
    26862711  rtems_av_save_dir=`pwd`;
     
    26972722 
    26982723echo $ac_n "checking for Makefile.in in libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    2699 echo "configure:2700: checking for Makefile.in in libbsp/${bspcpudir}shared" >&5
     2724echo "configure:2725: checking for Makefile.in in libbsp/${bspcpudir}shared" >&5
    27002725if test -d $srcdir/libbsp/${bspcpudir}shared; then
    27012726  rtems_av_save_dir=`pwd`;
     
    27332758
    27342759echo $ac_n "checking for Makefile.in in libcpu/$RTEMS_CPU""... $ac_c" 1>&6
    2735 echo "configure:2736: checking for Makefile.in in libcpu/$RTEMS_CPU" >&5
     2760echo "configure:2761: checking for Makefile.in in libcpu/$RTEMS_CPU" >&5
    27362761if test -d $srcdir/libcpu/$RTEMS_CPU; then
    27372762  rtems_av_save_dir=`pwd`;
     
    27532778   
    27542779echo $ac_n "checking for Makefile.in in start/$RTEMS_CPU""... $ac_c" 1>&6
    2755 echo "configure:2756: checking for Makefile.in in start/$RTEMS_CPU" >&5
     2780echo "configure:2781: checking for Makefile.in in start/$RTEMS_CPU" >&5
    27562781if test -d $srcdir/start/$RTEMS_CPU; then
    27572782  rtems_av_save_dir=`pwd`;
     
    27822807# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    27832808echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6
    2784 echo "configure:2785: checking if networking is enabled? " >&5
     2809echo "configure:2810: checking if networking is enabled? " >&5
    27852810echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6
    27862811if test "$RTEMS_HAS_NETWORKING" = "yes"; then
    27872812 
    27882813echo $ac_n "checking for Makefile.in in libnetworking""... $ac_c" 1>&6
    2789 echo "configure:2790: checking for Makefile.in in libnetworking" >&5
     2814echo "configure:2815: checking for Makefile.in in libnetworking" >&5
    27902815if test -d $srcdir/libnetworking; then
    27912816  rtems_av_save_dir=`pwd`;
     
    28022827 
    28032828echo $ac_n "checking for Makefile.in in librpc""... $ac_c" 1>&6
    2804 echo "configure:2805: checking for Makefile.in in librpc" >&5
     2829echo "configure:2830: checking for Makefile.in in librpc" >&5
    28052830if test -d $srcdir/librpc; then
    28062831  rtems_av_save_dir=`pwd`;
     
    28172842
    28182843  if test "$RTEMS_HAS_RDBG" = "yes"; then
    2819     echo $ac_n "checking whether cpu supports librdbg""... $ac_c" 1>&6
    2820 echo "configure:2821: checking whether cpu supports librdbg" >&5
    2821 if eval "test \"`echo '$''{'rtems_cv_has_rdbg'+set}'`\" = set"; then
     2844    echo $ac_n "checking whether BSP supports librdbg""... $ac_c" 1>&6
     2845echo "configure:2846: checking whether BSP supports librdbg" >&5
     2846if eval "test \"`echo '$''{'rtems_cv_HAS_RDBG'+set}'`\" = set"; then
    28222847  echo $ac_n "(cached) $ac_c" 1>&6
    28232848else
    28242849 
    2825     if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}"; then
    2826       rtems_cv_has_rdbg="yes" ;
     2850    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}/${RTEMS_BSP}"; then
     2851      rtems_cv_HAS_RDBG="yes" ;
    28272852    else
    2828       rtems_cv_has_rdbg="no";
     2853      rtems_cv_HAS_RDBG="no";
    28292854    fi
    28302855 
    28312856fi
    28322857
    2833 echo "$ac_t""$rtems_cv_has_rdbg" 1>&6
    2834 
    2835     RTEMS_HAS_RDBG="$rtems_cv_has_rdbg";
    2836 
    2837     if test "$rtems_cv_has_rdbg" = "yes"; then
     2858echo "$ac_t""$rtems_cv_HAS_RDBG" 1>&6
     2859HAS_RDBG="$rtems_cv_HAS_RDBG"
     2860
     2861
     2862
     2863    if test "$HAS_RDBG" = "yes"; then
    28382864      # Extract the first word of "rpcgen", so it can be a program name with args.
    28392865set dummy rpcgen; ac_word=$2
    28402866echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2841 echo "configure:2842: checking for $ac_word" >&5
     2867echo "configure:2868: checking for $ac_word" >&5
    28422868if eval "test \"`echo '$''{'ac_cv_prog_RPCGEN'+set}'`\" = set"; then
    28432869  echo $ac_n "(cached) $ac_c" 1>&6
     
    28702896set dummy $ac_prog; ac_word=$2
    28712897echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2872 echo "configure:2873: checking for $ac_word" >&5
     2898echo "configure:2899: checking for $ac_word" >&5
    28732899if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
    28742900  echo $ac_n "(cached) $ac_c" 1>&6
     
    29062932      fi
    29072933    fi
    2908     if test "$rtems_cv_has_rdbg" = "yes"; then
     2934    if test "$HAS_RDBG" = "yes"; then
    29092935     
    29102936echo $ac_n "checking for Makefile.in in librdbg""... $ac_c" 1>&6
    2911 echo "configure:2912: checking for Makefile.in in librdbg" >&5
     2937echo "configure:2938: checking for Makefile.in in librdbg" >&5
    29122938if test -d $srcdir/librdbg; then
    29132939  rtems_av_save_dir=`pwd`;
     
    29302956 
    29312957echo $ac_n "checking for Makefile.in in librtems++""... $ac_c" 1>&6
    2932 echo "configure:2933: checking for Makefile.in in librtems++" >&5
     2958echo "configure:2959: checking for Makefile.in in librtems++" >&5
    29332959if test -d $srcdir/librtems++; then
    29342960  rtems_av_save_dir=`pwd`;
     
    29612987if test "$RTEMS_HAS_HWAPI" = "yes"; then
    29622988  echo $ac_n "checking whether libwapi is present""... $ac_c" 1>&6
    2963 echo "configure:2964: checking whether libwapi is present" >&5
     2989echo "configure:2990: checking whether libwapi is present" >&5
    29642990  if test -f ${srcdir}/libhwapi/Makefile.in ; then
    29652991    echo "$ac_t""yes" 1>&6
     
    29672993   
    29682994echo $ac_n "checking for Makefile.in in libhwapi/analog""... $ac_c" 1>&6
    2969 echo "configure:2970: checking for Makefile.in in libhwapi/analog" >&5
     2995echo "configure:2996: checking for Makefile.in in libhwapi/analog" >&5
    29702996if test -d $srcdir/libhwapi/analog; then
    29712997  rtems_av_save_dir=`pwd`;
     
    29823008   
    29833009echo $ac_n "checking for Makefile.in in libhwapi/discrete""... $ac_c" 1>&6
    2984 echo "configure:2985: checking for Makefile.in in libhwapi/discrete" >&5
     3010echo "configure:3011: checking for Makefile.in in libhwapi/discrete" >&5
    29853011if test -d $srcdir/libhwapi/discrete; then
    29863012  rtems_av_save_dir=`pwd`;
     
    29973023   
    29983024echo $ac_n "checking for Makefile.in in libhwapi/drivers""... $ac_c" 1>&6
    2999 echo "configure:3000: checking for Makefile.in in libhwapi/drivers" >&5
     3025echo "configure:3026: checking for Makefile.in in libhwapi/drivers" >&5
    30003026if test -d $srcdir/libhwapi/drivers; then
    30013027  rtems_av_save_dir=`pwd`;
     
    30123038   
    30133039echo $ac_n "checking for Makefile.in in libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3014 echo "configure:3015: checking for Makefile.in in libhwapi/non_volatile_memory" >&5
     3040echo "configure:3041: checking for Makefile.in in libhwapi/non_volatile_memory" >&5
    30153041if test -d $srcdir/libhwapi/non_volatile_memory; then
    30163042  rtems_av_save_dir=`pwd`;
     
    30273053   
    30283054echo $ac_n "checking for Makefile.in in libhwapi/serial""... $ac_c" 1>&6
    3029 echo "configure:3030: checking for Makefile.in in libhwapi/serial" >&5
     3055echo "configure:3056: checking for Makefile.in in libhwapi/serial" >&5
    30303056if test -d $srcdir/libhwapi/serial; then
    30313057  rtems_av_save_dir=`pwd`;
     
    30423068   
    30433069echo $ac_n "checking for Makefile.in in libhwapi/support""... $ac_c" 1>&6
    3044 echo "configure:3045: checking for Makefile.in in libhwapi/support" >&5
     3070echo "configure:3071: checking for Makefile.in in libhwapi/support" >&5
    30453071if test -d $srcdir/libhwapi/support; then
    30463072  rtems_av_save_dir=`pwd`;
     
    30573083   
    30583084echo $ac_n "checking for Makefile.in in libhwapi/wrapup""... $ac_c" 1>&6
    3059 echo "configure:3060: checking for Makefile.in in libhwapi/wrapup" >&5
     3085echo "configure:3086: checking for Makefile.in in libhwapi/wrapup" >&5
    30603086if test -d $srcdir/libhwapi/wrapup; then
    30613087  rtems_av_save_dir=`pwd`;
     
    30853111
    30863112echo $ac_n "checking for Makefile.in in libchip""... $ac_c" 1>&6
    3087 echo "configure:3088: checking for Makefile.in in libchip" >&5
     3113echo "configure:3114: checking for Makefile.in in libchip" >&5
    30883114if test -d $srcdir/libchip; then
    30893115  rtems_av_save_dir=`pwd`;
     
    31003126
    31013127echo $ac_n "checking for Makefile.in in libmisc""... $ac_c" 1>&6
    3102 echo "configure:3103: checking for Makefile.in in libmisc" >&5
     3128echo "configure:3129: checking for Makefile.in in libmisc" >&5
    31033129if test -d $srcdir/libmisc; then
    31043130  rtems_av_save_dir=`pwd`;
     
    33263352s%@RTEMS_GAS_CODE16_FALSE@%$RTEMS_GAS_CODE16_FALSE%g
    33273353s%@CC@%$CC%g
     3354s%@HAS_MP@%$HAS_MP%g
    33283355s%@RTEMS_LIBBSP_CPU_SUBDIR@%$RTEMS_LIBBSP_CPU_SUBDIR%g
    33293356s%@UNIX_TRUE@%$UNIX_TRUE%g
    33303357s%@UNIX_FALSE@%$UNIX_FALSE%g
     3358s%@HAS_RDBG@%$HAS_RDBG%g
    33313359s%@RPCGEN@%$RPCGEN%g
    33323360s%@AWK@%$AWK%g
  • c/src/lib/configure.in

    raa9eb940 r1896a650  
    5757
    5858RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
     59RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
    5960
    6061RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
     
    132133
    133134  if test "$RTEMS_HAS_RDBG" = "yes"; then
    134     RTEMS_CHECK_RDBG
    135     RTEMS_HAS_RDBG="$rtems_cv_has_rdbg";
    136 
    137     if test "$rtems_cv_has_rdbg" = "yes"; then
     135    RTEMS_CHECK_RDBG(RTEMS_BSP)
     136
     137    if test "$HAS_RDBG" = "yes"; then
    138138      AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen)
    139139      AC_PROG_AWK
     
    145145      fi
    146146    fi
    147     if test "$rtems_cv_has_rdbg" = "yes"; then
     147    if test "$HAS_RDBG" = "yes"; then
    148148      RTEMS_CHECK_MAKEFILE(librdbg)
    149149    fi
  • c/src/lib/libbsp/hppa1.1/simhppa/wrapup/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
    16 BSP_PIECES = startup tty
    17 # pieces to pick up out of libcpu/hppa
    18 CPU_PIECES = clock milli timer
    19 GENERIC_PIECES =
    20 
    2116include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2217include $(RTEMS_ROOT)/make/lib.cfg
     
    2419INSTALL = @INSTALL@
    2520INSTALL_CHANGE = @INSTALL_CHANGE@
     21
     22BSP_PIECES = startup tty
     23# pieces to pick up out of libcpu/hppa
     24CPU_PIECES = clock milli timer
     25GENERIC_PIECES =
    2626
    2727GENERIC_MP_REL_PIECES_yes_V = shmdr
  • c/src/lib/libbsp/i386/force386/wrapup/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
    16 BSP_PIECES = startup clock console timer
    17 GENERIC_PIECES =
    18 
    1916include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2017include $(RTEMS_ROOT)/make/lib.cfg
     
    2219INSTALL = @INSTALL@
    2320INSTALL_CHANGE = @INSTALL_CHANGE@
     21
     22BSP_PIECES = startup clock console timer
     23GENERIC_PIECES =
    2424
    2525GENERIC_MP_REL_PIECES_yes_V = shmdr
  • c/src/lib/libbsp/i386/i386ex/console/Makefile.in

    raa9eb940 r1896a650  
    1212PROJECT_ROOT = @PROJECT_ROOT@
    1313
    14 VPATH = @srcdir@
     14VPATH = @srcdir@:@srcdir@/../../shared/io
    1515
    1616PGM = ${ARCH}/console.rel
    17 
    18 IMPORT_SRC = $(srcdir)/../../shared/io/printk.c
    1917
    2018# C source names, if any, go here -- minus the .c
     
    5957CLOBBER_ADDITIONS +=
    6058
    61 preinstall:
    62         ${CP} ${IMPORT_SRC} .
    63 
    6459${PGM}: ${SRCS} ${OBJS}
    6560        $(make-rel)
    6661
    67 all: ${ARCH} preinstall $(SRCS) $(PGM)
     62all: ${ARCH} $(SRCS) $(PGM)
    6863
    6964# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
  • c/src/lib/libbsp/i386/ts_386ex/console/Makefile.in

    raa9eb940 r1896a650  
    1212PROJECT_ROOT = @PROJECT_ROOT@
    1313
    14 VPATH = @srcdir@
     14VPATH = @srcdir@:@srcdir@/../../shared/io
    1515
    1616PGM = ${ARCH}/console.rel
    17 
    18 IMPORT_SRC = $(srcdir)/../../shared/io/printk.c
    1917
    2018# C source names, if any, go here -- minus the .c
     
    5957CLOBBER_ADDITIONS +=
    6058
    61 preinstall:
    62         ${CP} ${IMPORT_SRC} .
    63 
    6459${PGM}: ${SRCS} ${OBJS}
    6560        $(make-rel)
    6661
    67 all: ${ARCH} preinstall $(SRCS) $(PGM)
     62all: ${ARCH} $(SRCS) $(PGM)
    6863
    6964# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
  • c/src/lib/libbsp/i386/ts_386ex/start/Makefile.in

    raa9eb940 r1896a650  
    5959
    6060all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
    61         $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
     61        @$(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
    6262
    6363# Install the program(s), appending _g or _p as appropriate.
  • c/src/lib/libbsp/i386/ts_386ex/startup/Makefile.in

    raa9eb940 r1896a650  
    7070CLOBBER_ADDITIONS +=
    7171
    72 preinstall:
    73         $(INSTALL_CHANGE) ${IMPORT_SRC} .
    74 
    75 #       ${CP} ${IMPORT_SRC} .
    76 
    7772${PGM}: ${SRCS} ${OBJS}
    7873        $(make-rel)
    79 all: ${ARCH} preinstall $(SRCS) $(PGM)
    80         $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
     74all: ${ARCH} $(SRCS) $(PGM)
     75        @$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    8176
    8277# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
  • c/src/lib/libbsp/i960/cvme961/wrapup/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
    16 BSP_PIECES = startup clock console timer
    17 GENERIC_PIECES =
    18 
    1916include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2017include $(RTEMS_ROOT)/make/lib.cfg
     
    2219INSTALL = @INSTALL@
    2320INSTALL_CHANGE = @INSTALL_CHANGE@
     21
     22BSP_PIECES = startup clock console timer
     23GENERIC_PIECES =
    2424
    2525GENERIC_MP_REL_PIECES_yes_V = shmdr
  • c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
    16 BSP_PIECES = startup clock console timer
    17 GENERIC_PIECES =
    18 
    1916include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2017include $(RTEMS_ROOT)/make/lib.cfg
     
    2219INSTALL = @INSTALL@
    2320INSTALL_CHANGE = @INSTALL_CHANGE@
     21
     22BSP_PIECES = startup clock console timer
     23GENERIC_PIECES =
    2424
    2525GENERIC_MP_REL_PIECES_yes_V = shmdr
  • c/src/lib/libbsp/m68k/mvme147s/wrapup/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
    16 BSP_PIECES = startup clock console timer
    17 GENERIC_PIECES =
    18 
    1916include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2017include $(RTEMS_ROOT)/make/lib.cfg
     
    2219INSTALL = @INSTALL@
    2320INSTALL_CHANGE = @INSTALL_CHANGE@
     21
     22BSP_PIECES = startup clock console timer
     23GENERIC_PIECES =
    2424
    2525GENERIC_MP_REL_PIECES_yes_V = shmdr
  • c/src/lib/libbsp/m68k/ods68302/start/Makefile.in

    raa9eb940 r1896a650  
    1616PGM = ${ARCH}/start302.o
    1717
    18 ifeq ($(RTEMS_DEBUGGER),yes)
    19 RESET_S_PIECES = debugreset reset
    20 else
    21 CFLAGS +=
    22 endif
     18RESET_S_PIECES_yes_V = debugreset
     19RESET_S_PIECES_no_V = reset
     20RESET_S_PIECES__V = $(RESET_S_PIECES_no_V)
     21RESET_S_PIECES = $(RESET_S_PIECES_$(RTEMS_DEBUGGER)_V)
     22
     23CFLAGS_no_V = -DGDB_MONITOR_ACTIVE
     24CFLAGS__V = $(CFLAGS_no_V)
     25CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V)
    2326
    2427# C source names, if any, go here -- minus the .c
     
    4851DEFINES +=
    4952CPPFLAGS +=
    50 CFLAGS +=
     53CFLAGS += $(CFLAGS_V)
    5154
    5255LD_PATHS +=
  • c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in

    raa9eb940 r1896a650  
    1616PGM = ${ARCH}/start302.o
    1717
    18 ifeq ($(RTEMS_DEBUGGER),yes)
    19 RESET_S_PIECES = debugreset reset
    20 else
    21 CFLAGS +=
    22 endif
     18RESET_S_PIECES_yes_V = debugreset
     19RESET_S_PIECES_no_V = reset
     20RESET_S_PIECES__V = $(RESET_S_PIECES_no_V)
     21RESET_S_PIECES = $(RESET_S_PIECES_$(RTEMS_DEBUGGER)_V)
     22
     23CFLAGS_no_V = -DGDB_MONITOR_ACTIVE
     24CFLAGS__V = $(CFLAGS_no_V)
     25CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V)
    2326
    2427# C source names, if any, go here -- minus the .c
     
    4851DEFINES +=
    4952CPPFLAGS +=
    50 CFLAGS +=
     53CFLAGS += $(CFLAGS_V)
    5154
    5255LD_PATHS +=
  • c/src/lib/libbsp/no_cpu/no_bsp/wrapup/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
    16 BSP_PIECES = startup clock console timer
    17 GENERIC_PIECES = $
    18 
    1916include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2017include $(RTEMS_ROOT)/make/lib.cfg
    2118
    2219INSTALL_CHANGE = @INSTALL_CHANGE@
     20
     21BSP_PIECES = startup clock console timer
    2322
    2423GENERIC_MP_REL_PIECES_yes_V = shmdr
  • c/src/lib/libbsp/powerpc/dmv177/startup/Makefile.in

    raa9eb940 r1896a650  
    6868        $(make-rel)
    6969
    70 all: ${ARCH} $(SRCS) $(INSTALLED_O_FILES) $(PGM)
     70all: ${ARCH} $(SRCS) $(PGM)
    7171        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    7272
  • c/src/lib/libbsp/powerpc/mcp750/bootloader/Makefile.in

    raa9eb940 r1896a650  
    5454LDFLAGS +=
    5555
    56 IMAGES : = rtems.gz
     56IMAGES = rtems.gz
    5757
    5858#
  • c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.in

    raa9eb940 r1896a650  
    5454LDFLAGS +=
    5555
    56 IMAGES : = rtems.gz
     56IMAGES = rtems.gz
    5757
    5858#
  • c/src/lib/libbsp/powerpc/psim/wrapup/Makefile.in

    raa9eb940 r1896a650  
    1414VPATH = @srcdir@
    1515
    16 BSP_PIECES = startup clock console timer vectors
    17 # pieces to pick up out of libcpu/ppc
    18 CPU_PIECES =
    19 GENERIC_PIECES =
    20 
    2116include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2217include $(RTEMS_ROOT)/make/lib.cfg
     
    2419INSTALL = @INSTALL@
    2520INSTALL_CHANGE = @INSTALL_CHANGE@
     21
     22BSP_PIECES = startup clock console timer vectors
     23# pieces to pick up out of libcpu/ppc
     24CPU_PIECES =
     25GENERIC_PIECES =
    2626
    2727GENERIC_MP_REL_PIECES_yes_V = shmdr
  • c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in

    raa9eb940 r1896a650  
    3636
    3737INSTALL_CHANGE = @INSTALL_CHANGE@
     38mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     39
     40INSTALLDIRS = $(PROJECT_RELEASE)/lib
     41
     42$(INSTALLDIRS):
     43        @$(mkinstalldirs) $(INSTALLDIRS)
    3844
    3945# First and second generation use different Bridge chips :(
     
    7076        $(make-rel)
    7177
    72 all: ${ARCH} $(SRCS) $(INSTALLED_O_FILES) $(PGM)
    73         $(INSTALL) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    74         $(INSTALL_VARIANT) $(INSTALLED_O_FILES) $(PROJECT_RELEASE)/lib
     78all: ${ARCH} $(SRCS) $(PGM)
     79        $(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    7580
    7681Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • c/src/lib/libchip/serial/Makefile.in

    raa9eb940 r1896a650  
    6060
    6161all: ${ARCH} preinstall $(LIB)
    62         $(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
     62        @$(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
    6363
    6464$(LIB): $(SRCS) ${OBJS}
  • c/src/lib/libcpu/powerpc/mpc750/exceptions/Makefile.in

    raa9eb940 r1896a650  
    6767        $(make-rel)
    6868
    69 preinstall:
     69preinstall: $(INSTALLDIRS) $(H_FILES)
    7070        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
    7171
  • c/src/lib/libcpu/powerpc/mpc750/mmu/Makefile.in

    raa9eb940 r1896a650  
    6767        $(make-rel)
    6868
    69 preinstall:
     69preinstall: $(INSTALLDIRS) $(H_FILES)
    7070        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
    7171
  • c/src/lib/libmisc/monitor/Makefile.in

    raa9eb940 r1896a650  
    1313
    1414VPATH = @srcdir@
     15
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/lib.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     21
     22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems
     23
     24$(INSTALLDIRS):
     25        @$(mkinstalldirs) $(INSTALLDIRS)
    1526
    1627LIB = ${ARCH}/libmonitor-tmp.a
     
    3243SRCS = README $(C_FILES) $(H_FILES) $(INSTALLED_H_FILES)
    3344OBJS = $(C_O_FILES)
    34 
    35 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    36 include $(RTEMS_ROOT)/make/lib.cfg
    37 
    38 INSTALL_CHANGE = @INSTALL_CHANGE@
    39 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    40 
    41 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems
    42 
    43 $(INSTALLDIRS):
    44         @$(mkinstalldirs) $(INSTALLDIRS)
    4545
    4646#
  • c/src/lib/libnetworking/include/Makefile.in

    raa9eb940 r1896a650  
    7878
    7979preinstall: $(INSTALLDIRS) $(SRCS)
    80         $(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/networking
    81         $(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/networking/sys
    82         $(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/networking/rtems
    83         $(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/networking/machine
    84         $(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/networking/vm
    85         $(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/networking/net
    86         $(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet
    87         $(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa
    88         $(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs
    89         $(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking
     80        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/networking
     81        @$(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/networking/sys
     82        @$(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/networking/rtems
     83        @$(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/networking/machine
     84        @$(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/networking/vm
     85        @$(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/networking/net
     86        @$(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet
     87        @$(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa
     88        @$(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs
     89        @$(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking
    9090
    9191all: preinstall
  • c/src/lib/librdbg/i386/pc386/Makefile.in

    raa9eb940 r1896a650  
    7878
    7979all: ${ARCH} $(LIB)
    80         $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
     80        @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    8181
    8282$(LIB): $(SRCS) ${OBJS}
     
    8888        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
    8989          -o $$pwd/$@ remdeb.x )
    90         $(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
     90        @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
    9191
    9292remdeb_xdr.c: $(X_FILES)
  • c/src/libchip/serial/Makefile.in

    raa9eb940 r1896a650  
    6060
    6161all: ${ARCH} preinstall $(LIB)
    62         $(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
     62        @$(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
    6363
    6464$(LIB): $(SRCS) ${OBJS}
  • c/src/libmisc/monitor/Makefile.in

    raa9eb940 r1896a650  
    1313
    1414VPATH = @srcdir@
     15
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/lib.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     21
     22INSTALLDIRS = $(PROJECT_INCLUDE)/rtems
     23
     24$(INSTALLDIRS):
     25        @$(mkinstalldirs) $(INSTALLDIRS)
    1526
    1627LIB = ${ARCH}/libmonitor-tmp.a
     
    3243SRCS = README $(C_FILES) $(H_FILES) $(INSTALLED_H_FILES)
    3344OBJS = $(C_O_FILES)
    34 
    35 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    36 include $(RTEMS_ROOT)/make/lib.cfg
    37 
    38 INSTALL_CHANGE = @INSTALL_CHANGE@
    39 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    40 
    41 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems
    42 
    43 $(INSTALLDIRS):
    44         @$(mkinstalldirs) $(INSTALLDIRS)
    4545
    4646#
  • c/src/libnetworking/include/Makefile.in

    raa9eb940 r1896a650  
    7878
    7979preinstall: $(INSTALLDIRS) $(SRCS)
    80         $(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/networking
    81         $(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/networking/sys
    82         $(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/networking/rtems
    83         $(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/networking/machine
    84         $(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/networking/vm
    85         $(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/networking/net
    86         $(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet
    87         $(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa
    88         $(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs
    89         $(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking
     80        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/networking
     81        @$(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/networking/sys
     82        @$(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/networking/rtems
     83        @$(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/networking/machine
     84        @$(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/networking/vm
     85        @$(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/networking/net
     86        @$(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet
     87        @$(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa
     88        @$(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs
     89        @$(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking
    9090
    9191all: preinstall
  • c/src/librdbg/src/i386/any/Makefile.in

    raa9eb940 r1896a650  
    7878
    7979all: ${ARCH} $(LIB)
    80         $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
     80        @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    8181
    8282$(LIB): $(SRCS) ${OBJS}
     
    8888        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
    8989          -o $$pwd/$@ remdeb.x )
    90         $(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
     90        @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
    9191
    9292remdeb_xdr.c: $(X_FILES)
  • c/src/librdbg/src/i386/pc386/Makefile.in

    raa9eb940 r1896a650  
    7878
    7979all: ${ARCH} $(LIB)
    80         $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
     80        @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    8181
    8282$(LIB): $(SRCS) ${OBJS}
     
    8888        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
    8989          -o $$pwd/$@ remdeb.x )
    90         $(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
     90        @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
    9191
    9292remdeb_xdr.c: $(X_FILES)
  • c/src/make/Makefile.am

    raa9eb940 r1896a650  
    2727Makefile.inc
    2828
     29rtems_bsp_makedir = $(rtems_bspdir)/make
     30rtems_bsp_make_DATA = \
     31bsp.cfg
     32
    2933if MAINTAINER_MODE
    3034$(srcdir)/main.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/main.cfg
  • c/src/make/Makefile.in

    raa9eb940 r1896a650  
    8888CXX_FOR_TARGET = @CXX_FOR_TARGET@
    8989GCCSED = @GCCSED@
     90HAS_MP = @HAS_MP@
     91HAS_RDBG = @HAS_RDBG@
    9092INSTALL_CHANGE = @INSTALL_CHANGE@
    9193KSH = @KSH@
     
    144146
    145147
     148rtems_bsp_makedir = $(rtems_bspdir)/make
     149rtems_bsp_make_DATA =  bsp.cfg
     150
     151
    146152SUBDIRS = compilers custom Templates
    147153ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    148154mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
    149 CONFIG_CLEAN_FILES =  Makefile.inc main.cfg host.cfg target.cfg
    150 DATA =  $(noinst_DATA) $(rtems_bsp_DATA) $(rtems_make_DATA)
     155CONFIG_CLEAN_FILES =  Makefile.inc main.cfg host.cfg target.cfg bsp.cfg
     156DATA =  $(noinst_DATA) $(rtems_bsp_DATA) $(rtems_bsp_make_DATA) \
     157$(rtems_make_DATA)
    151158
    152159DIST_COMMON =  Makefile.am Makefile.in Makefile.inc.in aclocal.m4 \
    153 configure configure.in host.cfg.in main.cfg.in target.cfg.in
     160bsp.cfg.in configure configure.in host.cfg.in main.cfg.in target.cfg.in
    154161
    155162
     
    182189target.cfg: $(top_builddir)/config.status target.cfg.in
    183190        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     191bsp.cfg: $(top_builddir)/config.status bsp.cfg.in
     192        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
    184193
    185194install-rtems_bspDATA: $(rtems_bsp_DATA)
     
    200209        list='$(rtems_bsp_DATA)'; for p in $$list; do \
    201210          rm -f $(DESTDIR)$(rtems_bspdir)/$$p; \
     211        done
     212
     213install-rtems_bsp_makeDATA: $(rtems_bsp_make_DATA)
     214        @$(NORMAL_INSTALL)
     215        $(mkinstalldirs) $(DESTDIR)$(rtems_bsp_makedir)
     216        @list='$(rtems_bsp_make_DATA)'; for p in $$list; do \
     217          if test -f $(srcdir)/$$p; then \
     218            echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(rtems_bsp_makedir)/$$p"; \
     219            $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(rtems_bsp_makedir)/$$p; \
     220          else if test -f $$p; then \
     221            echo " $(INSTALL_DATA) $$p $(DESTDIR)$(rtems_bsp_makedir)/$$p"; \
     222            $(INSTALL_DATA) $$p $(DESTDIR)$(rtems_bsp_makedir)/$$p; \
     223          fi; fi; \
     224        done
     225
     226uninstall-rtems_bsp_makeDATA:
     227        @$(NORMAL_UNINSTALL)
     228        list='$(rtems_bsp_make_DATA)'; for p in $$list; do \
     229          rm -f $(DESTDIR)$(rtems_bsp_makedir)/$$p; \
    202230        done
    203231
     
    384412install-exec: install-exec-recursive
    385413
    386 install-data-am: install-rtems_bspDATA install-rtems_makeDATA
     414install-data-am: install-rtems_bspDATA install-rtems_bsp_makeDATA \
     415                install-rtems_makeDATA
    387416install-data: install-data-recursive
    388417
     
    390419        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    391420install: install-recursive
    392 uninstall-am: uninstall-rtems_bspDATA uninstall-rtems_makeDATA
     421uninstall-am: uninstall-rtems_bspDATA uninstall-rtems_bsp_makeDATA \
     422                uninstall-rtems_makeDATA
    393423uninstall: uninstall-recursive
    394424all-am: Makefile $(DATA)
     
    398428installdirs: installdirs-recursive
    399429installdirs-am:
    400         $(mkinstalldirs)  $(DESTDIR)$(rtems_bspdir) $(DESTDIR)$(rtems_makedir)
     430        $(mkinstalldirs)  $(DESTDIR)$(rtems_bspdir) \
     431                $(DESTDIR)$(rtems_bsp_makedir) \
     432                $(DESTDIR)$(rtems_makedir)
    401433
    402434
     
    432464
    433465.PHONY: uninstall-rtems_bspDATA install-rtems_bspDATA \
     466uninstall-rtems_bsp_makeDATA install-rtems_bsp_makeDATA \
    434467uninstall-rtems_makeDATA install-rtems_makeDATA install-data-recursive \
    435468uninstall-data-recursive install-exec-recursive \
  • c/src/make/Templates/Makefile.in

    raa9eb940 r1896a650  
    8787CXX_FOR_TARGET = @CXX_FOR_TARGET@
    8888GCCSED = @GCCSED@
     89HAS_MP = @HAS_MP@
     90HAS_RDBG = @HAS_RDBG@
    8991INSTALL_CHANGE = @INSTALL_CHANGE@
    9092KSH = @KSH@
  • c/src/make/aclocal.m4

    raa9eb940 r1896a650  
    938938])dnl
    939939
     940dnl $Id$
     941
     942AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
     943[dnl
     944AC_REQUIRE([RTEMS_TOP])dnl
     945AC_REQUIRE([RTEMS_CHECK_CPU])dnl
     946AC_CACHE_CHECK([whether BSP supports multiprocessing],
     947  rtems_cv_HAS_MP,
     948  [dnl
     949    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${$1}/shmsupp"; then
     950      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     951        rtems_cv_HAS_MP="yes" ;
     952      else
     953        rtems_cv_HAS_MP="disabled";
     954      fi
     955    else
     956      rtems_cv_HAS_MP="no";
     957    fi
     958  ])
     959if test "$rtems_cv_HAS_MP" = "yes"; then
     960HAS_MP="yes"
     961else
     962HAS_MP="no"
     963fi
     964AC_SUBST(HAS_MP)
     965])
     966
    940967AC_DEFUN(RTEMS_CHECK_RDBG,
    941968[dnl
    942969AC_REQUIRE([RTEMS_TOP])dnl
    943970AC_REQUIRE([RTEMS_CHECK_CPU])dnl
    944 AC_CACHE_CHECK([whether cpu supports librdbg],
    945   rtems_cv_has_rdbg,
     971AC_CACHE_CHECK([whether BSP supports librdbg],
     972  rtems_cv_HAS_RDBG,
    946973  [
    947     if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}"; then
    948       rtems_cv_has_rdbg="yes" ;
     974    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}/${$1}"; then
     975      rtems_cv_HAS_RDBG="yes" ;
    949976    else
    950       rtems_cv_has_rdbg="no";
     977      rtems_cv_HAS_RDBG="no";
    951978    fi
    952979  ])
    953 ])
    954 
     980HAS_RDBG="$rtems_cv_HAS_RDBG"
     981AC_SUBST(HAS_RDBG)
     982])
     983
  • c/src/make/compilers/Makefile.in

    raa9eb940 r1896a650  
    8787CXX_FOR_TARGET = @CXX_FOR_TARGET@
    8888GCCSED = @GCCSED@
     89HAS_MP = @HAS_MP@
     90HAS_RDBG = @HAS_RDBG@
    8991INSTALL_CHANGE = @INSTALL_CHANGE@
    9092KSH = @KSH@
  • c/src/make/configure

    raa9eb940 r1896a650  
    29222922
    29232923
    2924 
    29252924echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6
    2926 echo "configure:2927: checking for make/custom/$RTEMS_BSP.cfg" >&5
     2925echo "configure:2926: checking for make/custom/$RTEMS_BSP.cfg" >&5
    29272926if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
    29282927  echo "$ac_t""yes" 1>&6
     
    29312930fi
    29322931
    2933 
    2934 if test "$RTEMS_HAS_RDBG" = "yes"; then
    2935   echo $ac_n "checking whether cpu supports librdbg""... $ac_c" 1>&6
    2936 echo "configure:2937: checking whether cpu supports librdbg" >&5
    2937 if eval "test \"`echo '$''{'rtems_cv_has_rdbg'+set}'`\" = set"; then
    2938   echo $ac_n "(cached) $ac_c" 1>&6
    2939 else
     2932echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6
     2933echo "configure:2934: checking whether BSP supports multiprocessing" >&5
     2934if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then
     2935  echo $ac_n "(cached) $ac_c" 1>&6
     2936else
     2937      if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP}/shmsupp"; then
     2938      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     2939        rtems_cv_HAS_MP="yes" ;
     2940      else
     2941        rtems_cv_HAS_MP="disabled";
     2942      fi
     2943    else
     2944      rtems_cv_HAS_MP="no";
     2945    fi
    29402946 
    2941     if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}"; then
    2942       rtems_cv_has_rdbg="yes" ;
     2947fi
     2948
     2949echo "$ac_t""$rtems_cv_HAS_MP" 1>&6
     2950if test "$rtems_cv_HAS_MP" = "yes"; then
     2951HAS_MP="yes"
     2952else
     2953HAS_MP="no"
     2954fi
     2955
     2956
     2957echo $ac_n "checking whether BSP supports librdbg""... $ac_c" 1>&6
     2958echo "configure:2959: checking whether BSP supports librdbg" >&5
     2959if eval "test \"`echo '$''{'rtems_cv_HAS_RDBG'+set}'`\" = set"; then
     2960  echo $ac_n "(cached) $ac_c" 1>&6
     2961else
     2962 
     2963    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}/${RTEMS_BSP}"; then
     2964      rtems_cv_HAS_RDBG="yes" ;
    29432965    else
    2944       rtems_cv_has_rdbg="no";
     2966      rtems_cv_HAS_RDBG="no";
    29452967    fi
    29462968 
    29472969fi
    29482970
    2949 echo "$ac_t""$rtems_cv_has_rdbg" 1>&6
    2950 
    2951   RTEMS_HAS_RDBG="$rtems_cv_has_rdbg";
    2952 fi
     2971echo "$ac_t""$rtems_cv_HAS_RDBG" 1>&6
     2972HAS_RDBG="$rtems_cv_HAS_RDBG"
     2973
    29532974
    29542975
     
    31143135host.cfg
    31153136target.cfg
     3137bsp.cfg
    31163138Templates/Makefile
    31173139custom/Makefile
     
    32203242s%@STRIP_FOR_TARGET@%$STRIP_FOR_TARGET%g
    32213243s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g
     3244s%@HAS_MP@%$HAS_MP%g
     3245s%@HAS_RDBG@%$HAS_RDBG%g
    32223246s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g
    32233247s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g
     
    32773301host.cfg
    32783302target.cfg
     3303bsp.cfg
    32793304Templates/Makefile
    32803305custom/Makefile
  • c/src/make/configure.in

    raa9eb940 r1896a650  
    2727RTEMS_ENABLE_LIBCDIR
    2828RTEMS_ENABLE_BARE
    29 dnl RTEMS_ENABLE_RTEMSBSP
    3029
    3130RTEMS_ENV_RTEMSBSP
     
    7271RTEMS_I386_GAS_CODE16
    7372
    74 dnl RTEMS_CHECK_BSPS(rtems_bsp)
    75 
    7673RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    77 
    78 if test "$RTEMS_HAS_RDBG" = "yes"; then
    79   RTEMS_CHECK_RDBG
    80   RTEMS_HAS_RDBG="$rtems_cv_has_rdbg";
    81 fi
    82 
    83 dnl END configure.target.in
     74RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
     75RTEMS_CHECK_RDBG(RTEMS_BSP)
    8476
    8577AC_SUBST(rtems_cv_prog_cc_cross)
     
    132124host.cfg
    133125target.cfg
     126bsp.cfg
    134127Templates/Makefile
    135128custom/Makefile
  • c/src/make/custom/Makefile.am

    raa9eb940 r1896a650  
    1414if MAINTAINER_MODE
    1515$(srcdir)/default.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/custom/default.cfg
    16         sed -e 's%\$$(RTEMS_BSP)%\@RTEMS_BSP\@%g' < $< >$@
     16        sed -e 's%\$$(RTEMS_BSP)%\@RTEMS_BSP\@%g' \
     17        -e 's%\$$(RTEMS_ROOT)/\@RTEMS_BSP\@%$$(RTEMS_ROOT)%g' \
     18        < $< >$@
    1719endif
    1820
  • c/src/make/custom/Makefile.in

    raa9eb940 r1896a650  
    8787CXX_FOR_TARGET = @CXX_FOR_TARGET@
    8888GCCSED = @GCCSED@
     89HAS_MP = @HAS_MP@
     90HAS_RDBG = @HAS_RDBG@
    8991INSTALL_CHANGE = @INSTALL_CHANGE@
    9092KSH = @KSH@
     
    257259
    258260@MAINTAINER_MODE_TRUE@$(srcdir)/default.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/custom/default.cfg
    259 @MAINTAINER_MODE_TRUE@  sed -e 's%\$$(RTEMS_BSP)%\@RTEMS_BSP\@%g' < $< >$@
     261@MAINTAINER_MODE_TRUE@  sed -e 's%\$$(RTEMS_BSP)%\@RTEMS_BSP\@%g' \
     262@MAINTAINER_MODE_TRUE@  -e 's%\$$(RTEMS_ROOT)/\@RTEMS_BSP\@%$$(RTEMS_ROOT)%g' \
     263@MAINTAINER_MODE_TRUE@  < $< >$@
    260264
    261265debug-am:
  • c/src/make/custom/default.cfg.in

    raa9eb940 r1896a650  
    1919
    2020include $(RTEMS_ROOT)/make/main.cfg
     21include $(RTEMS_ROOT)/make/bsp.cfg
    2122
    2223# use the inline functions instead of the macros
     
    5455endif
    5556
    56 # Define this to yes if this target supports multiprocessor environments.
    57 ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes)
    58 HAS_MP=yes
    59 else
    60 HAS_MP=no
    61 endif
    62 
    6357# Define this to yes if this target wants the TCP/IP stack
    6458ifeq ($(RTEMS_HAS_NETWORKING),yes)
     
    6660else
    6761HAS_NETWORKING=no
    68 endif
    69 
    70 # Define this to yes if this target wants the remote debugger
    71 ifeq ($(RTEMS_HAS_RDBG),yes)
    72 HAS_RDBG=yes
    73 else
    74 HAS_RDBG=no
    7562endif
    7663
  • c/src/make/main.cfg.in

    raa9eb940 r1896a650  
    4343#
    4444# Target variant names
    45 # and rule to expand them into (for example): sun4 sun4-debug sun4-profile
    46 # Note compiler config may add to TARGET_VARIANTS
    4745#
    48 
    4946TARGET_VARIANTS = debug profile
    5047
  • c/src/tests/aclocal.m4

    raa9eb940 r1896a650  
    949949])dnl
    950950
     951dnl $Id$
     952
     953AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
     954[dnl
     955AC_REQUIRE([RTEMS_TOP])dnl
     956AC_REQUIRE([RTEMS_CHECK_CPU])dnl
     957AC_CACHE_CHECK([whether BSP supports multiprocessing],
     958  rtems_cv_HAS_MP,
     959  [dnl
     960    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${$1}/shmsupp"; then
     961      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     962        rtems_cv_HAS_MP="yes" ;
     963      else
     964        rtems_cv_HAS_MP="disabled";
     965      fi
     966    else
     967      rtems_cv_HAS_MP="no";
     968    fi
     969  ])
     970if test "$rtems_cv_HAS_MP" = "yes"; then
     971HAS_MP="yes"
     972else
     973HAS_MP="no"
     974fi
     975AC_SUBST(HAS_MP)
     976])
     977
    951978dnl
    952979dnl $Id$
  • c/src/tests/configure

    raa9eb940 r1896a650  
    956956
    957957
    958 # Extract the first word of "rm", so it can be a program name with args.
    959 set dummy rm; ac_word=$2
    960 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    961 echo "configure:962: checking for $ac_word" >&5
    962 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    963   echo $ac_n "(cached) $ac_c" 1>&6
    964 else
    965   case "$RM" in
    966   /*)
    967   ac_cv_path_RM="$RM" # Let the user override the test with a path.
    968   ;;
    969   ?:/*)                 
    970   ac_cv_path_RM="$RM" # Let the user override the test with a dos path.
    971   ;;
    972   *)
    973   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    974   ac_dummy="$PATH"
    975   for ac_dir in $ac_dummy; do
    976     test -z "$ac_dir" && ac_dir=.
    977     if test -f $ac_dir/$ac_word; then
    978       ac_cv_path_RM="$ac_dir/$ac_word"
    979       break
    980     fi
    981   done
    982   IFS="$ac_save_ifs"
    983   ;;
    984 esac
    985 fi
    986 RM="$ac_cv_path_RM"
    987 if test -n "$RM"; then
    988   echo "$ac_t""$RM" 1>&6
    989 else
    990   echo "$ac_t""no" 1>&6
    991 fi
    992 
    993958# Find a good install program.  We prefer a C program (faster),
    994959# so one script is as good as another.  But avoid the broken or
     
    1003968# ./install, which can be erroneously created by make from ./install.sh.
    1004969echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1005 echo "configure:1006: checking for a BSD compatible install" >&5
     970echo "configure:971: checking for a BSD compatible install" >&5
    1006971if test -z "$INSTALL"; then
    1007972if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    10611026# Is this a supported CPU?
    10621027echo $ac_n "checking if cpu $RTEMS_CPU is supported""... $ac_c" 1>&6
    1063 echo "configure:1064: checking if cpu $RTEMS_CPU is supported" >&5
     1028echo "configure:1029: checking if cpu $RTEMS_CPU is supported" >&5
    10641029if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then
    10651030  echo "$ac_t""yes" 1>&6
     
    11221087set dummy $ac_prog; ac_word=$2
    11231088echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1124 echo "configure:1125: checking for $ac_word" >&5
     1089echo "configure:1090: checking for $ac_word" >&5
    11251090if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    11261091  echo $ac_n "(cached) $ac_c" 1>&6
     
    11661131
    11671132echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1168 echo "configure:1169: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1133echo "configure:1134: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    11691134
    11701135ac_ext=c
     
    11771142cat > conftest.$ac_ext << EOF
    11781143
    1179 #line 1180 "configure"
     1144#line 1145 "configure"
    11801145#include "confdefs.h"
    11811146
    11821147main(){return(0);}
    11831148EOF
    1184 if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1149if { (eval echo configure:1150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11851150  ac_cv_prog_cc_works=yes
    11861151  # If we can't run a trivial program, we are probably using a cross compiler.
     
    12081173fi
    12091174echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1210 echo "configure:1211: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1175echo "configure:1176: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    12111176echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    12121177cross_compiling=$ac_cv_prog_cc_cross
    12131178
    12141179echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1215 echo "configure:1216: checking whether we are using GNU C" >&5
     1180echo "configure:1181: checking whether we are using GNU C" >&5
    12161181if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    12171182  echo $ac_n "(cached) $ac_c" 1>&6
     
    12221187#endif
    12231188EOF
    1224 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1189if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    12251190  ac_cv_prog_gcc=yes
    12261191else
     
    12371202  CFLAGS=
    12381203  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1239 echo "configure:1240: checking whether ${CC-cc} accepts -g" >&5
     1204echo "configure:1205: checking whether ${CC-cc} accepts -g" >&5
    12401205if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    12411206  echo $ac_n "(cached) $ac_c" 1>&6
     
    12791244
    12801245echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1281 echo "configure:1282: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1246echo "configure:1247: checking whether $CC_FOR_TARGET accepts -specs" >&5
    12821247if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    12831248  echo $ac_n "(cached) $ac_c" 1>&6
     
    13001265
    13011266echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1302 echo "configure:1303: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1267echo "configure:1268: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    13031268if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    13041269  echo $ac_n "(cached) $ac_c" 1>&6
     
    13481313set dummy $ac_prog; ac_word=$2
    13491314echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1350 echo "configure:1351: checking for $ac_word" >&5
     1315echo "configure:1316: checking for $ac_word" >&5
    13511316if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    13521317  echo $ac_n "(cached) $ac_c" 1>&6
     
    13921357
    13931358echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1394 echo "configure:1395: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1359echo "configure:1360: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    13951360
    13961361ac_ext=C
     
    14031368cat > conftest.$ac_ext << EOF
    14041369
    1405 #line 1406 "configure"
     1370#line 1371 "configure"
    14061371#include "confdefs.h"
    14071372
    14081373int main(){return(0);}
    14091374EOF
    1410 if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1375if { (eval echo configure:1376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14111376  ac_cv_prog_cxx_works=yes
    14121377  # If we can't run a trivial program, we are probably using a cross compiler.
     
    14341399fi
    14351400echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1436 echo "configure:1437: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1401echo "configure:1402: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    14371402echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    14381403cross_compiling=$ac_cv_prog_cxx_cross
    14391404
    14401405echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1441 echo "configure:1442: checking whether we are using GNU C++" >&5
     1406echo "configure:1407: checking whether we are using GNU C++" >&5
    14421407if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    14431408  echo $ac_n "(cached) $ac_c" 1>&6
     
    14481413#endif
    14491414EOF
    1450 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1415if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    14511416  ac_cv_prog_gxx=yes
    14521417else
     
    14631428  CXXFLAGS=
    14641429  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1465 echo "configure:1466: checking whether ${CXX-g++} accepts -g" >&5
     1430echo "configure:1431: checking whether ${CXX-g++} accepts -g" >&5
    14661431if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    14671432  echo $ac_n "(cached) $ac_c" 1>&6
     
    15161481 
    15171482echo $ac_n "checking target's ar""... $ac_c" 1>&6
    1518 echo "configure:1519: checking target's ar" >&5
     1483echo "configure:1484: checking target's ar" >&5
    15191484if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    15201485  echo $ac_n "(cached) $ac_c" 1>&6
     
    15491514    # intends
    15501515    echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1551 echo "configure:1552: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
     1516echo "configure:1517: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
    15521517    case "$AR_FOR_TARGET" in
    15531518    /*) # valid
     
    15661531set dummy "$program_prefix"ar; ac_word=$2
    15671532echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1568 echo "configure:1569: checking for $ac_word" >&5
     1533echo "configure:1534: checking for $ac_word" >&5
    15691534if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    15701535  echo $ac_n "(cached) $ac_c" 1>&6
     
    16031568 
    16041569echo $ac_n "checking target's as""... $ac_c" 1>&6
    1605 echo "configure:1606: checking target's as" >&5
     1570echo "configure:1571: checking target's as" >&5
    16061571if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    16071572  echo $ac_n "(cached) $ac_c" 1>&6
     
    16361601    # intends
    16371602    echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1638 echo "configure:1639: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
     1603echo "configure:1604: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
    16391604    case "$AS_FOR_TARGET" in
    16401605    /*) # valid
     
    16531618set dummy "$program_prefix"as; ac_word=$2
    16541619echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1655 echo "configure:1656: checking for $ac_word" >&5
     1620echo "configure:1621: checking for $ac_word" >&5
    16561621if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    16571622  echo $ac_n "(cached) $ac_c" 1>&6
     
    16901655 
    16911656echo $ac_n "checking target's ld""... $ac_c" 1>&6
    1692 echo "configure:1693: checking target's ld" >&5
     1657echo "configure:1658: checking target's ld" >&5
    16931658if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    16941659  echo $ac_n "(cached) $ac_c" 1>&6
     
    17231688    # intends
    17241689    echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1725 echo "configure:1726: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
     1690echo "configure:1691: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
    17261691    case "$LD_FOR_TARGET" in
    17271692    /*) # valid
     
    17401705set dummy "$program_prefix"ld; ac_word=$2
    17411706echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1742 echo "configure:1743: checking for $ac_word" >&5
     1707echo "configure:1708: checking for $ac_word" >&5
    17431708if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    17441709  echo $ac_n "(cached) $ac_c" 1>&6
     
    17771742 
    17781743echo $ac_n "checking target's nm""... $ac_c" 1>&6
    1779 echo "configure:1780: checking target's nm" >&5
     1744echo "configure:1745: checking target's nm" >&5
    17801745if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    17811746  echo $ac_n "(cached) $ac_c" 1>&6
     
    18101775    # intends
    18111776    echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1812 echo "configure:1813: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
     1777echo "configure:1778: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
    18131778    case "$NM_FOR_TARGET" in
    18141779    /*) # valid
     
    18271792set dummy "$program_prefix"nm; ac_word=$2
    18281793echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1829 echo "configure:1830: checking for $ac_word" >&5
     1794echo "configure:1795: checking for $ac_word" >&5
    18301795if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    18311796  echo $ac_n "(cached) $ac_c" 1>&6
     
    18651830 
    18661831echo $ac_n "checking target's ranlib""... $ac_c" 1>&6
    1867 echo "configure:1868: checking target's ranlib" >&5
     1832echo "configure:1833: checking target's ranlib" >&5
    18681833if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    18691834  echo $ac_n "(cached) $ac_c" 1>&6
     
    18981863    # intends
    18991864    echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    1900 echo "configure:1901: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
     1865echo "configure:1866: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
    19011866    case "$RANLIB_FOR_TARGET" in
    19021867    /*) # valid
     
    19151880set dummy "$program_prefix"ranlib; ac_word=$2
    19161881echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1917 echo "configure:1918: checking for $ac_word" >&5
     1882echo "configure:1883: checking for $ac_word" >&5
    19181883if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    19191884  echo $ac_n "(cached) $ac_c" 1>&6
     
    19541919   
    19551920echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6
    1956 echo "configure:1957: checking whether $AR_FOR_TARGET -s works" >&5
     1921echo "configure:1922: checking whether $AR_FOR_TARGET -s works" >&5
    19571922if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then
    19581923  echo $ac_n "(cached) $ac_c" 1>&6
     
    19631928{ return b; }
    19641929EOF
    1965 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:1966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    1966   && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:1967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     1930if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:1931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     1931  && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:1932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    19671932  && test -s conftest.a ; \
    19681933then
     
    19891954 
    19901955echo $ac_n "checking target's objcopy""... $ac_c" 1>&6
    1991 echo "configure:1992: checking target's objcopy" >&5
     1956echo "configure:1957: checking target's objcopy" >&5
    19921957if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    19931958  echo $ac_n "(cached) $ac_c" 1>&6
     
    20221987    # intends
    20231988    echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2024 echo "configure:2025: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
     1989echo "configure:1990: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
    20251990    case "$OBJCOPY_FOR_TARGET" in
    20261991    /*) # valid
     
    20392004set dummy "$program_prefix"objcopy; ac_word=$2
    20402005echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2041 echo "configure:2042: checking for $ac_word" >&5
     2006echo "configure:2007: checking for $ac_word" >&5
    20422007if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    20432008  echo $ac_n "(cached) $ac_c" 1>&6
     
    20762041 
    20772042echo $ac_n "checking target's size""... $ac_c" 1>&6
    2078 echo "configure:2079: checking target's size" >&5
     2043echo "configure:2044: checking target's size" >&5
    20792044if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    20802045  echo $ac_n "(cached) $ac_c" 1>&6
     
    21092074    # intends
    21102075    echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2111 echo "configure:2112: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
     2076echo "configure:2077: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
    21122077    case "$SIZE_FOR_TARGET" in
    21132078    /*) # valid
     
    21262091set dummy "$program_prefix"size; ac_word=$2
    21272092echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2128 echo "configure:2129: checking for $ac_word" >&5
     2093echo "configure:2094: checking for $ac_word" >&5
    21292094if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    21302095  echo $ac_n "(cached) $ac_c" 1>&6
     
    21632128 
    21642129echo $ac_n "checking target's strip""... $ac_c" 1>&6
    2165 echo "configure:2166: checking target's strip" >&5
     2130echo "configure:2131: checking target's strip" >&5
    21662131if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    21672132  echo $ac_n "(cached) $ac_c" 1>&6
     
    21962161    # intends
    21972162    echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2198 echo "configure:2199: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
     2163echo "configure:2164: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
    21992164    case "$STRIP_FOR_TARGET" in
    22002165    /*) # valid
     
    22132178set dummy "$program_prefix"strip; ac_word=$2
    22142179echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2215 echo "configure:2216: checking for $ac_word" >&5
     2180echo "configure:2181: checking for $ac_word" >&5
    22162181if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    22172182  echo $ac_n "(cached) $ac_c" 1>&6
     
    22522217 if test "${target_cpu}" = "i386"; then
    22532218    echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6
    2254 echo "configure:2255: checking for 16 bit mode assembler support" >&5
     2219echo "configure:2220: checking for 16 bit mode assembler support" >&5
    22552220if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then
    22562221  echo $ac_n "(cached) $ac_c" 1>&6
     
    22622227         lgdt 0
    22632228EOF
    2264       if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     2229      if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
    22652230        rtems_cv_prog_gas_code16=yes
    22662231      else
     
    22782243set dummy gcc; ac_word=$2
    22792244echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2280 echo "configure:2281: checking for $ac_word" >&5
     2245echo "configure:2246: checking for $ac_word" >&5
    22812246if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22822247  echo $ac_n "(cached) $ac_c" 1>&6
     
    23082273set dummy cc; ac_word=$2
    23092274echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2310 echo "configure:2311: checking for $ac_word" >&5
     2275echo "configure:2276: checking for $ac_word" >&5
    23112276if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    23122277  echo $ac_n "(cached) $ac_c" 1>&6
     
    23592324set dummy cl; ac_word=$2
    23602325echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2361 echo "configure:2362: checking for $ac_word" >&5
     2326echo "configure:2327: checking for $ac_word" >&5
    23622327if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    23632328  echo $ac_n "(cached) $ac_c" 1>&6
     
    23912356
    23922357echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2393 echo "configure:2394: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2358echo "configure:2359: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    23942359
    23952360ac_ext=c
     
    24022367cat > conftest.$ac_ext << EOF
    24032368
    2404 #line 2405 "configure"
     2369#line 2370 "configure"
    24052370#include "confdefs.h"
    24062371
    24072372main(){return(0);}
    24082373EOF
    2409 if { (eval echo configure:2410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2374if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24102375  ac_cv_prog_cc_works=yes
    24112376  # If we can't run a trivial program, we are probably using a cross compiler.
     
    24332398fi
    24342399echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2435 echo "configure:2436: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2400echo "configure:2401: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    24362401echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    24372402cross_compiling=$ac_cv_prog_cc_cross
    24382403
    24392404echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2440 echo "configure:2441: checking whether we are using GNU C" >&5
     2405echo "configure:2406: checking whether we are using GNU C" >&5
    24412406if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    24422407  echo $ac_n "(cached) $ac_c" 1>&6
     
    24472412#endif
    24482413EOF
    2449 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2414if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    24502415  ac_cv_prog_gcc=yes
    24512416else
     
    24662431CFLAGS=
    24672432echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2468 echo "configure:2469: checking whether ${CC-cc} accepts -g" >&5
     2433echo "configure:2434: checking whether ${CC-cc} accepts -g" >&5
    24692434if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    24702435  echo $ac_n "(cached) $ac_c" 1>&6
     
    25022467
    25032468echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6
    2504 echo "configure:2505: checking whether $RTEMS_HOST supports System V semaphores" >&5
     2469echo "configure:2470: checking whether $RTEMS_HOST supports System V semaphores" >&5
    25052470if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then
    25062471  echo $ac_n "(cached) $ac_c" 1>&6
     
    25112476else
    25122477  cat > conftest.$ac_ext <<EOF
    2513 #line 2514 "configure"
     2478#line 2479 "configure"
    25142479#include "confdefs.h"
    25152480
     
    25372502
    25382503EOF
    2539 if { (eval echo configure:2540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2504if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    25402505then
    25412506  rtems_cv_sysv_sem="yes"
     
    25602525
    25612526echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6
    2562 echo "configure:2563: checking whether $RTEMS_HOST supports System V shared memory" >&5
     2527echo "configure:2528: checking whether $RTEMS_HOST supports System V shared memory" >&5
    25632528if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then
    25642529  echo $ac_n "(cached) $ac_c" 1>&6
     
    25692534else
    25702535  cat > conftest.$ac_ext <<EOF
    2571 #line 2572 "configure"
     2536#line 2537 "configure"
    25722537#include "confdefs.h"
    25732538
     
    25852550
    25862551EOF
    2587 if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2552if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    25882553then
    25892554  rtems_cv_sysv_shm="yes"
     
    26082573
    26092574echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6
    2610 echo "configure:2611: checking whether $RTEMS_HOST supports System V messages" >&5
     2575echo "configure:2576: checking whether $RTEMS_HOST supports System V messages" >&5
    26112576if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then
    26122577  echo $ac_n "(cached) $ac_c" 1>&6
     
    26172582else
    26182583  cat > conftest.$ac_ext <<EOF
    2619 #line 2620 "configure"
     2584#line 2585 "configure"
    26202585#include "confdefs.h"
    26212586
     
    26332598
    26342599EOF
    2635 if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2600if { (eval echo configure:2601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    26362601then
    26372602  rtems_cv_sysv_msg="yes"
     
    26572622
    26582623echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6
    2659 echo "configure:2660: checking for make/custom/$RTEMS_BSP.cfg" >&5
     2624echo "configure:2625: checking for make/custom/$RTEMS_BSP.cfg" >&5
    26602625if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
    26612626  echo "$ac_t""yes" 1>&6
     
    26642629fi
    26652630
     2631echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6
     2632echo "configure:2633: checking whether BSP supports multiprocessing" >&5
     2633if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then
     2634  echo $ac_n "(cached) $ac_c" 1>&6
     2635else
     2636      if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP}/shmsupp"; then
     2637      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
     2638        rtems_cv_HAS_MP="yes" ;
     2639      else
     2640        rtems_cv_HAS_MP="disabled";
     2641      fi
     2642    else
     2643      rtems_cv_HAS_MP="no";
     2644    fi
     2645 
     2646fi
     2647
     2648echo "$ac_t""$rtems_cv_HAS_MP" 1>&6
     2649if test "$rtems_cv_HAS_MP" = "yes"; then
     2650HAS_MP="yes"
     2651else
     2652HAS_MP="no"
     2653fi
     2654
     2655
    26662656
    26672657# always build the test tools
    26682658testtools_cfgdirs="tools/generic"
     2659
     2660if test "$HAS_MP" = "yes"; then
     2661    makefiles="$makefiles samples/base_mp/Makefile"
     2662    makefiles="$makefiles samples/base_mp/node1/Makefile"
     2663    makefiles="$makefiles samples/base_mp/node2/Makefile"
     2664    makefiles="$makefiles samples/base_sp/Makefile"
     2665fi
     2666
    26692667if test "$tests_enabled" = "yes"; then
    2670    
     2668 
    26712669echo $ac_n "checking for Makefile.in in libtests""... $ac_c" 1>&6
    2672 echo "configure:2673: checking for Makefile.in in libtests" >&5
     2670echo "configure:2671: checking for Makefile.in in libtests" >&5
    26732671if test -d $srcdir/libtests; then
    26742672  rtems_av_save_dir=`pwd`;
     
    26832681
    26842682
    2685    
     2683 
    26862684echo $ac_n "checking for Makefile.in in sptests""... $ac_c" 1>&6
    2687 echo "configure:2688: checking for Makefile.in in sptests" >&5
     2685echo "configure:2686: checking for Makefile.in in sptests" >&5
    26882686if test -d $srcdir/sptests; then
    26892687  rtems_av_save_dir=`pwd`;
     
    26982696
    26992697
    2700    
     2698 
    27012699echo $ac_n "checking for Makefile.in in tmtests""... $ac_c" 1>&6
    2702 echo "configure:2703: checking for Makefile.in in tmtests" >&5
     2700echo "configure:2701: checking for Makefile.in in tmtests" >&5
    27032701if test -d $srcdir/tmtests; then
    27042702  rtems_av_save_dir=`pwd`;
     
    27132711
    27142712
    2715    if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
    2716        
     2713  if test "$HAS_MP" = "yes"; then
     2714   
    27172715echo $ac_n "checking for Makefile.in in mptests""... $ac_c" 1>&6
    2718 echo "configure:2719: checking for Makefile.in in mptests" >&5
     2716echo "configure:2717: checking for Makefile.in in mptests" >&5
    27192717if test -d $srcdir/mptests; then
    27202718  rtems_av_save_dir=`pwd`;
     
    27292727
    27302728
    2731    fi
    2732    if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    2733      
     2729  fi
     2730  if test "$RTEMS_HAS_POSIX_API" = "yes"; then
     2731   
    27342732echo $ac_n "checking for Makefile.in in psxtests""... $ac_c" 1>&6
    2735 echo "configure:2736: checking for Makefile.in in psxtests" >&5
     2733echo "configure:2734: checking for Makefile.in in psxtests" >&5
    27362734if test -d $srcdir/psxtests; then
    27372735  rtems_av_save_dir=`pwd`;
     
    27462744
    27472745
    2748    fi
     2746  fi
    27492747   if test -d "$srcdir/tools/$RTEMS_CPU"; then
    27502748     testtools_cfgdirs="$testtools_cfgdirs tools/$RTEMS_CPU"
     
    28872885tools/Makefile
    28882886samples/Makefile
    2889 samples/base_mp/Makefile
    2890 samples/base_mp/node1/Makefile
    2891 samples/base_mp/node2/Makefile
    28922887samples/base_sp/Makefile
    28932888samples/cdtest/Makefile
     
    29572952s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g
    29582953s%@RTEMS_BSP@%$RTEMS_BSP%g
    2959 s%@RM@%$RM%g
    29602954s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    29612955s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     
    29792973s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g
    29802974s%@CC@%$CC%g
     2975s%@HAS_MP@%$HAS_MP%g
    29812976s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g
    29822977s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g
     
    30383033tools/Makefile
    30393034samples/Makefile
    3040 samples/base_mp/Makefile
    3041 samples/base_mp/node1/Makefile
    3042 samples/base_mp/node2/Makefile
    30433035samples/base_sp/Makefile
    30443036samples/cdtest/Makefile
  • c/src/tests/configure.in

    raa9eb940 r1896a650  
    2929dnl BEGIN configure.host.in
    3030
    31 AC_PATH_PROG(RM,rm)
    3231AC_PROG_INSTALL
    3332
     
    5554
    5655RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
     56RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
    5757
    5858# always build the test tools
    5959testtools_cfgdirs="tools/generic"
     60
     61if test "$HAS_MP" = "yes"; then
     62    makefiles="$makefiles samples/base_mp/Makefile"
     63    makefiles="$makefiles samples/base_mp/node1/Makefile"
     64    makefiles="$makefiles samples/base_mp/node2/Makefile"
     65    makefiles="$makefiles samples/base_sp/Makefile"
     66fi
     67
    6068if test "$tests_enabled" = "yes"; then
    61    RTEMS_CHECK_MAKEFILE(libtests)
    62    RTEMS_CHECK_MAKEFILE(sptests)
    63    RTEMS_CHECK_MAKEFILE(tmtests)
    64    if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
    65        RTEMS_CHECK_MAKEFILE(mptests)
    66    fi
    67    if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    68      RTEMS_CHECK_MAKEFILE(psxtests)
    69    fi
     69  RTEMS_CHECK_MAKEFILE(libtests)
     70  RTEMS_CHECK_MAKEFILE(sptests)
     71  RTEMS_CHECK_MAKEFILE(tmtests)
     72  if test "$HAS_MP" = "yes"; then
     73    RTEMS_CHECK_MAKEFILE(mptests)
     74  fi
     75  if test "$RTEMS_HAS_POSIX_API" = "yes"; then
     76    RTEMS_CHECK_MAKEFILE(psxtests)
     77  fi
    7078   if test -d "$srcdir/tools/$RTEMS_CPU"; then
    7179     testtools_cfgdirs="$testtools_cfgdirs tools/$RTEMS_CPU"
     
    95103tools/Makefile
    96104samples/Makefile
    97 samples/base_mp/Makefile
    98 samples/base_mp/node1/Makefile
    99 samples/base_mp/node2/Makefile
    100105samples/base_sp/Makefile
    101106samples/cdtest/Makefile
  • make/custom/default.cfg

    raa9eb940 r1896a650  
    1919
    2020include $(RTEMS_ROOT)/make/main.cfg
     21include $(RTEMS_ROOT)/$(RTEMS_BSP)/make/bsp.cfg
    2122
    2223# use the inline functions instead of the macros
     
    5455endif
    5556
    56 # Define this to yes if this target supports multiprocessor environments.
    57 ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes)
    58 HAS_MP=yes
    59 else
    60 HAS_MP=no
    61 endif
    62 
    6357# Define this to yes if this target wants the TCP/IP stack
    6458ifeq ($(RTEMS_HAS_NETWORKING),yes)
     
    6660else
    6761HAS_NETWORKING=no
    68 endif
    69 
    70 # Define this to yes if this target wants the remote debugger
    71 ifeq ($(RTEMS_HAS_RDBG),yes)
    72 HAS_RDBG=yes
    73 else
    74 HAS_RDBG=no
    7562endif
    7663
  • make/custom/force386.cfg

    raa9eb940 r1896a650  
    2626# to enable it.
    2727HAS_NETWORKING=no
    28 
    29 # This BSP does not support librdbg
    30 HAS_RDBG=no
    3128
    3229#  This section makes the target dependent options file.
  • make/custom/i386ex.cfg

    raa9eb940 r1896a650  
    2222# -fomit-frame-pointer breaks debugging and C++ exceptions
    2323CFLAGS_OPTIMIZE_V=-O4
    24 
    25 # This BSP does not support librdbg
    26 HAS_RDBG=no
    2724
    2825#  This section makes the target dependent options file.
  • make/custom/pc386.cfg

    raa9eb940 r1896a650  
    2222# -fomit-frame-pointer breaks debugging and C++ exceptions
    2323CFLAGS_OPTIMIZE_V=-O4
    24 
    25 # Define this to yes if this target supports multiprocessor environments.
    26 HAS_MP=no
    2724
    2825#  This section makes the target dependent options file.
  • make/custom/portsw.cfg

    raa9eb940 r1896a650  
    4646HAS_CPLUSPLUS=no
    4747
    48 # Define this to yes if this target supports multiprocessor environments.
    49 HAS_MP=no
    50 
    5148# This target does NOT support the TCP/IP stack so ignore requests
    5249# to enable it.
  • make/custom/ppcn_60x.cfg

    raa9eb940 r1896a650  
    7575CPU_CFLAGS = -mcpu=603
    7676
    77 # Define this to yes if this target supports multiprocessor environments.
    78 HAS_MP=no
    79 
    8077# optimize flag: typically -0, could use -O4 or -fast
    8178# -O4 is ok for RTEMS
  • make/custom/psim.cfg

    raa9eb940 r1896a650  
    8080CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    8181
    82 # Define this to yes if this target supports multiprocessor environments.
    83 HAS_MP=no
    84 
    8582# This target does not support the TCP/IP stack so ignore requests
    8683# to enable it.
  • make/custom/ts_386ex.cfg

    raa9eb940 r1896a650  
    2323# -fomit-frame-pointer breaks debugging and C++ exceptions
    2424CFLAGS_OPTIMIZE_V=-O4
    25 
    26 # This BSP does not support librdbg
    27 HAS_RDBG=no
    2825
    2926#  This section makes the target dependent options file.
  • make/main.cfg

    raa9eb940 r1896a650  
    4343#
    4444# Target variant names
    45 # and rule to expand them into (for example): sun4 sun4-debug sun4-profile
    46 # Note compiler config may add to TARGET_VARIANTS
    4745#
    48 
    4946TARGET_VARIANTS = debug profile
    5047
  • tools/build/configure

    raa9eb940 r1896a650  
    13791379install-if-change
    13801380lock-directory
    1381 rcs-clean
    13821381unlock-directory
    13831382 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    14801479install-if-change
    14811480lock-directory
    1482 rcs-clean
    14831481unlock-directory
    14841482"}
  • tools/update/acpolish

    raa9eb940 r1896a650  
    405405# print STDERR "MACRO: <$1> += <$2>\n";
    406406        my $p = "$1" ;
    407         ${"var_$p+"}="$2" ;
    408         # place a marker
    409         push @tbuf, "§5$p\n" ;
    410         push @vars, "$p+" ;
     407        if ( not defined ${"var_$p+"} )
     408        {
     409          # place a marker
     410          push @tbuf, "§5$p\n" ;
     411          push @vars, "$p+" ;
     412        }
     413        else
     414        {
     415          print STDERR "WARNING += $_" ;
     416        }
     417        ${"var_$p+"} .=" $2" ;
    411418    }
    412419    elsif ( /^[\s]*(\@[^\s]+\@)$/o )
Note: See TracChangeset for help on using the changeset viewer.