Changeset 1896a650 in rtems
- Timestamp:
- 07/30/99 17:52:50 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a3c8bda
- Parents:
- aa9eb940
- Files:
-
- 1 added
- 71 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal/check-rdbg.m4
raa9eb940 r1896a650 3 3 AC_REQUIRE([RTEMS_TOP])dnl 4 4 AC_REQUIRE([RTEMS_CHECK_CPU])dnl 5 AC_CACHE_CHECK([whether cpusupports librdbg],6 rtems_cv_ has_rdbg,5 AC_CACHE_CHECK([whether BSP supports librdbg], 6 rtems_cv_HAS_RDBG, 7 7 [ 8 if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU} "; then9 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" ; 10 10 else 11 rtems_cv_ has_rdbg="no";11 rtems_cv_HAS_RDBG="no"; 12 12 fi 13 13 ]) 14 HAS_RDBG="$rtems_cv_HAS_RDBG" 15 AC_SUBST(HAS_RDBG) 14 16 ]) -
c/src/exec/aclocal.m4
raa9eb940 r1896a650 892 892 RTEMS_USE_NEWLIB="$rtems_cv_use_newlib" 893 893 AC_SUBST(RTEMS_USE_NEWLIB) 894 ])895 896 897 dnl898 dnl $Id$899 dnl900 901 dnl RTEMS_CHECK_MAKEFILE(path)902 dnl Search for Makefile.in's within the directory starting903 dnl at path and append an entry for Makefile to global variable904 dnl "makefiles" (from configure.in) for each Makefile.in found905 dnl906 AC_DEFUN(RTEMS_CHECK_MAKEFILE,907 [RTEMS_CHECK_FILES_IN($1,Makefile,makefiles)908 ])909 910 dnl911 dnl $Id$912 dnl913 914 dnl RTEMS_CHECK_FILES_IN(path,file,var)915 dnl path .. path relative to srcdir, where to start searching for files916 dnl file .. name of the files to search for917 dnl var .. shell variable to append files found918 919 AC_DEFUN(RTEMS_CHECK_FILES_IN,920 [921 AC_MSG_CHECKING(for $2.in in $1)922 if test -d $srcdir/$1; then923 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 else930 AC_MSG_RESULT(no)931 fi932 894 ]) 933 895 … … 982 944 ])dnl 983 945 946 dnl $Id$ 947 948 AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, 949 [dnl 950 AC_REQUIRE([RTEMS_TOP])dnl 951 AC_REQUIRE([RTEMS_CHECK_CPU])dnl 952 AC_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 ]) 965 if test "$rtems_cv_HAS_MP" = "yes"; then 966 HAS_MP="yes" 967 else 968 HAS_MP="no" 969 fi 970 AC_SUBST(HAS_MP) 971 ]) 972 973 dnl 974 dnl $Id$ 975 dnl 976 977 dnl RTEMS_CHECK_MAKEFILE(path) 978 dnl Search for Makefile.in's within the directory starting 979 dnl at path and append an entry for Makefile to global variable 980 dnl "makefiles" (from configure.in) for each Makefile.in found 981 dnl 982 AC_DEFUN(RTEMS_CHECK_MAKEFILE, 983 [RTEMS_CHECK_FILES_IN($1,Makefile,makefiles) 984 ]) 985 986 dnl 987 dnl $Id$ 988 dnl 989 990 dnl RTEMS_CHECK_FILES_IN(path,file,var) 991 dnl path .. path relative to srcdir, where to start searching for files 992 dnl file .. name of the files to search for 993 dnl var .. shell variable to append files found 994 995 AC_DEFUN(RTEMS_CHECK_FILES_IN, 996 [ 997 AC_MSG_CHECKING(for $2.in in $1) 998 if 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) 1005 else 1006 AC_MSG_RESULT(no) 1007 fi 1008 ]) 1009 1010 -
c/src/exec/configure
raa9eb940 r1896a650 2673 2673 2674 2674 2675 # Check if there is custom/*.cfg for this BSP 2676 echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6 2677 echo "configure:2678: checking for make/custom/$RTEMS_BSP.cfg" >&5 2678 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then 2679 echo "$ac_t""yes" 1>&6 2680 else 2681 { echo "configure: error: no" 1>&2; exit 1; } 2682 fi 2683 2684 2685 echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6 2686 echo "configure:2687: checking whether BSP supports multiprocessing" >&5 2687 if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then 2688 echo $ac_n "(cached) $ac_c" 1>&6 2689 else 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 2700 fi 2701 2702 echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 2703 if test "$rtems_cv_HAS_MP" = "yes"; then 2704 HAS_MP="yes" 2705 else 2706 HAS_MP="no" 2707 fi 2708 2709 2710 2675 2711 # find all the Executive Makefiles 2676 2712 2677 echo $ac_n "checking for Makefile.in in rtems""... $ac_c" 1>&62678 echo "configure:2679: checking for Makefile.in in rtems" >&52679 if test -d $srcdir/rtems; then2680 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>&62686 else2687 echo "$ac_t""no" 1>&62688 fi2689 2690 2691 2692 echo $ac_n "checking for Makefile.in in sapi""... $ac_c" 1>&62693 echo "configure:2694: checking for Makefile.in in sapi" >&52694 if test -d $srcdir/sapi; then2695 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>&62701 else2702 echo "$ac_t""no" 1>&62703 fi2704 2705 2706 2707 2713 echo $ac_n "checking for Makefile.in in score/cpu/$RTEMS_CPU""... $ac_c" 1>&6 2708 echo "configure:27 09: checking for Makefile.in in score/cpu/$RTEMS_CPU" >&52714 echo "configure:2715: checking for Makefile.in in score/cpu/$RTEMS_CPU" >&5 2709 2715 if test -d $srcdir/score/cpu/$RTEMS_CPU; then 2710 2716 rtems_av_save_dir=`pwd`; … … 2720 2726 2721 2727 2722 if test "$RTEMS_HAS_POSIX_API" = "yes"; then2723 2724 echo $ac_n "checking for Makefile.in in posix""... $ac_c" 1>&62725 echo "configure:2726: checking for Makefile.in in posix" >&52726 if test -d $srcdir/posix; then2727 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>&62733 else2734 echo "$ac_t""no" 1>&62735 fi2736 2737 2738 makefiles="$makefiles wrapup/posix/Makefile"2739 fi2740 2741 # Check if there is custom/*.cfg for this BSP2742 echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&62743 echo "configure:2744: checking for make/custom/$RTEMS_BSP.cfg" >&52744 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then2745 echo "$ac_t""yes" 1>&62746 else2747 { echo "configure: error: no" 1>&2; exit 1; }2748 fi2749 2750 2751 2728 # If RTEMS macros are enabled, then use them. Otherwise, use inlines. 2752 2729 if test "$RTEMS_USE_MACROS" = "yes"; then 2753 inline_dir= macros2730 inline_dir="macros" 2754 2731 if test "$RTEMS_HAS_POSIX_API" = "yes"; then 2755 2732 # The problem is that there is currently no code in posix/macros :) … … 2757 2734 fi 2758 2735 else 2759 inline_dir=inline 2736 inline_dir="inline" 2737 fi 2738 2739 if 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" 2760 2753 fi 2761 2754 … … 2886 2879 2887 2880 trap 'rm -fr `echo "Makefile 2881 rtems/Makefile 2882 rtems/src/Makefile 2883 rtems/include/Makefile 2884 rtems/include/wrap/Makefile 2885 rtems/include/rtems/Makefile 2886 rtems/include/rtems/rtems/Makefile 2887 rtems/optman/Makefile 2888 rtems/${inline_dir}/Makefile 2889 rtems/${inline_dir}/rtems/Makefile 2890 rtems/${inline_dir}/rtems/rtems/Makefile 2891 sapi/Makefile 2892 sapi/src/Makefile 2893 sapi/include/Makefile 2894 sapi/include/wrap/Makefile 2895 sapi/include/rtems/Makefile 2896 sapi/include/rtems/sptables.h 2897 sapi/${inline_dir}/Makefile 2898 sapi/${inline_dir}/rtems/Makefile 2899 sapi/optman/Makefile 2888 2900 score/Makefile 2889 2901 score/cpu/Makefile … … 2899 2911 wrapup/rtems/Makefile 2900 2912 $makefiles 2901 sapi/include/rtems/sptables.h2902 2913 " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2903 2914 EOF … … 2983 2994 s%@CC@%$CC%g 2984 2995 s%@RTEMS_USE_NEWLIB@%$RTEMS_USE_NEWLIB%g 2996 s%@HAS_MP@%$HAS_MP%g 2985 2997 s%@RTEMS_VERSION@%$RTEMS_VERSION%g 2986 2998 s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g … … 3034 3046 3035 3047 CONFIG_FILES=\${CONFIG_FILES-"Makefile 3048 rtems/Makefile 3049 rtems/src/Makefile 3050 rtems/include/Makefile 3051 rtems/include/wrap/Makefile 3052 rtems/include/rtems/Makefile 3053 rtems/include/rtems/rtems/Makefile 3054 rtems/optman/Makefile 3055 rtems/${inline_dir}/Makefile 3056 rtems/${inline_dir}/rtems/Makefile 3057 rtems/${inline_dir}/rtems/rtems/Makefile 3058 sapi/Makefile 3059 sapi/src/Makefile 3060 sapi/include/Makefile 3061 sapi/include/wrap/Makefile 3062 sapi/include/rtems/Makefile 3063 sapi/include/rtems/sptables.h 3064 sapi/${inline_dir}/Makefile 3065 sapi/${inline_dir}/rtems/Makefile 3066 sapi/optman/Makefile 3036 3067 score/Makefile 3037 3068 score/cpu/Makefile … … 3047 3078 wrapup/rtems/Makefile 3048 3079 $makefiles 3049 sapi/include/rtems/sptables.h3050 3080 "} 3051 3081 EOF … … 3119 3149 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 3120 3150 3151 -
c/src/exec/configure.in
raa9eb940 r1896a650 48 48 RTEMS_CHECK_NEWLIB 49 49 50 # find all the Executive Makefiles51 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"; then56 RTEMS_CHECK_MAKEFILE(posix)57 makefiles="$makefiles wrapup/posix/Makefile"58 fi59 60 50 # Check if there is custom/*.cfg for this BSP 61 51 RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) 62 52 53 RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) 54 55 # find all the Executive Makefiles 56 RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU) 57 63 58 # If RTEMS macros are enabled, then use them. Otherwise, use inlines. 64 59 if test "$RTEMS_USE_MACROS" = "yes"; then 65 inline_dir= macros60 inline_dir="macros" 66 61 if test "$RTEMS_HAS_POSIX_API" = "yes"; then 67 62 # The problem is that there is currently no code in posix/macros :) … … 69 64 fi 70 65 else 71 inline_dir=inline 66 inline_dir="inline" 67 fi 68 69 if 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" 72 83 fi 73 84 … … 86 97 AC_OUTPUT( 87 98 Makefile 99 rtems/Makefile 100 rtems/src/Makefile 101 rtems/include/Makefile 102 rtems/include/wrap/Makefile 103 rtems/include/rtems/Makefile 104 rtems/include/rtems/rtems/Makefile 105 rtems/optman/Makefile 106 rtems/${inline_dir}/Makefile 107 rtems/${inline_dir}/rtems/Makefile 108 rtems/${inline_dir}/rtems/rtems/Makefile 109 sapi/Makefile 110 sapi/src/Makefile 111 sapi/include/Makefile 112 sapi/include/wrap/Makefile 113 sapi/include/rtems/Makefile 114 sapi/include/rtems/sptables.h 115 sapi/${inline_dir}/Makefile 116 sapi/${inline_dir}/rtems/Makefile 117 sapi/optman/Makefile 88 118 score/Makefile 89 119 score/cpu/Makefile … … 99 129 wrapup/rtems/Makefile 100 130 $makefiles 101 sapi/include/rtems/sptables.h102 131 ) 132 -
c/src/exec/posix/include/rtems/posix/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/leaf.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/posix 23 24 $(INSTALLDIRS): 25 @$(mkinstalldirs) $(INSTALLDIRS) 26 16 27 # We only build multiprocessing related files if HAS_MP was defined 17 28 MP_H_PIECES_yes_V = condmp mqueuemp mutexmp pthreadmp semaphoremp … … 26 37 27 38 SRCS = $(H_FILES) 28 29 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg30 include $(RTEMS_ROOT)/make/leaf.cfg31 32 INSTALL_CHANGE = @INSTALL_CHANGE@33 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs34 35 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/posix36 37 $(INSTALLDIRS):38 @$(mkinstalldirs) $(INSTALLDIRS)39 39 40 40 # -
c/src/exec/rtems/Makefile.in
raa9eb940 r1896a650 27 27 SUB_DIRS = include $(INLINE) optman src 28 28 29 preinstall: 30 $(mkinstalldirs) $(INSTALLDIRS) 29 preinstall: $(INSTALLDIRS) 31 30 32 31 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
c/src/exec/rtems/include/rtems/rtems/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/leaf.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/rtems 23 24 $(INSTALLDIRS): 25 @$(mkinstalldirs) $(INSTALLDIRS) 26 16 27 # We only build multiprocessing related files if HAS_MP was defined 17 28 MP_H_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp … … 24 35 25 36 SRCS = $(H_FILES) 26 27 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg28 include $(RTEMS_ROOT)/make/leaf.cfg29 30 INSTALL_CHANGE = @INSTALL_CHANGE@31 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs32 33 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/rtems34 35 $(INSTALLDIRS):36 @$(mkinstalldirs) $(INSTALLDIRS)37 37 38 38 # -
c/src/exec/rtems/src/Makefile.in
raa9eb940 r1896a650 13 13 14 14 VPATH = @srcdir@ 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/lib.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 15 20 16 21 # We only build multiprocessing related files if HAS_MP was defined … … 65 70 OBJS = $(C_O_FILES) 66 71 67 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg68 include $(RTEMS_ROOT)/make/lib.cfg69 70 INSTALL_CHANGE = @INSTALL_CHANGE@71 72 72 # 73 73 # Add local stuff here using += -
c/src/exec/sapi/include/rtems/Makefile.in
raa9eb940 r1896a650 43 43 44 44 preinstall: $(INSTALLDIRS) $(H_FILES) 45 $(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems45 @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems 46 46 47 47 sptables.h: $(srcdir)/sptables.h.in $(top_builddir)/config.status -
c/src/exec/score/Makefile.in
raa9eb940 r1896a650 28 28 29 29 preinstall: 30 $(mkinstalldirs) $(INSTALLDIRS)30 @$(mkinstalldirs) $(INSTALLDIRS) 31 31 32 32 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
c/src/exec/score/include/rtems/score/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/leaf.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score 23 24 $(INSTALLDIRS): 25 @$(mkinstalldirs) $(INSTALLDIRS) 26 16 27 # We only build multiprocessing related files if HAS_MP was defined 17 28 MP_H_PIECES_yes_V = mpci mppkt objectmp threadmp … … 26 37 27 38 SRCS = $(H_FILES) $(TARGOPTS) 28 29 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg30 include $(RTEMS_ROOT)/make/leaf.cfg31 32 INSTALL_CHANGE = @INSTALL_CHANGE@33 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs34 35 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score36 37 $(INSTALLDIRS):38 @$(mkinstalldirs) $(INSTALLDIRS)39 39 40 40 RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@ -
c/src/exec/score/inline/rtems/score/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/lib.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score 23 24 $(INSTALLDIRS): 25 @$(mkinstalldirs) $(INSTALLDIRS) 26 16 27 # We only build multiprocessing related files if HAS_MP was defined 17 28 MP_I_PIECES_yes_V = mppkt objectmp threadmp … … 24 35 25 36 SRCS = $(I_FILES) 26 27 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg28 include $(RTEMS_ROOT)/make/lib.cfg29 30 INSTALL_CHANGE = @INSTALL_CHANGE@31 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs32 33 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score34 35 $(INSTALLDIRS):36 @$(mkinstalldirs) $(INSTALLDIRS)37 37 38 38 # -
c/src/exec/score/macros/rtems/score/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/lib.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score 23 24 $(INSTALLDIRS): 25 @$(mkinstalldirs) $(INSTALLDIRS) 26 16 27 # We only build multiprocessing related files if HAS_MP was defined 17 28 MP_I_PIECES_yes_V = mppkt objectmp threadmp … … 24 35 25 36 SRCS = $(I_FILES) 26 27 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg28 include $(RTEMS_ROOT)/make/lib.cfg29 30 INSTALL_CHANGE = @INSTALL_CHANGE@31 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs32 33 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/score34 35 $(INSTALLDIRS):36 @$(mkinstalldirs) $(INSTALLDIRS)37 37 38 38 # -
c/src/exec/score/src/Makefile.in
raa9eb940 r1896a650 13 13 14 14 VPATH = @srcdir@ 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/lib.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 15 20 16 21 # We only build multiprocessing related files if HAS_MP was defined … … 35 40 SRCS = $(C_FILES) 36 41 OBJS = $(C_O_FILES) 37 38 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg39 include $(RTEMS_ROOT)/make/lib.cfg40 41 INSTALL_CHANGE = @INSTALL_CHANGE@42 42 43 43 # -
c/src/exec/wrapup/posix/Makefile.in
raa9eb940 r1896a650 56 56 57 57 all: ${ARCH} $(SRCS) $(LIB) 58 $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib58 @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib 59 59 60 60 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
c/src/lib/aclocal.m4
raa9eb940 r1896a650 949 949 ])dnl 950 950 951 dnl $Id$ 952 953 AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, 954 [dnl 955 AC_REQUIRE([RTEMS_TOP])dnl 956 AC_REQUIRE([RTEMS_CHECK_CPU])dnl 957 AC_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 ]) 970 if test "$rtems_cv_HAS_MP" = "yes"; then 971 HAS_MP="yes" 972 else 973 HAS_MP="no" 974 fi 975 AC_SUBST(HAS_MP) 976 ]) 977 951 978 dnl 952 979 dnl $Id$ … … 1010 1037 AC_REQUIRE([RTEMS_TOP])dnl 1011 1038 AC_REQUIRE([RTEMS_CHECK_CPU])dnl 1012 AC_CACHE_CHECK([whether cpusupports librdbg],1013 rtems_cv_ has_rdbg,1039 AC_CACHE_CHECK([whether BSP supports librdbg], 1040 rtems_cv_HAS_RDBG, 1014 1041 [ 1015 if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU} "; then1016 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" ; 1017 1044 else 1018 rtems_cv_ has_rdbg="no";1045 rtems_cv_HAS_RDBG="no"; 1019 1046 fi 1020 1047 ]) 1021 ]) 1022 1048 HAS_RDBG="$rtems_cv_HAS_RDBG" 1049 AC_SUBST(HAS_RDBG) 1050 ]) 1051 -
c/src/lib/configure
raa9eb940 r1896a650 2642 2642 fi 2643 2643 2644 echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6 2645 echo "configure:2646: checking whether BSP supports multiprocessing" >&5 2646 if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then 2647 echo $ac_n "(cached) $ac_c" 1>&6 2648 else 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 2659 fi 2660 2661 echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 2662 if test "$rtems_cv_HAS_MP" = "yes"; then 2663 HAS_MP="yes" 2664 else 2665 HAS_MP="no" 2666 fi 2667 2668 2644 2669 2645 2670 … … 2682 2707 2683 2708 echo $ac_n "checking for Makefile.in in libbsp/${bspcpudir}$bspdir""... $ac_c" 1>&6 2684 echo "configure:2 685: checking for Makefile.in in libbsp/${bspcpudir}$bspdir" >&52709 echo "configure:2710: checking for Makefile.in in libbsp/${bspcpudir}$bspdir" >&5 2685 2710 if test -d $srcdir/libbsp/${bspcpudir}$bspdir; then 2686 2711 rtems_av_save_dir=`pwd`; … … 2697 2722 2698 2723 echo $ac_n "checking for Makefile.in in libbsp/${bspcpudir}shared""... $ac_c" 1>&6 2699 echo "configure:27 00: checking for Makefile.in in libbsp/${bspcpudir}shared" >&52724 echo "configure:2725: checking for Makefile.in in libbsp/${bspcpudir}shared" >&5 2700 2725 if test -d $srcdir/libbsp/${bspcpudir}shared; then 2701 2726 rtems_av_save_dir=`pwd`; … … 2733 2758 2734 2759 echo $ac_n "checking for Makefile.in in libcpu/$RTEMS_CPU""... $ac_c" 1>&6 2735 echo "configure:27 36: checking for Makefile.in in libcpu/$RTEMS_CPU" >&52760 echo "configure:2761: checking for Makefile.in in libcpu/$RTEMS_CPU" >&5 2736 2761 if test -d $srcdir/libcpu/$RTEMS_CPU; then 2737 2762 rtems_av_save_dir=`pwd`; … … 2753 2778 2754 2779 echo $ac_n "checking for Makefile.in in start/$RTEMS_CPU""... $ac_c" 1>&6 2755 echo "configure:27 56: checking for Makefile.in in start/$RTEMS_CPU" >&52780 echo "configure:2781: checking for Makefile.in in start/$RTEMS_CPU" >&5 2756 2781 if test -d $srcdir/start/$RTEMS_CPU; then 2757 2782 rtems_av_save_dir=`pwd`; … … 2782 2807 # If the TCP/IP stack is enabled, then find all TCP/IP Makefiles 2783 2808 echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6 2784 echo "configure:2 785: checking if networking is enabled? " >&52809 echo "configure:2810: checking if networking is enabled? " >&5 2785 2810 echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6 2786 2811 if test "$RTEMS_HAS_NETWORKING" = "yes"; then 2787 2812 2788 2813 echo $ac_n "checking for Makefile.in in libnetworking""... $ac_c" 1>&6 2789 echo "configure:2 790: checking for Makefile.in in libnetworking" >&52814 echo "configure:2815: checking for Makefile.in in libnetworking" >&5 2790 2815 if test -d $srcdir/libnetworking; then 2791 2816 rtems_av_save_dir=`pwd`; … … 2802 2827 2803 2828 echo $ac_n "checking for Makefile.in in librpc""... $ac_c" 1>&6 2804 echo "configure:28 05: checking for Makefile.in in librpc" >&52829 echo "configure:2830: checking for Makefile.in in librpc" >&5 2805 2830 if test -d $srcdir/librpc; then 2806 2831 rtems_av_save_dir=`pwd`; … … 2817 2842 2818 2843 if test "$RTEMS_HAS_RDBG" = "yes"; then 2819 echo $ac_n "checking whether cpusupports librdbg""... $ac_c" 1>&62820 echo "configure:28 21: checking whether cpusupports librdbg" >&52821 if eval "test \"`echo '$''{'rtems_cv_ has_rdbg'+set}'`\" = set"; then2844 echo $ac_n "checking whether BSP supports librdbg""... $ac_c" 1>&6 2845 echo "configure:2846: checking whether BSP supports librdbg" >&5 2846 if eval "test \"`echo '$''{'rtems_cv_HAS_RDBG'+set}'`\" = set"; then 2822 2847 echo $ac_n "(cached) $ac_c" 1>&6 2823 2848 else 2824 2849 2825 if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU} "; then2826 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" ; 2827 2852 else 2828 rtems_cv_ has_rdbg="no";2853 rtems_cv_HAS_RDBG="no"; 2829 2854 fi 2830 2855 2831 2856 fi 2832 2857 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 2858 echo "$ac_t""$rtems_cv_HAS_RDBG" 1>&6 2859 HAS_RDBG="$rtems_cv_HAS_RDBG" 2860 2861 2862 2863 if test "$HAS_RDBG" = "yes"; then 2838 2864 # Extract the first word of "rpcgen", so it can be a program name with args. 2839 2865 set dummy rpcgen; ac_word=$2 2840 2866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2841 echo "configure:28 42: checking for $ac_word" >&52867 echo "configure:2868: checking for $ac_word" >&5 2842 2868 if eval "test \"`echo '$''{'ac_cv_prog_RPCGEN'+set}'`\" = set"; then 2843 2869 echo $ac_n "(cached) $ac_c" 1>&6 … … 2870 2896 set dummy $ac_prog; ac_word=$2 2871 2897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2872 echo "configure:28 73: checking for $ac_word" >&52898 echo "configure:2899: checking for $ac_word" >&5 2873 2899 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 2874 2900 echo $ac_n "(cached) $ac_c" 1>&6 … … 2906 2932 fi 2907 2933 fi 2908 if test "$ rtems_cv_has_rdbg" = "yes"; then2934 if test "$HAS_RDBG" = "yes"; then 2909 2935 2910 2936 echo $ac_n "checking for Makefile.in in librdbg""... $ac_c" 1>&6 2911 echo "configure:29 12: checking for Makefile.in in librdbg" >&52937 echo "configure:2938: checking for Makefile.in in librdbg" >&5 2912 2938 if test -d $srcdir/librdbg; then 2913 2939 rtems_av_save_dir=`pwd`; … … 2930 2956 2931 2957 echo $ac_n "checking for Makefile.in in librtems++""... $ac_c" 1>&6 2932 echo "configure:29 33: checking for Makefile.in in librtems++" >&52958 echo "configure:2959: checking for Makefile.in in librtems++" >&5 2933 2959 if test -d $srcdir/librtems++; then 2934 2960 rtems_av_save_dir=`pwd`; … … 2961 2987 if test "$RTEMS_HAS_HWAPI" = "yes"; then 2962 2988 echo $ac_n "checking whether libwapi is present""... $ac_c" 1>&6 2963 echo "configure:29 64: checking whether libwapi is present" >&52989 echo "configure:2990: checking whether libwapi is present" >&5 2964 2990 if test -f ${srcdir}/libhwapi/Makefile.in ; then 2965 2991 echo "$ac_t""yes" 1>&6 … … 2967 2993 2968 2994 echo $ac_n "checking for Makefile.in in libhwapi/analog""... $ac_c" 1>&6 2969 echo "configure:29 70: checking for Makefile.in in libhwapi/analog" >&52995 echo "configure:2996: checking for Makefile.in in libhwapi/analog" >&5 2970 2996 if test -d $srcdir/libhwapi/analog; then 2971 2997 rtems_av_save_dir=`pwd`; … … 2982 3008 2983 3009 echo $ac_n "checking for Makefile.in in libhwapi/discrete""... $ac_c" 1>&6 2984 echo "configure: 2985: checking for Makefile.in in libhwapi/discrete" >&53010 echo "configure:3011: checking for Makefile.in in libhwapi/discrete" >&5 2985 3011 if test -d $srcdir/libhwapi/discrete; then 2986 3012 rtems_av_save_dir=`pwd`; … … 2997 3023 2998 3024 echo $ac_n "checking for Makefile.in in libhwapi/drivers""... $ac_c" 1>&6 2999 echo "configure:30 00: checking for Makefile.in in libhwapi/drivers" >&53025 echo "configure:3026: checking for Makefile.in in libhwapi/drivers" >&5 3000 3026 if test -d $srcdir/libhwapi/drivers; then 3001 3027 rtems_av_save_dir=`pwd`; … … 3012 3038 3013 3039 echo $ac_n "checking for Makefile.in in libhwapi/non_volatile_memory""... $ac_c" 1>&6 3014 echo "configure:30 15: checking for Makefile.in in libhwapi/non_volatile_memory" >&53040 echo "configure:3041: checking for Makefile.in in libhwapi/non_volatile_memory" >&5 3015 3041 if test -d $srcdir/libhwapi/non_volatile_memory; then 3016 3042 rtems_av_save_dir=`pwd`; … … 3027 3053 3028 3054 echo $ac_n "checking for Makefile.in in libhwapi/serial""... $ac_c" 1>&6 3029 echo "configure:30 30: checking for Makefile.in in libhwapi/serial" >&53055 echo "configure:3056: checking for Makefile.in in libhwapi/serial" >&5 3030 3056 if test -d $srcdir/libhwapi/serial; then 3031 3057 rtems_av_save_dir=`pwd`; … … 3042 3068 3043 3069 echo $ac_n "checking for Makefile.in in libhwapi/support""... $ac_c" 1>&6 3044 echo "configure:30 45: checking for Makefile.in in libhwapi/support" >&53070 echo "configure:3071: checking for Makefile.in in libhwapi/support" >&5 3045 3071 if test -d $srcdir/libhwapi/support; then 3046 3072 rtems_av_save_dir=`pwd`; … … 3057 3083 3058 3084 echo $ac_n "checking for Makefile.in in libhwapi/wrapup""... $ac_c" 1>&6 3059 echo "configure:30 60: checking for Makefile.in in libhwapi/wrapup" >&53085 echo "configure:3086: checking for Makefile.in in libhwapi/wrapup" >&5 3060 3086 if test -d $srcdir/libhwapi/wrapup; then 3061 3087 rtems_av_save_dir=`pwd`; … … 3085 3111 3086 3112 echo $ac_n "checking for Makefile.in in libchip""... $ac_c" 1>&6 3087 echo "configure:3 088: checking for Makefile.in in libchip" >&53113 echo "configure:3114: checking for Makefile.in in libchip" >&5 3088 3114 if test -d $srcdir/libchip; then 3089 3115 rtems_av_save_dir=`pwd`; … … 3100 3126 3101 3127 echo $ac_n "checking for Makefile.in in libmisc""... $ac_c" 1>&6 3102 echo "configure:31 03: checking for Makefile.in in libmisc" >&53128 echo "configure:3129: checking for Makefile.in in libmisc" >&5 3103 3129 if test -d $srcdir/libmisc; then 3104 3130 rtems_av_save_dir=`pwd`; … … 3326 3352 s%@RTEMS_GAS_CODE16_FALSE@%$RTEMS_GAS_CODE16_FALSE%g 3327 3353 s%@CC@%$CC%g 3354 s%@HAS_MP@%$HAS_MP%g 3328 3355 s%@RTEMS_LIBBSP_CPU_SUBDIR@%$RTEMS_LIBBSP_CPU_SUBDIR%g 3329 3356 s%@UNIX_TRUE@%$UNIX_TRUE%g 3330 3357 s%@UNIX_FALSE@%$UNIX_FALSE%g 3358 s%@HAS_RDBG@%$HAS_RDBG%g 3331 3359 s%@RPCGEN@%$RPCGEN%g 3332 3360 s%@AWK@%$AWK%g -
c/src/lib/configure.in
raa9eb940 r1896a650 57 57 58 58 RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) 59 RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) 59 60 60 61 RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir) … … 132 133 133 134 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 138 138 AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen) 139 139 AC_PROG_AWK … … 145 145 fi 146 146 fi 147 if test "$ rtems_cv_has_rdbg" = "yes"; then147 if test "$HAS_RDBG" = "yes"; then 148 148 RTEMS_CHECK_MAKEFILE(librdbg) 149 149 fi -
c/src/lib/libbsp/hppa1.1/simhppa/wrapup/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 BSP_PIECES = startup tty17 # pieces to pick up out of libcpu/hppa18 CPU_PIECES = clock milli timer19 GENERIC_PIECES =20 21 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 22 17 include $(RTEMS_ROOT)/make/lib.cfg … … 24 19 INSTALL = @INSTALL@ 25 20 INSTALL_CHANGE = @INSTALL_CHANGE@ 21 22 BSP_PIECES = startup tty 23 # pieces to pick up out of libcpu/hppa 24 CPU_PIECES = clock milli timer 25 GENERIC_PIECES = 26 26 27 27 GENERIC_MP_REL_PIECES_yes_V = shmdr -
c/src/lib/libbsp/i386/force386/wrapup/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 BSP_PIECES = startup clock console timer17 GENERIC_PIECES =18 19 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 20 17 include $(RTEMS_ROOT)/make/lib.cfg … … 22 19 INSTALL = @INSTALL@ 23 20 INSTALL_CHANGE = @INSTALL_CHANGE@ 21 22 BSP_PIECES = startup clock console timer 23 GENERIC_PIECES = 24 24 25 25 GENERIC_MP_REL_PIECES_yes_V = shmdr -
c/src/lib/libbsp/i386/i386ex/console/Makefile.in
raa9eb940 r1896a650 12 12 PROJECT_ROOT = @PROJECT_ROOT@ 13 13 14 VPATH = @srcdir@ 14 VPATH = @srcdir@:@srcdir@/../../shared/io 15 15 16 16 PGM = ${ARCH}/console.rel 17 18 IMPORT_SRC = $(srcdir)/../../shared/io/printk.c19 17 20 18 # C source names, if any, go here -- minus the .c … … 59 57 CLOBBER_ADDITIONS += 60 58 61 preinstall:62 ${CP} ${IMPORT_SRC} .63 64 59 ${PGM}: ${SRCS} ${OBJS} 65 60 $(make-rel) 66 61 67 all: ${ARCH} preinstall$(SRCS) $(PGM)62 all: ${ARCH} $(SRCS) $(PGM) 68 63 69 64 # 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 12 12 PROJECT_ROOT = @PROJECT_ROOT@ 13 13 14 VPATH = @srcdir@ 14 VPATH = @srcdir@:@srcdir@/../../shared/io 15 15 16 16 PGM = ${ARCH}/console.rel 17 18 IMPORT_SRC = $(srcdir)/../../shared/io/printk.c19 17 20 18 # C source names, if any, go here -- minus the .c … … 59 57 CLOBBER_ADDITIONS += 60 58 61 preinstall:62 ${CP} ${IMPORT_SRC} .63 64 59 ${PGM}: ${SRCS} ${OBJS} 65 60 $(make-rel) 66 61 67 all: ${ARCH} preinstall$(SRCS) $(PGM)62 all: ${ARCH} $(SRCS) $(PGM) 68 63 69 64 # 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 59 59 60 60 all: ${ARCH} $(SRCS) $(OBJS) $(PGM) 61 $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib61 @$(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib 62 62 63 63 # Install the program(s), appending _g or _p as appropriate. -
c/src/lib/libbsp/i386/ts_386ex/startup/Makefile.in
raa9eb940 r1896a650 70 70 CLOBBER_ADDITIONS += 71 71 72 preinstall:73 $(INSTALL_CHANGE) ${IMPORT_SRC} .74 75 # ${CP} ${IMPORT_SRC} .76 77 72 ${PGM}: ${SRCS} ${OBJS} 78 73 $(make-rel) 79 all: ${ARCH} preinstall$(SRCS) $(PGM)80 $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib74 all: ${ARCH} $(SRCS) $(PGM) 75 @$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib 81 76 82 77 # 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 14 14 VPATH = @srcdir@ 15 15 16 BSP_PIECES = startup clock console timer17 GENERIC_PIECES =18 19 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 20 17 include $(RTEMS_ROOT)/make/lib.cfg … … 22 19 INSTALL = @INSTALL@ 23 20 INSTALL_CHANGE = @INSTALL_CHANGE@ 21 22 BSP_PIECES = startup clock console timer 23 GENERIC_PIECES = 24 24 25 25 GENERIC_MP_REL_PIECES_yes_V = shmdr -
c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 BSP_PIECES = startup clock console timer17 GENERIC_PIECES =18 19 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 20 17 include $(RTEMS_ROOT)/make/lib.cfg … … 22 19 INSTALL = @INSTALL@ 23 20 INSTALL_CHANGE = @INSTALL_CHANGE@ 21 22 BSP_PIECES = startup clock console timer 23 GENERIC_PIECES = 24 24 25 25 GENERIC_MP_REL_PIECES_yes_V = shmdr -
c/src/lib/libbsp/m68k/mvme147s/wrapup/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 BSP_PIECES = startup clock console timer17 GENERIC_PIECES =18 19 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 20 17 include $(RTEMS_ROOT)/make/lib.cfg … … 22 19 INSTALL = @INSTALL@ 23 20 INSTALL_CHANGE = @INSTALL_CHANGE@ 21 22 BSP_PIECES = startup clock console timer 23 GENERIC_PIECES = 24 24 25 25 GENERIC_MP_REL_PIECES_yes_V = shmdr -
c/src/lib/libbsp/m68k/ods68302/start/Makefile.in
raa9eb940 r1896a650 16 16 PGM = ${ARCH}/start302.o 17 17 18 ifeq ($(RTEMS_DEBUGGER),yes) 19 RESET_S_PIECES = debugreset reset 20 else 21 CFLAGS += 22 endif 18 RESET_S_PIECES_yes_V = debugreset 19 RESET_S_PIECES_no_V = reset 20 RESET_S_PIECES__V = $(RESET_S_PIECES_no_V) 21 RESET_S_PIECES = $(RESET_S_PIECES_$(RTEMS_DEBUGGER)_V) 22 23 CFLAGS_no_V = -DGDB_MONITOR_ACTIVE 24 CFLAGS__V = $(CFLAGS_no_V) 25 CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V) 23 26 24 27 # C source names, if any, go here -- minus the .c … … 48 51 DEFINES += 49 52 CPPFLAGS += 50 CFLAGS += 53 CFLAGS += $(CFLAGS_V) 51 54 52 55 LD_PATHS += -
c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
raa9eb940 r1896a650 16 16 PGM = ${ARCH}/start302.o 17 17 18 ifeq ($(RTEMS_DEBUGGER),yes) 19 RESET_S_PIECES = debugreset reset 20 else 21 CFLAGS += 22 endif 18 RESET_S_PIECES_yes_V = debugreset 19 RESET_S_PIECES_no_V = reset 20 RESET_S_PIECES__V = $(RESET_S_PIECES_no_V) 21 RESET_S_PIECES = $(RESET_S_PIECES_$(RTEMS_DEBUGGER)_V) 22 23 CFLAGS_no_V = -DGDB_MONITOR_ACTIVE 24 CFLAGS__V = $(CFLAGS_no_V) 25 CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V) 23 26 24 27 # C source names, if any, go here -- minus the .c … … 48 51 DEFINES += 49 52 CPPFLAGS += 50 CFLAGS += 53 CFLAGS += $(CFLAGS_V) 51 54 52 55 LD_PATHS += -
c/src/lib/libbsp/no_cpu/no_bsp/wrapup/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 BSP_PIECES = startup clock console timer17 GENERIC_PIECES = $18 19 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 20 17 include $(RTEMS_ROOT)/make/lib.cfg 21 18 22 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 21 BSP_PIECES = startup clock console timer 23 22 24 23 GENERIC_MP_REL_PIECES_yes_V = shmdr -
c/src/lib/libbsp/powerpc/dmv177/startup/Makefile.in
raa9eb940 r1896a650 68 68 $(make-rel) 69 69 70 all: ${ARCH} $(SRCS) $( INSTALLED_O_FILES) $(PGM)70 all: ${ARCH} $(SRCS) $(PGM) 71 71 $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib 72 72 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/Makefile.in
raa9eb940 r1896a650 54 54 LDFLAGS += 55 55 56 IMAGES := rtems.gz56 IMAGES = rtems.gz 57 57 58 58 # -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.in
raa9eb940 r1896a650 54 54 LDFLAGS += 55 55 56 IMAGES := rtems.gz56 IMAGES = rtems.gz 57 57 58 58 # -
c/src/lib/libbsp/powerpc/psim/wrapup/Makefile.in
raa9eb940 r1896a650 14 14 VPATH = @srcdir@ 15 15 16 BSP_PIECES = startup clock console timer vectors17 # pieces to pick up out of libcpu/ppc18 CPU_PIECES =19 GENERIC_PIECES =20 21 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 22 17 include $(RTEMS_ROOT)/make/lib.cfg … … 24 19 INSTALL = @INSTALL@ 25 20 INSTALL_CHANGE = @INSTALL_CHANGE@ 21 22 BSP_PIECES = startup clock console timer vectors 23 # pieces to pick up out of libcpu/ppc 24 CPU_PIECES = 25 GENERIC_PIECES = 26 26 27 27 GENERIC_MP_REL_PIECES_yes_V = shmdr -
c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in
raa9eb940 r1896a650 36 36 37 37 INSTALL_CHANGE = @INSTALL_CHANGE@ 38 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 39 40 INSTALLDIRS = $(PROJECT_RELEASE)/lib 41 42 $(INSTALLDIRS): 43 @$(mkinstalldirs) $(INSTALLDIRS) 38 44 39 45 # First and second generation use different Bridge chips :( … … 70 76 $(make-rel) 71 77 72 all: ${ARCH} $(SRCS) $(INSTALLED_O_FILES) $(PGM) 73 $(INSTALL) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib 74 $(INSTALL_VARIANT) $(INSTALLED_O_FILES) $(PROJECT_RELEASE)/lib 78 all: ${ARCH} $(SRCS) $(PGM) 79 $(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib 75 80 76 81 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
c/src/lib/libchip/serial/Makefile.in
raa9eb940 r1896a650 60 60 61 61 all: ${ARCH} preinstall $(LIB) 62 $(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib62 @$(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib 63 63 64 64 $(LIB): $(SRCS) ${OBJS} -
c/src/lib/libcpu/powerpc/mpc750/exceptions/Makefile.in
raa9eb940 r1896a650 67 67 $(make-rel) 68 68 69 preinstall: 69 preinstall: $(INSTALLDIRS) $(H_FILES) 70 70 @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu 71 71 -
c/src/lib/libcpu/powerpc/mpc750/mmu/Makefile.in
raa9eb940 r1896a650 67 67 $(make-rel) 68 68 69 preinstall: 69 preinstall: $(INSTALLDIRS) $(H_FILES) 70 70 @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu 71 71 -
c/src/lib/libmisc/monitor/Makefile.in
raa9eb940 r1896a650 13 13 14 14 VPATH = @srcdir@ 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/lib.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems 23 24 $(INSTALLDIRS): 25 @$(mkinstalldirs) $(INSTALLDIRS) 15 26 16 27 LIB = ${ARCH}/libmonitor-tmp.a … … 32 43 SRCS = README $(C_FILES) $(H_FILES) $(INSTALLED_H_FILES) 33 44 OBJS = $(C_O_FILES) 34 35 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg36 include $(RTEMS_ROOT)/make/lib.cfg37 38 INSTALL_CHANGE = @INSTALL_CHANGE@39 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs40 41 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems42 43 $(INSTALLDIRS):44 @$(mkinstalldirs) $(INSTALLDIRS)45 45 46 46 # -
c/src/lib/libnetworking/include/Makefile.in
raa9eb940 r1896a650 78 78 79 79 preinstall: $(INSTALLDIRS) $(SRCS) 80 $(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/networking81 $(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/networking/sys82 $(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/networking/rtems83 $(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/networking/machine84 $(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/networking/vm85 $(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/networking/net86 $(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet87 $(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa88 $(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs89 $(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking80 @$(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 90 90 91 91 all: preinstall -
c/src/lib/librdbg/i386/pc386/Makefile.in
raa9eb940 r1896a650 78 78 79 79 all: ${ARCH} $(LIB) 80 $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib80 @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib 81 81 82 82 $(LIB): $(SRCS) ${OBJS} … … 88 88 $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \ 89 89 -o $$pwd/$@ remdeb.x ) 90 $(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg90 @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg 91 91 92 92 remdeb_xdr.c: $(X_FILES) -
c/src/libchip/serial/Makefile.in
raa9eb940 r1896a650 60 60 61 61 all: ${ARCH} preinstall $(LIB) 62 $(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib62 @$(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib 63 63 64 64 $(LIB): $(SRCS) ${OBJS} -
c/src/libmisc/monitor/Makefile.in
raa9eb940 r1896a650 13 13 14 14 VPATH = @srcdir@ 15 16 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg 17 include $(RTEMS_ROOT)/make/lib.cfg 18 19 INSTALL_CHANGE = @INSTALL_CHANGE@ 20 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs 21 22 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems 23 24 $(INSTALLDIRS): 25 @$(mkinstalldirs) $(INSTALLDIRS) 15 26 16 27 LIB = ${ARCH}/libmonitor-tmp.a … … 32 43 SRCS = README $(C_FILES) $(H_FILES) $(INSTALLED_H_FILES) 33 44 OBJS = $(C_O_FILES) 34 35 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg36 include $(RTEMS_ROOT)/make/lib.cfg37 38 INSTALL_CHANGE = @INSTALL_CHANGE@39 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs40 41 INSTALLDIRS = $(PROJECT_INCLUDE)/rtems42 43 $(INSTALLDIRS):44 @$(mkinstalldirs) $(INSTALLDIRS)45 45 46 46 # -
c/src/libnetworking/include/Makefile.in
raa9eb940 r1896a650 78 78 79 79 preinstall: $(INSTALLDIRS) $(SRCS) 80 $(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/networking81 $(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/networking/sys82 $(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/networking/rtems83 $(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/networking/machine84 $(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/networking/vm85 $(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/networking/net86 $(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet87 $(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa88 $(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs89 $(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking80 @$(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 90 90 91 91 all: preinstall -
c/src/librdbg/src/i386/any/Makefile.in
raa9eb940 r1896a650 78 78 79 79 all: ${ARCH} $(LIB) 80 $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib80 @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib 81 81 82 82 $(LIB): $(SRCS) ${OBJS} … … 88 88 $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \ 89 89 -o $$pwd/$@ remdeb.x ) 90 $(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg90 @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg 91 91 92 92 remdeb_xdr.c: $(X_FILES) -
c/src/librdbg/src/i386/pc386/Makefile.in
raa9eb940 r1896a650 78 78 79 79 all: ${ARCH} $(LIB) 80 $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib80 @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib 81 81 82 82 $(LIB): $(SRCS) ${OBJS} … … 88 88 $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \ 89 89 -o $$pwd/$@ remdeb.x ) 90 $(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg90 @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg 91 91 92 92 remdeb_xdr.c: $(X_FILES) -
c/src/make/Makefile.am
raa9eb940 r1896a650 27 27 Makefile.inc 28 28 29 rtems_bsp_makedir = $(rtems_bspdir)/make 30 rtems_bsp_make_DATA = \ 31 bsp.cfg 32 29 33 if MAINTAINER_MODE 30 34 $(srcdir)/main.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/main.cfg -
c/src/make/Makefile.in
raa9eb940 r1896a650 88 88 CXX_FOR_TARGET = @CXX_FOR_TARGET@ 89 89 GCCSED = @GCCSED@ 90 HAS_MP = @HAS_MP@ 91 HAS_RDBG = @HAS_RDBG@ 90 92 INSTALL_CHANGE = @INSTALL_CHANGE@ 91 93 KSH = @KSH@ … … 144 146 145 147 148 rtems_bsp_makedir = $(rtems_bspdir)/make 149 rtems_bsp_make_DATA = bsp.cfg 150 151 146 152 SUBDIRS = compilers custom Templates 147 153 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 148 154 mkinstalldirs = $(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) 155 CONFIG_CLEAN_FILES = Makefile.inc main.cfg host.cfg target.cfg bsp.cfg 156 DATA = $(noinst_DATA) $(rtems_bsp_DATA) $(rtems_bsp_make_DATA) \ 157 $(rtems_make_DATA) 151 158 152 159 DIST_COMMON = Makefile.am Makefile.in Makefile.inc.in aclocal.m4 \ 153 configure configure.in host.cfg.in main.cfg.in target.cfg.in160 bsp.cfg.in configure configure.in host.cfg.in main.cfg.in target.cfg.in 154 161 155 162 … … 182 189 target.cfg: $(top_builddir)/config.status target.cfg.in 183 190 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 191 bsp.cfg: $(top_builddir)/config.status bsp.cfg.in 192 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 184 193 185 194 install-rtems_bspDATA: $(rtems_bsp_DATA) … … 200 209 list='$(rtems_bsp_DATA)'; for p in $$list; do \ 201 210 rm -f $(DESTDIR)$(rtems_bspdir)/$$p; \ 211 done 212 213 install-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 226 uninstall-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; \ 202 230 done 203 231 … … 384 412 install-exec: install-exec-recursive 385 413 386 install-data-am: install-rtems_bspDATA install-rtems_makeDATA 414 install-data-am: install-rtems_bspDATA install-rtems_bsp_makeDATA \ 415 install-rtems_makeDATA 387 416 install-data: install-data-recursive 388 417 … … 390 419 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 391 420 install: install-recursive 392 uninstall-am: uninstall-rtems_bspDATA uninstall-rtems_makeDATA 421 uninstall-am: uninstall-rtems_bspDATA uninstall-rtems_bsp_makeDATA \ 422 uninstall-rtems_makeDATA 393 423 uninstall: uninstall-recursive 394 424 all-am: Makefile $(DATA) … … 398 428 installdirs: installdirs-recursive 399 429 installdirs-am: 400 $(mkinstalldirs) $(DESTDIR)$(rtems_bspdir) $(DESTDIR)$(rtems_makedir) 430 $(mkinstalldirs) $(DESTDIR)$(rtems_bspdir) \ 431 $(DESTDIR)$(rtems_bsp_makedir) \ 432 $(DESTDIR)$(rtems_makedir) 401 433 402 434 … … 432 464 433 465 .PHONY: uninstall-rtems_bspDATA install-rtems_bspDATA \ 466 uninstall-rtems_bsp_makeDATA install-rtems_bsp_makeDATA \ 434 467 uninstall-rtems_makeDATA install-rtems_makeDATA install-data-recursive \ 435 468 uninstall-data-recursive install-exec-recursive \ -
c/src/make/Templates/Makefile.in
raa9eb940 r1896a650 87 87 CXX_FOR_TARGET = @CXX_FOR_TARGET@ 88 88 GCCSED = @GCCSED@ 89 HAS_MP = @HAS_MP@ 90 HAS_RDBG = @HAS_RDBG@ 89 91 INSTALL_CHANGE = @INSTALL_CHANGE@ 90 92 KSH = @KSH@ -
c/src/make/aclocal.m4
raa9eb940 r1896a650 938 938 ])dnl 939 939 940 dnl $Id$ 941 942 AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, 943 [dnl 944 AC_REQUIRE([RTEMS_TOP])dnl 945 AC_REQUIRE([RTEMS_CHECK_CPU])dnl 946 AC_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 ]) 959 if test "$rtems_cv_HAS_MP" = "yes"; then 960 HAS_MP="yes" 961 else 962 HAS_MP="no" 963 fi 964 AC_SUBST(HAS_MP) 965 ]) 966 940 967 AC_DEFUN(RTEMS_CHECK_RDBG, 941 968 [dnl 942 969 AC_REQUIRE([RTEMS_TOP])dnl 943 970 AC_REQUIRE([RTEMS_CHECK_CPU])dnl 944 AC_CACHE_CHECK([whether cpusupports librdbg],945 rtems_cv_ has_rdbg,971 AC_CACHE_CHECK([whether BSP supports librdbg], 972 rtems_cv_HAS_RDBG, 946 973 [ 947 if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU} "; then948 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" ; 949 976 else 950 rtems_cv_ has_rdbg="no";977 rtems_cv_HAS_RDBG="no"; 951 978 fi 952 979 ]) 953 ]) 954 980 HAS_RDBG="$rtems_cv_HAS_RDBG" 981 AC_SUBST(HAS_RDBG) 982 ]) 983 -
c/src/make/compilers/Makefile.in
raa9eb940 r1896a650 87 87 CXX_FOR_TARGET = @CXX_FOR_TARGET@ 88 88 GCCSED = @GCCSED@ 89 HAS_MP = @HAS_MP@ 90 HAS_RDBG = @HAS_RDBG@ 89 91 INSTALL_CHANGE = @INSTALL_CHANGE@ 90 92 KSH = @KSH@ -
c/src/make/configure
raa9eb940 r1896a650 2922 2922 2923 2923 2924 2925 2924 echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6 2926 echo "configure:292 7: checking for make/custom/$RTEMS_BSP.cfg" >&52925 echo "configure:2926: checking for make/custom/$RTEMS_BSP.cfg" >&5 2927 2926 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then 2928 2927 echo "$ac_t""yes" 1>&6 … … 2931 2930 fi 2932 2931 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 2932 echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6 2933 echo "configure:2934: checking whether BSP supports multiprocessing" >&5 2934 if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then 2935 echo $ac_n "(cached) $ac_c" 1>&6 2936 else 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 2940 2946 2941 if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}"; then 2942 rtems_cv_has_rdbg="yes" ; 2947 fi 2948 2949 echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 2950 if test "$rtems_cv_HAS_MP" = "yes"; then 2951 HAS_MP="yes" 2952 else 2953 HAS_MP="no" 2954 fi 2955 2956 2957 echo $ac_n "checking whether BSP supports librdbg""... $ac_c" 1>&6 2958 echo "configure:2959: checking whether BSP supports librdbg" >&5 2959 if eval "test \"`echo '$''{'rtems_cv_HAS_RDBG'+set}'`\" = set"; then 2960 echo $ac_n "(cached) $ac_c" 1>&6 2961 else 2962 2963 if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/librdbg/${RTEMS_CPU}/${RTEMS_BSP}"; then 2964 rtems_cv_HAS_RDBG="yes" ; 2943 2965 else 2944 rtems_cv_ has_rdbg="no";2966 rtems_cv_HAS_RDBG="no"; 2945 2967 fi 2946 2968 2947 2969 fi 2948 2970 2949 echo "$ac_t""$rtems_cv_has_rdbg" 1>&6 2950 2951 RTEMS_HAS_RDBG="$rtems_cv_has_rdbg"; 2952 fi 2971 echo "$ac_t""$rtems_cv_HAS_RDBG" 1>&6 2972 HAS_RDBG="$rtems_cv_HAS_RDBG" 2973 2953 2974 2954 2975 … … 3114 3135 host.cfg 3115 3136 target.cfg 3137 bsp.cfg 3116 3138 Templates/Makefile 3117 3139 custom/Makefile … … 3220 3242 s%@STRIP_FOR_TARGET@%$STRIP_FOR_TARGET%g 3221 3243 s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g 3244 s%@HAS_MP@%$HAS_MP%g 3245 s%@HAS_RDBG@%$HAS_RDBG%g 3222 3246 s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g 3223 3247 s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g … … 3277 3301 host.cfg 3278 3302 target.cfg 3303 bsp.cfg 3279 3304 Templates/Makefile 3280 3305 custom/Makefile -
c/src/make/configure.in
raa9eb940 r1896a650 27 27 RTEMS_ENABLE_LIBCDIR 28 28 RTEMS_ENABLE_BARE 29 dnl RTEMS_ENABLE_RTEMSBSP30 29 31 30 RTEMS_ENV_RTEMSBSP … … 72 71 RTEMS_I386_GAS_CODE16 73 72 74 dnl RTEMS_CHECK_BSPS(rtems_bsp)75 76 73 RTEMS_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 74 RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) 75 RTEMS_CHECK_RDBG(RTEMS_BSP) 84 76 85 77 AC_SUBST(rtems_cv_prog_cc_cross) … … 132 124 host.cfg 133 125 target.cfg 126 bsp.cfg 134 127 Templates/Makefile 135 128 custom/Makefile -
c/src/make/custom/Makefile.am
raa9eb940 r1896a650 14 14 if MAINTAINER_MODE 15 15 $(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 < $< >$@ 17 19 endif 18 20 -
c/src/make/custom/Makefile.in
raa9eb940 r1896a650 87 87 CXX_FOR_TARGET = @CXX_FOR_TARGET@ 88 88 GCCSED = @GCCSED@ 89 HAS_MP = @HAS_MP@ 90 HAS_RDBG = @HAS_RDBG@ 89 91 INSTALL_CHANGE = @INSTALL_CHANGE@ 90 92 KSH = @KSH@ … … 257 259 258 260 @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@ < $< >$@ 260 264 261 265 debug-am: -
c/src/make/custom/default.cfg.in
raa9eb940 r1896a650 19 19 20 20 include $(RTEMS_ROOT)/make/main.cfg 21 include $(RTEMS_ROOT)/make/bsp.cfg 21 22 22 23 # use the inline functions instead of the macros … … 54 55 endif 55 56 56 # Define this to yes if this target supports multiprocessor environments.57 ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes)58 HAS_MP=yes59 else60 HAS_MP=no61 endif62 63 57 # Define this to yes if this target wants the TCP/IP stack 64 58 ifeq ($(RTEMS_HAS_NETWORKING),yes) … … 66 60 else 67 61 HAS_NETWORKING=no 68 endif69 70 # Define this to yes if this target wants the remote debugger71 ifeq ($(RTEMS_HAS_RDBG),yes)72 HAS_RDBG=yes73 else74 HAS_RDBG=no75 62 endif 76 63 -
c/src/make/main.cfg.in
raa9eb940 r1896a650 43 43 # 44 44 # Target variant names 45 # and rule to expand them into (for example): sun4 sun4-debug sun4-profile46 # Note compiler config may add to TARGET_VARIANTS47 45 # 48 49 46 TARGET_VARIANTS = debug profile 50 47 -
c/src/tests/aclocal.m4
raa9eb940 r1896a650 949 949 ])dnl 950 950 951 dnl $Id$ 952 953 AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, 954 [dnl 955 AC_REQUIRE([RTEMS_TOP])dnl 956 AC_REQUIRE([RTEMS_CHECK_CPU])dnl 957 AC_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 ]) 970 if test "$rtems_cv_HAS_MP" = "yes"; then 971 HAS_MP="yes" 972 else 973 HAS_MP="no" 974 fi 975 AC_SUBST(HAS_MP) 976 ]) 977 951 978 dnl 952 979 dnl $Id$ -
c/src/tests/configure
raa9eb940 r1896a650 956 956 957 957 958 # Extract the first word of "rm", so it can be a program name with args.959 set dummy rm; ac_word=$2960 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6961 echo "configure:962: checking for $ac_word" >&5962 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then963 echo $ac_n "(cached) $ac_c" 1>&6964 else965 case "$RM" in966 /*)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; do976 test -z "$ac_dir" && ac_dir=.977 if test -f $ac_dir/$ac_word; then978 ac_cv_path_RM="$ac_dir/$ac_word"979 break980 fi981 done982 IFS="$ac_save_ifs"983 ;;984 esac985 fi986 RM="$ac_cv_path_RM"987 if test -n "$RM"; then988 echo "$ac_t""$RM" 1>&6989 else990 echo "$ac_t""no" 1>&6991 fi992 993 958 # Find a good install program. We prefer a C program (faster), 994 959 # so one script is as good as another. But avoid the broken or … … 1003 968 # ./install, which can be erroneously created by make from ./install.sh. 1004 969 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1005 echo "configure: 1006: checking for a BSD compatible install" >&5970 echo "configure:971: checking for a BSD compatible install" >&5 1006 971 if test -z "$INSTALL"; then 1007 972 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1061 1026 # Is this a supported CPU? 1062 1027 echo $ac_n "checking if cpu $RTEMS_CPU is supported""... $ac_c" 1>&6 1063 echo "configure:10 64: checking if cpu $RTEMS_CPU is supported" >&51028 echo "configure:1029: checking if cpu $RTEMS_CPU is supported" >&5 1064 1029 if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then 1065 1030 echo "$ac_t""yes" 1>&6 … … 1122 1087 set dummy $ac_prog; ac_word=$2 1123 1088 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1124 echo "configure:1 125: checking for $ac_word" >&51089 echo "configure:1090: checking for $ac_word" >&5 1125 1090 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then 1126 1091 echo $ac_n "(cached) $ac_c" 1>&6 … … 1166 1131 1167 1132 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1168 echo "configure:11 69: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51133 echo "configure:1134: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1169 1134 1170 1135 ac_ext=c … … 1177 1142 cat > conftest.$ac_ext << EOF 1178 1143 1179 #line 11 80"configure"1144 #line 1145 "configure" 1180 1145 #include "confdefs.h" 1181 1146 1182 1147 main(){return(0);} 1183 1148 EOF 1184 if { (eval echo configure:11 85: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1149 if { (eval echo configure:1150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1185 1150 ac_cv_prog_cc_works=yes 1186 1151 # If we can't run a trivial program, we are probably using a cross compiler. … … 1208 1173 fi 1209 1174 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1210 echo "configure:1 211: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51175 echo "configure:1176: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1211 1176 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1212 1177 cross_compiling=$ac_cv_prog_cc_cross 1213 1178 1214 1179 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1215 echo "configure:1 216: checking whether we are using GNU C" >&51180 echo "configure:1181: checking whether we are using GNU C" >&5 1216 1181 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1217 1182 echo $ac_n "(cached) $ac_c" 1>&6 … … 1222 1187 #endif 1223 1188 EOF 1224 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1189 if { 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 1225 1190 ac_cv_prog_gcc=yes 1226 1191 else … … 1237 1202 CFLAGS= 1238 1203 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1239 echo "configure:12 40: checking whether ${CC-cc} accepts -g" >&51204 echo "configure:1205: checking whether ${CC-cc} accepts -g" >&5 1240 1205 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1241 1206 echo $ac_n "(cached) $ac_c" 1>&6 … … 1279 1244 1280 1245 echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 1281 echo "configure:12 82: checking whether $CC_FOR_TARGET accepts -specs" >&51246 echo "configure:1247: checking whether $CC_FOR_TARGET accepts -specs" >&5 1282 1247 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then 1283 1248 echo $ac_n "(cached) $ac_c" 1>&6 … … 1300 1265 1301 1266 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 1302 echo "configure:1 303: checking whether $CC_FOR_TARGET accepts --pipe" >&51267 echo "configure:1268: checking whether $CC_FOR_TARGET accepts --pipe" >&5 1303 1268 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then 1304 1269 echo $ac_n "(cached) $ac_c" 1>&6 … … 1348 1313 set dummy $ac_prog; ac_word=$2 1349 1314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1350 echo "configure:13 51: checking for $ac_word" >&51315 echo "configure:1316: checking for $ac_word" >&5 1351 1316 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then 1352 1317 echo $ac_n "(cached) $ac_c" 1>&6 … … 1392 1357 1393 1358 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1394 echo "configure:13 95: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51359 echo "configure:1360: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1395 1360 1396 1361 ac_ext=C … … 1403 1368 cat > conftest.$ac_ext << EOF 1404 1369 1405 #line 1 406"configure"1370 #line 1371 "configure" 1406 1371 #include "confdefs.h" 1407 1372 1408 1373 int main(){return(0);} 1409 1374 EOF 1410 if { (eval echo configure:1 411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1375 if { (eval echo configure:1376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1411 1376 ac_cv_prog_cxx_works=yes 1412 1377 # If we can't run a trivial program, we are probably using a cross compiler. … … 1434 1399 fi 1435 1400 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1436 echo "configure:14 37: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51401 echo "configure:1402: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1437 1402 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1438 1403 cross_compiling=$ac_cv_prog_cxx_cross 1439 1404 1440 1405 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1441 echo "configure:14 42: checking whether we are using GNU C++" >&51406 echo "configure:1407: checking whether we are using GNU C++" >&5 1442 1407 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1443 1408 echo $ac_n "(cached) $ac_c" 1>&6 … … 1448 1413 #endif 1449 1414 EOF 1450 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:14 51: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1415 if { 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 1451 1416 ac_cv_prog_gxx=yes 1452 1417 else … … 1463 1428 CXXFLAGS= 1464 1429 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1465 echo "configure:14 66: checking whether ${CXX-g++} accepts -g" >&51430 echo "configure:1431: checking whether ${CXX-g++} accepts -g" >&5 1466 1431 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1467 1432 echo $ac_n "(cached) $ac_c" 1>&6 … … 1516 1481 1517 1482 echo $ac_n "checking target's ar""... $ac_c" 1>&6 1518 echo "configure:1 519: checking target's ar" >&51483 echo "configure:1484: checking target's ar" >&5 1519 1484 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 1520 1485 echo $ac_n "(cached) $ac_c" 1>&6 … … 1549 1514 # intends 1550 1515 echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1551 echo "configure:15 52: checking whether environment variable AR_FOR_TARGET is an absolute path" >&51516 echo "configure:1517: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 1552 1517 case "$AR_FOR_TARGET" in 1553 1518 /*) # valid … … 1566 1531 set dummy "$program_prefix"ar; ac_word=$2 1567 1532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1568 echo "configure:15 69: checking for $ac_word" >&51533 echo "configure:1534: checking for $ac_word" >&5 1569 1534 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 1570 1535 echo $ac_n "(cached) $ac_c" 1>&6 … … 1603 1568 1604 1569 echo $ac_n "checking target's as""... $ac_c" 1>&6 1605 echo "configure:1 606: checking target's as" >&51570 echo "configure:1571: checking target's as" >&5 1606 1571 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 1607 1572 echo $ac_n "(cached) $ac_c" 1>&6 … … 1636 1601 # intends 1637 1602 echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1638 echo "configure:16 39: checking whether environment variable AS_FOR_TARGET is an absolute path" >&51603 echo "configure:1604: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 1639 1604 case "$AS_FOR_TARGET" in 1640 1605 /*) # valid … … 1653 1618 set dummy "$program_prefix"as; ac_word=$2 1654 1619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1655 echo "configure:16 56: checking for $ac_word" >&51620 echo "configure:1621: checking for $ac_word" >&5 1656 1621 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 1657 1622 echo $ac_n "(cached) $ac_c" 1>&6 … … 1690 1655 1691 1656 echo $ac_n "checking target's ld""... $ac_c" 1>&6 1692 echo "configure:16 93: checking target's ld" >&51657 echo "configure:1658: checking target's ld" >&5 1693 1658 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 1694 1659 echo $ac_n "(cached) $ac_c" 1>&6 … … 1723 1688 # intends 1724 1689 echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1725 echo "configure:1 726: checking whether environment variable LD_FOR_TARGET is an absolute path" >&51690 echo "configure:1691: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 1726 1691 case "$LD_FOR_TARGET" in 1727 1692 /*) # valid … … 1740 1705 set dummy "$program_prefix"ld; ac_word=$2 1741 1706 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1742 echo "configure:17 43: checking for $ac_word" >&51707 echo "configure:1708: checking for $ac_word" >&5 1743 1708 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 1744 1709 echo $ac_n "(cached) $ac_c" 1>&6 … … 1777 1742 1778 1743 echo $ac_n "checking target's nm""... $ac_c" 1>&6 1779 echo "configure:17 80: checking target's nm" >&51744 echo "configure:1745: checking target's nm" >&5 1780 1745 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 1781 1746 echo $ac_n "(cached) $ac_c" 1>&6 … … 1810 1775 # intends 1811 1776 echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1812 echo "configure:1 813: checking whether environment variable NM_FOR_TARGET is an absolute path" >&51777 echo "configure:1778: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 1813 1778 case "$NM_FOR_TARGET" in 1814 1779 /*) # valid … … 1827 1792 set dummy "$program_prefix"nm; ac_word=$2 1828 1793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1829 echo "configure:1 830: checking for $ac_word" >&51794 echo "configure:1795: checking for $ac_word" >&5 1830 1795 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 1831 1796 echo $ac_n "(cached) $ac_c" 1>&6 … … 1865 1830 1866 1831 echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 1867 echo "configure:18 68: checking target's ranlib" >&51832 echo "configure:1833: checking target's ranlib" >&5 1868 1833 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 1869 1834 echo $ac_n "(cached) $ac_c" 1>&6 … … 1898 1863 # intends 1899 1864 echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 1900 echo "configure:1 901: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&51865 echo "configure:1866: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 1901 1866 case "$RANLIB_FOR_TARGET" in 1902 1867 /*) # valid … … 1915 1880 set dummy "$program_prefix"ranlib; ac_word=$2 1916 1881 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1917 echo "configure:1 918: checking for $ac_word" >&51882 echo "configure:1883: checking for $ac_word" >&5 1918 1883 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 1919 1884 echo $ac_n "(cached) $ac_c" 1>&6 … … 1954 1919 1955 1920 echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 1956 echo "configure:19 57: checking whether $AR_FOR_TARGET -s works" >&51921 echo "configure:1922: checking whether $AR_FOR_TARGET -s works" >&5 1957 1922 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then 1958 1923 echo $ac_n "(cached) $ac_c" 1>&6 … … 1963 1928 { return b; } 1964 1929 EOF 1965 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:19 66: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \1966 && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:19 67: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \1930 if { 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; }; } \ 1967 1932 && test -s conftest.a ; \ 1968 1933 then … … 1989 1954 1990 1955 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 1991 echo "configure:19 92: checking target's objcopy" >&51956 echo "configure:1957: checking target's objcopy" >&5 1992 1957 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 1993 1958 echo $ac_n "(cached) $ac_c" 1>&6 … … 2022 1987 # intends 2023 1988 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" >&51989 echo "configure:1990: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 2025 1990 case "$OBJCOPY_FOR_TARGET" in 2026 1991 /*) # valid … … 2039 2004 set dummy "$program_prefix"objcopy; ac_word=$2 2040 2005 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2041 echo "configure:20 42: checking for $ac_word" >&52006 echo "configure:2007: checking for $ac_word" >&5 2042 2007 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2043 2008 echo $ac_n "(cached) $ac_c" 1>&6 … … 2076 2041 2077 2042 echo $ac_n "checking target's size""... $ac_c" 1>&6 2078 echo "configure:20 79: checking target's size" >&52043 echo "configure:2044: checking target's size" >&5 2079 2044 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2080 2045 echo $ac_n "(cached) $ac_c" 1>&6 … … 2109 2074 # intends 2110 2075 echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2111 echo "configure:2 112: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&52076 echo "configure:2077: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 2112 2077 case "$SIZE_FOR_TARGET" in 2113 2078 /*) # valid … … 2126 2091 set dummy "$program_prefix"size; ac_word=$2 2127 2092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2128 echo "configure:2 129: checking for $ac_word" >&52093 echo "configure:2094: checking for $ac_word" >&5 2129 2094 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2130 2095 echo $ac_n "(cached) $ac_c" 1>&6 … … 2163 2128 2164 2129 echo $ac_n "checking target's strip""... $ac_c" 1>&6 2165 echo "configure:21 66: checking target's strip" >&52130 echo "configure:2131: checking target's strip" >&5 2166 2131 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2167 2132 echo $ac_n "(cached) $ac_c" 1>&6 … … 2196 2161 # intends 2197 2162 echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2198 echo "configure:21 99: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&52163 echo "configure:2164: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 2199 2164 case "$STRIP_FOR_TARGET" in 2200 2165 /*) # valid … … 2213 2178 set dummy "$program_prefix"strip; ac_word=$2 2214 2179 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2215 echo "configure:2 216: checking for $ac_word" >&52180 echo "configure:2181: checking for $ac_word" >&5 2216 2181 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2217 2182 echo $ac_n "(cached) $ac_c" 1>&6 … … 2252 2217 if test "${target_cpu}" = "i386"; then 2253 2218 echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6 2254 echo "configure:22 55: checking for 16 bit mode assembler support" >&52219 echo "configure:2220: checking for 16 bit mode assembler support" >&5 2255 2220 if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then 2256 2221 echo $ac_n "(cached) $ac_c" 1>&6 … … 2262 2227 lgdt 0 2263 2228 EOF 2264 if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:22 65: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then2229 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 2265 2230 rtems_cv_prog_gas_code16=yes 2266 2231 else … … 2278 2243 set dummy gcc; ac_word=$2 2279 2244 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2280 echo "configure:22 81: checking for $ac_word" >&52245 echo "configure:2246: checking for $ac_word" >&5 2281 2246 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2282 2247 echo $ac_n "(cached) $ac_c" 1>&6 … … 2308 2273 set dummy cc; ac_word=$2 2309 2274 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2310 echo "configure:2 311: checking for $ac_word" >&52275 echo "configure:2276: checking for $ac_word" >&5 2311 2276 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2312 2277 echo $ac_n "(cached) $ac_c" 1>&6 … … 2359 2324 set dummy cl; ac_word=$2 2360 2325 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2361 echo "configure:23 62: checking for $ac_word" >&52326 echo "configure:2327: checking for $ac_word" >&5 2362 2327 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2363 2328 echo $ac_n "(cached) $ac_c" 1>&6 … … 2391 2356 2392 2357 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2393 echo "configure:23 94: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52358 echo "configure:2359: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2394 2359 2395 2360 ac_ext=c … … 2402 2367 cat > conftest.$ac_ext << EOF 2403 2368 2404 #line 2 405"configure"2369 #line 2370 "configure" 2405 2370 #include "confdefs.h" 2406 2371 2407 2372 main(){return(0);} 2408 2373 EOF 2409 if { (eval echo configure:2 410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2374 if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2410 2375 ac_cv_prog_cc_works=yes 2411 2376 # If we can't run a trivial program, we are probably using a cross compiler. … … 2433 2398 fi 2434 2399 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2435 echo "configure:24 36: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52400 echo "configure:2401: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2436 2401 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2437 2402 cross_compiling=$ac_cv_prog_cc_cross 2438 2403 2439 2404 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2440 echo "configure:24 41: checking whether we are using GNU C" >&52405 echo "configure:2406: checking whether we are using GNU C" >&5 2441 2406 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2442 2407 echo $ac_n "(cached) $ac_c" 1>&6 … … 2447 2412 #endif 2448 2413 EOF 2449 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:24 50: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2414 if { 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 2450 2415 ac_cv_prog_gcc=yes 2451 2416 else … … 2466 2431 CFLAGS= 2467 2432 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2468 echo "configure:24 69: checking whether ${CC-cc} accepts -g" >&52433 echo "configure:2434: checking whether ${CC-cc} accepts -g" >&5 2469 2434 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2470 2435 echo $ac_n "(cached) $ac_c" 1>&6 … … 2502 2467 2503 2468 echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 2504 echo "configure:2 505: checking whether $RTEMS_HOST supports System V semaphores" >&52469 echo "configure:2470: checking whether $RTEMS_HOST supports System V semaphores" >&5 2505 2470 if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then 2506 2471 echo $ac_n "(cached) $ac_c" 1>&6 … … 2511 2476 else 2512 2477 cat > conftest.$ac_ext <<EOF 2513 #line 2 514"configure"2478 #line 2479 "configure" 2514 2479 #include "confdefs.h" 2515 2480 … … 2537 2502 2538 2503 EOF 2539 if { (eval echo configure:25 40: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2504 if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2540 2505 then 2541 2506 rtems_cv_sysv_sem="yes" … … 2560 2525 2561 2526 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 2562 echo "configure:25 63: checking whether $RTEMS_HOST supports System V shared memory" >&52527 echo "configure:2528: checking whether $RTEMS_HOST supports System V shared memory" >&5 2563 2528 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then 2564 2529 echo $ac_n "(cached) $ac_c" 1>&6 … … 2569 2534 else 2570 2535 cat > conftest.$ac_ext <<EOF 2571 #line 25 72"configure"2536 #line 2537 "configure" 2572 2537 #include "confdefs.h" 2573 2538 … … 2585 2550 2586 2551 EOF 2587 if { (eval echo configure:25 88: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2552 if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2588 2553 then 2589 2554 rtems_cv_sysv_shm="yes" … … 2608 2573 2609 2574 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 2610 echo "configure:2 611: checking whether $RTEMS_HOST supports System V messages" >&52575 echo "configure:2576: checking whether $RTEMS_HOST supports System V messages" >&5 2611 2576 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then 2612 2577 echo $ac_n "(cached) $ac_c" 1>&6 … … 2617 2582 else 2618 2583 cat > conftest.$ac_ext <<EOF 2619 #line 2 620"configure"2584 #line 2585 "configure" 2620 2585 #include "confdefs.h" 2621 2586 … … 2633 2598 2634 2599 EOF 2635 if { (eval echo configure:26 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2600 if { (eval echo configure:2601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2636 2601 then 2637 2602 rtems_cv_sysv_msg="yes" … … 2657 2622 2658 2623 echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6 2659 echo "configure:26 60: checking for make/custom/$RTEMS_BSP.cfg" >&52624 echo "configure:2625: checking for make/custom/$RTEMS_BSP.cfg" >&5 2660 2625 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then 2661 2626 echo "$ac_t""yes" 1>&6 … … 2664 2629 fi 2665 2630 2631 echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6 2632 echo "configure:2633: checking whether BSP supports multiprocessing" >&5 2633 if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then 2634 echo $ac_n "(cached) $ac_c" 1>&6 2635 else 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 2646 fi 2647 2648 echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 2649 if test "$rtems_cv_HAS_MP" = "yes"; then 2650 HAS_MP="yes" 2651 else 2652 HAS_MP="no" 2653 fi 2654 2655 2666 2656 2667 2657 # always build the test tools 2668 2658 testtools_cfgdirs="tools/generic" 2659 2660 if 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" 2665 fi 2666 2669 2667 if test "$tests_enabled" = "yes"; then 2670 2668 2671 2669 echo $ac_n "checking for Makefile.in in libtests""... $ac_c" 1>&6 2672 echo "configure:267 3: checking for Makefile.in in libtests" >&52670 echo "configure:2671: checking for Makefile.in in libtests" >&5 2673 2671 if test -d $srcdir/libtests; then 2674 2672 rtems_av_save_dir=`pwd`; … … 2683 2681 2684 2682 2685 2683 2686 2684 echo $ac_n "checking for Makefile.in in sptests""... $ac_c" 1>&6 2687 echo "configure:268 8: checking for Makefile.in in sptests" >&52685 echo "configure:2686: checking for Makefile.in in sptests" >&5 2688 2686 if test -d $srcdir/sptests; then 2689 2687 rtems_av_save_dir=`pwd`; … … 2698 2696 2699 2697 2700 2698 2701 2699 echo $ac_n "checking for Makefile.in in tmtests""... $ac_c" 1>&6 2702 echo "configure:270 3: checking for Makefile.in in tmtests" >&52700 echo "configure:2701: checking for Makefile.in in tmtests" >&5 2703 2701 if test -d $srcdir/tmtests; then 2704 2702 rtems_av_save_dir=`pwd`; … … 2713 2711 2714 2712 2715 if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then2716 2713 if test "$HAS_MP" = "yes"; then 2714 2717 2715 echo $ac_n "checking for Makefile.in in mptests""... $ac_c" 1>&6 2718 echo "configure:271 9: checking for Makefile.in in mptests" >&52716 echo "configure:2717: checking for Makefile.in in mptests" >&5 2719 2717 if test -d $srcdir/mptests; then 2720 2718 rtems_av_save_dir=`pwd`; … … 2729 2727 2730 2728 2731 2732 2733 2729 fi 2730 if test "$RTEMS_HAS_POSIX_API" = "yes"; then 2731 2734 2732 echo $ac_n "checking for Makefile.in in psxtests""... $ac_c" 1>&6 2735 echo "configure:273 6: checking for Makefile.in in psxtests" >&52733 echo "configure:2734: checking for Makefile.in in psxtests" >&5 2736 2734 if test -d $srcdir/psxtests; then 2737 2735 rtems_av_save_dir=`pwd`; … … 2746 2744 2747 2745 2748 2746 fi 2749 2747 if test -d "$srcdir/tools/$RTEMS_CPU"; then 2750 2748 testtools_cfgdirs="$testtools_cfgdirs tools/$RTEMS_CPU" … … 2887 2885 tools/Makefile 2888 2886 samples/Makefile 2889 samples/base_mp/Makefile2890 samples/base_mp/node1/Makefile2891 samples/base_mp/node2/Makefile2892 2887 samples/base_sp/Makefile 2893 2888 samples/cdtest/Makefile … … 2957 2952 s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g 2958 2953 s%@RTEMS_BSP@%$RTEMS_BSP%g 2959 s%@RM@%$RM%g2960 2954 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 2961 2955 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 2979 2973 s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g 2980 2974 s%@CC@%$CC%g 2975 s%@HAS_MP@%$HAS_MP%g 2981 2976 s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g 2982 2977 s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g … … 3038 3033 tools/Makefile 3039 3034 samples/Makefile 3040 samples/base_mp/Makefile3041 samples/base_mp/node1/Makefile3042 samples/base_mp/node2/Makefile3043 3035 samples/base_sp/Makefile 3044 3036 samples/cdtest/Makefile -
c/src/tests/configure.in
raa9eb940 r1896a650 29 29 dnl BEGIN configure.host.in 30 30 31 AC_PATH_PROG(RM,rm)32 31 AC_PROG_INSTALL 33 32 … … 55 54 56 55 RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) 56 RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) 57 57 58 58 # always build the test tools 59 59 testtools_cfgdirs="tools/generic" 60 61 if 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" 66 fi 67 60 68 if test "$tests_enabled" = "yes"; then 61 62 63 64 if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then65 66 67 68 69 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 70 78 if test -d "$srcdir/tools/$RTEMS_CPU"; then 71 79 testtools_cfgdirs="$testtools_cfgdirs tools/$RTEMS_CPU" … … 95 103 tools/Makefile 96 104 samples/Makefile 97 samples/base_mp/Makefile98 samples/base_mp/node1/Makefile99 samples/base_mp/node2/Makefile100 105 samples/base_sp/Makefile 101 106 samples/cdtest/Makefile -
make/custom/default.cfg
raa9eb940 r1896a650 19 19 20 20 include $(RTEMS_ROOT)/make/main.cfg 21 include $(RTEMS_ROOT)/$(RTEMS_BSP)/make/bsp.cfg 21 22 22 23 # use the inline functions instead of the macros … … 54 55 endif 55 56 56 # Define this to yes if this target supports multiprocessor environments.57 ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes)58 HAS_MP=yes59 else60 HAS_MP=no61 endif62 63 57 # Define this to yes if this target wants the TCP/IP stack 64 58 ifeq ($(RTEMS_HAS_NETWORKING),yes) … … 66 60 else 67 61 HAS_NETWORKING=no 68 endif69 70 # Define this to yes if this target wants the remote debugger71 ifeq ($(RTEMS_HAS_RDBG),yes)72 HAS_RDBG=yes73 else74 HAS_RDBG=no75 62 endif 76 63 -
make/custom/force386.cfg
raa9eb940 r1896a650 26 26 # to enable it. 27 27 HAS_NETWORKING=no 28 29 # This BSP does not support librdbg30 HAS_RDBG=no31 28 32 29 # This section makes the target dependent options file. -
make/custom/i386ex.cfg
raa9eb940 r1896a650 22 22 # -fomit-frame-pointer breaks debugging and C++ exceptions 23 23 CFLAGS_OPTIMIZE_V=-O4 24 25 # This BSP does not support librdbg26 HAS_RDBG=no27 24 28 25 # This section makes the target dependent options file. -
make/custom/pc386.cfg
raa9eb940 r1896a650 22 22 # -fomit-frame-pointer breaks debugging and C++ exceptions 23 23 CFLAGS_OPTIMIZE_V=-O4 24 25 # Define this to yes if this target supports multiprocessor environments.26 HAS_MP=no27 24 28 25 # This section makes the target dependent options file. -
make/custom/portsw.cfg
raa9eb940 r1896a650 46 46 HAS_CPLUSPLUS=no 47 47 48 # Define this to yes if this target supports multiprocessor environments.49 HAS_MP=no50 51 48 # This target does NOT support the TCP/IP stack so ignore requests 52 49 # to enable it. -
make/custom/ppcn_60x.cfg
raa9eb940 r1896a650 75 75 CPU_CFLAGS = -mcpu=603 76 76 77 # Define this to yes if this target supports multiprocessor environments.78 HAS_MP=no79 80 77 # optimize flag: typically -0, could use -O4 or -fast 81 78 # -O4 is ok for RTEMS -
make/custom/psim.cfg
raa9eb940 r1896a650 80 80 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions 81 81 82 # Define this to yes if this target supports multiprocessor environments.83 HAS_MP=no84 85 82 # This target does not support the TCP/IP stack so ignore requests 86 83 # to enable it. -
make/custom/ts_386ex.cfg
raa9eb940 r1896a650 23 23 # -fomit-frame-pointer breaks debugging and C++ exceptions 24 24 CFLAGS_OPTIMIZE_V=-O4 25 26 # This BSP does not support librdbg27 HAS_RDBG=no28 25 29 26 # This section makes the target dependent options file. -
make/main.cfg
raa9eb940 r1896a650 43 43 # 44 44 # Target variant names 45 # and rule to expand them into (for example): sun4 sun4-debug sun4-profile46 # Note compiler config may add to TARGET_VARIANTS47 45 # 48 49 46 TARGET_VARIANTS = debug profile 50 47 -
tools/build/configure
raa9eb940 r1896a650 1379 1379 install-if-change 1380 1380 lock-directory 1381 rcs-clean1382 1381 unlock-directory 1383 1382 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 1480 1479 install-if-change 1481 1480 lock-directory 1482 rcs-clean1483 1481 unlock-directory 1484 1482 "} -
tools/update/acpolish
raa9eb940 r1896a650 405 405 # print STDERR "MACRO: <$1> += <$2>\n"; 406 406 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" ; 411 418 } 412 419 elsif ( /^[\s]*(\@[^\s]+\@)$/o )
Note: See TracChangeset
for help on using the changeset viewer.