Changeset 550ca7d5 in rtems


Ignore:
Timestamp:
May 22, 1998, 12:25:52 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
232429f6
Parents:
9d09d138
Message:

hppa1.1 -> hppa1_1 remapping crept back in somehow -- gona again.

Bare BSP is now only enabled when explicitly specified.

Bare BSP options and variables are clearly named so as to be obviously
BSP specific. This should avoid conflicts.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r9d09d138 r550ca7d5  
    3636  --enable-libcdir=directory        set the directory for the C library"
    3737ac_help="$ac_help
    38   --enable-cpu-cflags                  specify a particular cpu cflag"
     38  --enable-bare-cpu-cflags          \
     39         specify a particular cpu cflag (bare bsp specific)"
    3940ac_help="$ac_help
    40   --enable-cpu-model                   specify a particular cpu model"
     41  --enable-bare-cpu-model              \
     42         specify a particular cpu model (bare bsp specific)"
    4143ac_help="$ac_help
    4244\
     
    557559
    558560echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    559 echo "configure:560: checking whether ${MAKE-make} sets \${MAKE}" >&5
     561echo "configure:562: checking whether ${MAKE-make} sets \${MAKE}" >&5
    560562set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    561563if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    630632
    631633echo $ac_n "checking host system type""... $ac_c" 1>&6
    632 echo "configure:633: checking host system type" >&5
     634echo "configure:635: checking host system type" >&5
    633635
    634636host_alias=$host
     
    651653
    652654echo $ac_n "checking target system type""... $ac_c" 1>&6
    653 echo "configure:654: checking target system type" >&5
     655echo "configure:656: checking target system type" >&5
    654656
    655657target_alias=$target
     
    669671
    670672echo $ac_n "checking build system type""... $ac_c" 1>&6
    671 echo "configure:672: checking build system type" >&5
     673echo "configure:674: checking build system type" >&5
    672674
    673675build_alias=$build
     
    792794
    793795
    794 # Check whether --enable-cpu-cflags or --disable-cpu-cflags was given.
    795 if test "${enable_cpu_cflags+set}" = set; then
    796   enableval="$enable_cpu_cflags"
     796# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
     797if test "${enable_bare_cpu_cflags+set}" = set; then
     798  enableval="$enable_bare_cpu_cflags"
    797799  case "${enableval}" in
    798   no) CPU_CFLAGS="" ;;
    799   *)    CPU_CFLAGS="${enableval}" ;;
    800 esac
    801 else
    802   CPU_CFLAGS=""
    803 fi
    804 
    805 
    806 # Check whether --enable-cpu-model or --disable-cpu-model was given.
    807 if test "${enable_cpu_model+set}" = set; then
    808   enableval="$enable_cpu_model"
     800  no) BARE_CPU_CFLAGS="" ;;
     801  *)    BARE_CPU_CFLAGS="${enableval}" ;;
     802esac
     803else
     804  BARE_CPU_CFLAGS=""
     805fi
     806
     807
     808# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
     809if test "${enable_bare_cpu_model+set}" = set; then
     810  enableval="$enable_bare_cpu_model"
    809811  case "${enableval}" in
    810   no) RTEMS_CPU_MODEL="" ;;
    811   *)    RTEMS_CPU_MODEL="${enableval}" ;;
    812 esac
    813 else
    814   CPU_CFLAGS=""
     812  no)   BARE_CPU_MODEL="" ;;
     813  *)    BARE_CPU_MODEL="${enableval}" ;;
     814esac
     815else
     816  BARE_CPU_MODEL=""
    815817fi
    816818
     
    822824set dummy cat; ac_word=$2
    823825echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    824 echo "configure:825: checking for $ac_word" >&5
     826echo "configure:827: checking for $ac_word" >&5
    825827if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
    826828  echo $ac_n "(cached) $ac_c" 1>&6
     
    853855set dummy rm; ac_word=$2
    854856echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    855 echo "configure:856: checking for $ac_word" >&5
     857echo "configure:858: checking for $ac_word" >&5
    856858if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    857859  echo $ac_n "(cached) $ac_c" 1>&6
     
    884886set dummy cp; ac_word=$2
    885887echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    886 echo "configure:887: checking for $ac_word" >&5
     888echo "configure:889: checking for $ac_word" >&5
    887889if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
    888890  echo $ac_n "(cached) $ac_c" 1>&6
     
    915917set dummy mv; ac_word=$2
    916918echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    917 echo "configure:918: checking for $ac_word" >&5
     919echo "configure:920: checking for $ac_word" >&5
    918920if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
    919921  echo $ac_n "(cached) $ac_c" 1>&6
     
    946948set dummy ln; ac_word=$2
    947949echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    948 echo "configure:949: checking for $ac_word" >&5
     950echo "configure:951: checking for $ac_word" >&5
    949951if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
    950952  echo $ac_n "(cached) $ac_c" 1>&6
     
    975977
    976978echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    977 echo "configure:978: checking whether ln -s works" >&5
     979echo "configure:980: checking whether ln -s works" >&5
    978980if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    979981  echo $ac_n "(cached) $ac_c" 1>&6
     
    9981000set dummy chmod; ac_word=$2
    9991001echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1000 echo "configure:1001: checking for $ac_word" >&5
     1002echo "configure:1003: checking for $ac_word" >&5
    10011003if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
    10021004  echo $ac_n "(cached) $ac_c" 1>&6
     
    10291031set dummy sort; ac_word=$2
    10301032echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1031 echo "configure:1032: checking for $ac_word" >&5
     1033echo "configure:1034: checking for $ac_word" >&5
    10321034if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
    10331035  echo $ac_n "(cached) $ac_c" 1>&6
     
    10611063set dummy mkdir; ac_word=$2
    10621064echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1063 echo "configure:1064: checking for $ac_word" >&5
     1065echo "configure:1066: checking for $ac_word" >&5
    10641066if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    10651067  echo $ac_n "(cached) $ac_c" 1>&6
     
    10931095
    10941096echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1095 echo "configure:1096: checking for working $MKDIR -m 0755" >&5
     1097echo "configure:1098: checking for working $MKDIR -m 0755" >&5
    10961098if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    10971099  echo $ac_n "(cached) $ac_c" 1>&6
     
    11101112
    11111113echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1112 echo "configure:1113: checking for working $MKDIR -p" >&5
     1114echo "configure:1115: checking for working $MKDIR -p" >&5
    11131115if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    11141116  echo $ac_n "(cached) $ac_c" 1>&6
     
    11301132set dummy touch; ac_word=$2
    11311133echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1132 echo "configure:1133: checking for $ac_word" >&5
     1134echo "configure:1135: checking for $ac_word" >&5
    11331135if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    11341136  echo $ac_n "(cached) $ac_c" 1>&6
     
    11611163set dummy cmp; ac_word=$2
    11621164echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1163 echo "configure:1164: checking for $ac_word" >&5
     1165echo "configure:1166: checking for $ac_word" >&5
    11641166if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    11651167  echo $ac_n "(cached) $ac_c" 1>&6
     
    11931195set dummy sed; ac_word=$2
    11941196echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1195 echo "configure:1196: checking for $ac_word" >&5
     1197echo "configure:1198: checking for $ac_word" >&5
    11961198if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    11971199  echo $ac_n "(cached) $ac_c" 1>&6
     
    12261228set dummy $ac_prog; ac_word=$2
    12271229echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1228 echo "configure:1229: checking for $ac_word" >&5
     1230echo "configure:1231: checking for $ac_word" >&5
    12291231if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    12301232  echo $ac_n "(cached) $ac_c" 1>&6
     
    12631265set dummy $ac_prog; ac_word=$2
    12641266echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1265 echo "configure:1266: checking for $ac_word" >&5
     1267echo "configure:1268: checking for $ac_word" >&5
    12661268if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    12671269  echo $ac_n "(cached) $ac_c" 1>&6
     
    13081310case "${target}" in
    13091311  # hpux unix port should go here
    1310   hppa1.1-*-rtems*)
    1311         target_cpu=hppa1_1
    1312         ;;
    13131312  i[3456]86-go32-rtems*)
    13141313        target_cpu=i386
     
    13381337  *)
    13391338        echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1340 echo "configure:1341: checking rtems target cpu" >&5
     1339echo "configure:1340: checking rtems target cpu" >&5
    13411340target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    13421341echo "$ac_t""$target_cpu" 1>&6
     
    13571356# Is this a supported CPU?
    13581357echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1359 echo "configure:1360: checking if cpu $target_cpu is supported" >&5
     1358echo "configure:1359: checking if cpu $target_cpu is supported" >&5
    13601359if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    13611360  echo "$ac_t""yes" 1>&6
     
    13821381set dummy $ac_prog; ac_word=$2
    13831382echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1384 echo "configure:1385: checking for $ac_word" >&5
     1383echo "configure:1384: checking for $ac_word" >&5
    13851384if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    13861385  echo $ac_n "(cached) $ac_c" 1>&6
     
    14221421
    14231422echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1424 echo "configure:1425: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1423echo "configure:1424: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    14251424
    14261425ac_ext=c
     
    14321431
    14331432cat > conftest.$ac_ext <<EOF
    1434 #line 1435 "configure"
     1433#line 1434 "configure"
    14351434#include "confdefs.h"
    14361435main(){return(0);}
    14371436EOF
    1438 if { (eval echo configure:1439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1437if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    14391438  ac_cv_prog_cc_works=yes
    14401439  # If we can't run a trivial program, we are probably using a cross compiler.
     
    14561455fi
    14571456echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1458 echo "configure:1459: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1457echo "configure:1458: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    14591458echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    14601459cross_compiling=$ac_cv_prog_cc_cross
    14611460
    14621461echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1463 echo "configure:1464: checking whether we are using GNU C" >&5
     1462echo "configure:1463: checking whether we are using GNU C" >&5
    14641463if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    14651464  echo $ac_n "(cached) $ac_c" 1>&6
     
    14701469#endif
    14711470EOF
    1472 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1471if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    14731472  ac_cv_prog_gcc=yes
    14741473else
     
    14851484  CFLAGS=
    14861485  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1487 echo "configure:1488: checking whether ${CC-cc} accepts -g" >&5
     1486echo "configure:1487: checking whether ${CC-cc} accepts -g" >&5
    14881487if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    14891488  echo $ac_n "(cached) $ac_c" 1>&6
     
    15271526
    15281527echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1529 echo "configure:1530: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1528echo "configure:1529: checking whether $CC_FOR_TARGET accepts -specs" >&5
    15301529if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    15311530  echo $ac_n "(cached) $ac_c" 1>&6
     
    15461545
    15471546echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1548 echo "configure:1549: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1547echo "configure:1548: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    15491548if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    15501549  echo $ac_n "(cached) $ac_c" 1>&6
     
    15871586set dummy $ac_prog; ac_word=$2
    15881587echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1589 echo "configure:1590: checking for $ac_word" >&5
     1588echo "configure:1589: checking for $ac_word" >&5
    15901589if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    15911590  echo $ac_n "(cached) $ac_c" 1>&6
     
    16271626
    16281627echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1629 echo "configure:1630: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1628echo "configure:1629: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    16301629
    16311630ac_ext=C
     
    16371636
    16381637cat > conftest.$ac_ext <<EOF
    1639 #line 1640 "configure"
     1638#line 1639 "configure"
    16401639#include "confdefs.h"
    16411640main(){return(0);}
    16421641EOF
    1643 if { (eval echo configure:1644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1642if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16441643  ac_cv_prog_cxx_works=yes
    16451644  # If we can't run a trivial program, we are probably using a cross compiler.
     
    16671666fi
    16681667echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1669 echo "configure:1670: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1668echo "configure:1669: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    16701669echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    16711670cross_compiling=$ac_cv_prog_cxx_cross
    16721671
    16731672echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1674 echo "configure:1675: checking whether we are using GNU C++" >&5
     1673echo "configure:1674: checking whether we are using GNU C++" >&5
    16751674if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    16761675  echo $ac_n "(cached) $ac_c" 1>&6
     
    16811680#endif
    16821681EOF
    1683 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1682if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    16841683  ac_cv_prog_gxx=yes
    16851684else
     
    16961695  CXXFLAGS=
    16971696  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1698 echo "configure:1699: checking whether ${CXX-g++} accepts -g" >&5
     1697echo "configure:1698: checking whether ${CXX-g++} accepts -g" >&5
    16991698if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    17001699  echo $ac_n "(cached) $ac_c" 1>&6
     
    17531752  NM_FOR_TARGET=`$CC_FOR_TARGET --print-prog-name=nm`
    17541753  RANLIB_FOR_TARGET=`$CC_FOR_TARGET --print-prog-name=ranlib`
     1754  SIZE_FOR_TARGET=`$CC_FOR_TARGET --print-prog-name=size`
    17551755fi
    17561756
     
    23012301    done
    23022302
    2303     rtems_bsp="$rtems_bsp bare"
    23042303    makefiles="$makefiles c/src/lib/libbsp/bare/Makefile"
    23052304
     
    23362335           
    23372336echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspdir""... $ac_c" 1>&6
    2338 echo "configure:2339: checking for Makefile.in in c/src/lib/libbsp/$bspdir" >&5
     2337echo "configure:2338: checking for Makefile.in in c/src/lib/libbsp/$bspdir" >&5
    23392338if test -d $srcdir/c/src/lib/libbsp/$bspdir; then
    23402339  rtems_av_save_dir=`pwd`;
     
    23632362           
    23642363echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir""... $ac_c" 1>&6
    2365 echo "configure:2366: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir" >&5
     2364echo "configure:2365: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir" >&5
    23662365if test -d $srcdir/c/src/lib/libbsp/$target_cpu/$bspdir; then
    23672366  rtems_av_save_dir=`pwd`;
     
    23892388
    23902389echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    2391 echo "configure:2392: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     2390echo "configure:2391: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    23922391if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    23932392  rtems_av_save_dir=`pwd`;
     
    24062405 
    24072406echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    2408 echo "configure:2409: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     2407echo "configure:2408: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    24092408if test -d $srcdir/c/src/lib/start/$target_cpu; then
    24102409  rtems_av_save_dir=`pwd`;
     
    24482447# If the tests are enabled, then find all the test suite Makefiles
    24492448echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    2450 echo "configure:2451: checking if the test suites are enabled? " >&5
     2449echo "configure:2450: checking if the test suites are enabled? " >&5
    24512450tests_enabled=yes
    24522451# Check whether --enable-tests or --disable-tests was given.
     
    24672466
    24682467echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    2469 echo "configure:2470: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     2468echo "configure:2469: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    24702469if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    24712470  rtems_av_save_dir=`pwd`;
     
    24842483   
    24852484echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    2486 echo "configure:2487: checking for Makefile.in in c/src/tests/libtests" >&5
     2485echo "configure:2486: checking for Makefile.in in c/src/tests/libtests" >&5
    24872486if test -d $srcdir/c/src/tests/libtests; then
    24882487  rtems_av_save_dir=`pwd`;
     
    24992498   
    25002499echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    2501 echo "configure:2502: checking for Makefile.in in c/src/tests/sptests" >&5
     2500echo "configure:2501: checking for Makefile.in in c/src/tests/sptests" >&5
    25022501if test -d $srcdir/c/src/tests/sptests; then
    25032502  rtems_av_save_dir=`pwd`;
     
    25142513   
    25152514echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    2516 echo "configure:2517: checking for Makefile.in in c/src/tests/tmtests" >&5
     2515echo "configure:2516: checking for Makefile.in in c/src/tests/tmtests" >&5
    25172516if test -d $srcdir/c/src/tests/tmtests; then
    25182517  rtems_av_save_dir=`pwd`;
     
    25292528   
    25302529echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    2531 echo "configure:2532: checking for Makefile.in in c/src/tests/mptests" >&5
     2530echo "configure:2531: checking for Makefile.in in c/src/tests/mptests" >&5
    25322531if test -d $srcdir/c/src/tests/mptests; then
    25332532  rtems_av_save_dir=`pwd`;
     
    25452544     
    25462545echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    2547 echo "configure:2548: checking for Makefile.in in c/src/tests/psxtests" >&5
     2546echo "configure:2547: checking for Makefile.in in c/src/tests/psxtests" >&5
    25482547if test -d $srcdir/c/src/tests/psxtests; then
    25492548  rtems_av_save_dir=`pwd`;
     
    25632562# If the HWAPI is enabled, the find the HWAPI Makefiles
    25642563echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6
    2565 echo "configure:2566: checking if the HWAPI is enabled? " >&5
     2564echo "configure:2565: checking if the HWAPI is enabled? " >&5
    25662565# Check whether --enable-hwapi or --disable-hwapi was given.
    25672566if test "${enable_hwapi+set}" = set; then
     
    25742573           
    25752574echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    2576 echo "configure:2577: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     2575echo "configure:2576: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    25772576if test -d $srcdir/c/src/lib/libhwapi/analog; then
    25782577  rtems_av_save_dir=`pwd`;
     
    25892588           
    25902589echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    2591 echo "configure:2592: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     2590echo "configure:2591: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    25922591if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    25932592  rtems_av_save_dir=`pwd`;
     
    26042603           
    26052604echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    2606 echo "configure:2607: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     2605echo "configure:2606: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    26072606if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    26082607  rtems_av_save_dir=`pwd`;
     
    26192618           
    26202619echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    2621 echo "configure:2622: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     2620echo "configure:2621: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    26222621if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    26232622  rtems_av_save_dir=`pwd`;
     
    26342633           
    26352634echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    2636 echo "configure:2637: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     2635echo "configure:2636: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    26372636if test -d $srcdir/c/src/lib/libhwapi/serial; then
    26382637  rtems_av_save_dir=`pwd`;
     
    26492648           
    26502649echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    2651 echo "configure:2652: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     2650echo "configure:2651: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    26522651if test -d $srcdir/c/src/lib/libhwapi/support; then
    26532652  rtems_av_save_dir=`pwd`;
     
    26642663           
    26652664echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    2666 echo "configure:2667: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     2665echo "configure:2666: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    26672666if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    26682667  rtems_av_save_dir=`pwd`;
     
    27092708
    27102709echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    2711 echo "configure:2712: checking for Makefile.in in c/build-tools" >&5
     2710echo "configure:2711: checking for Makefile.in in c/build-tools" >&5
    27122711if test -d $srcdir/c/build-tools; then
    27132712  rtems_av_save_dir=`pwd`;
     
    27242723
    27252724echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    2726 echo "configure:2727: checking for Makefile.in in make" >&5
     2725echo "configure:2726: checking for Makefile.in in make" >&5
    27272726if test -d $srcdir/make; then
    27282727  rtems_av_save_dir=`pwd`;
     
    27392738
    27402739echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    2741 echo "configure:2742: checking for Makefile.in in c/src/lib/libmisc" >&5
     2740echo "configure:2741: checking for Makefile.in in c/src/lib/libmisc" >&5
    27422741if test -d $srcdir/c/src/lib/libmisc; then
    27432742  rtems_av_save_dir=`pwd`;
     
    27542753
    27552754echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    2756 echo "configure:2757: checking for Makefile.in in c/src/tests/samples" >&5
     2755echo "configure:2756: checking for Makefile.in in c/src/tests/samples" >&5
    27572756if test -d $srcdir/c/src/tests/samples; then
    27582757  rtems_av_save_dir=`pwd`;
     
    29852984s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g
    29862985s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g
    2987 s%@CPU_CFLAGS@%$CPU_CFLAGS%g
    2988 s%@RTEMS_CPU_MODEL@%$RTEMS_CPU_MODEL%g
     2986s%@BARE_CPU_CFLAGS@%$BARE_CPU_CFLAGS%g
     2987s%@BARE_CPU_MODEL@%$BARE_CPU_MODEL%g
    29892988s%@PROJECT_ROOT@%$PROJECT_ROOT%g
    29902989s%@program_prefix@%$program_prefix%g
  • configure.in

    r9d09d138 r550ca7d5  
    6565test -d ${enableval} || AC_MSG_ERROR("$enableval is not a directory" ) ] )
    6666
    67 AC_ARG_ENABLE(cpu-cflags,
    68 [  --enable-cpu-cflags                  specify a particular cpu cflag],
     67AC_ARG_ENABLE(bare-cpu-cflags,
     68[  --enable-bare-cpu-cflags          \
     69         specify a particular cpu cflag (bare bsp specific)],
    6970[case "${enableval}" in
    70   no) CPU_CFLAGS="" ;;
    71   *)    CPU_CFLAGS="${enableval}" ;;
     71  no) BARE_CPU_CFLAGS="" ;;
     72  *)    BARE_CPU_CFLAGS="${enableval}" ;;
    7273esac],
    73 [CPU_CFLAGS=""])
    74 
    75 AC_ARG_ENABLE(cpu-model,
    76 [  --enable-cpu-model                   specify a particular cpu model],
     74[BARE_CPU_CFLAGS=""])
     75
     76AC_ARG_ENABLE(bare-cpu-model,
     77[  --enable-bare-cpu-model              \
     78         specify a particular cpu model (bare bsp specific)],
    7779[case "${enableval}" in
    78   no) RTEMS_CPU_MODEL="" ;;
    79   *)    RTEMS_CPU_MODEL="${enableval}" ;;
     80  no)   BARE_CPU_MODEL="" ;;
     81  *)    BARE_CPU_MODEL="${enableval}" ;;
    8082esac],
    81 [CPU_CFLAGS=""])
     83[BARE_CPU_MODEL=""])
    8284
    8385RTEMS_PREFIX=${target_cpu}-${target_vendor}
     
    140142case "${target}" in
    141143  # hpux unix port should go here
    142   hppa1.1-*-rtems*)
    143         target_cpu=hppa1_1
    144         ;;
    145144  i[[3456]]86-go32-rtems*)
    146145        target_cpu=i386
     
    262261    done
    263262
    264     rtems_bsp="$rtems_bsp bare"
    265263    makefiles="$makefiles c/src/lib/libbsp/bare/Makefile"
    266264
     
    414412AC_SUBST(RTEMS_USE_GCC272)
    415413AC_SUBST(RTEMS_LIBC_DIR)
    416 AC_SUBST(CPU_CFLAGS)
    417 AC_SUBST(RTEMS_CPU_MODEL)
     414AC_SUBST(BARE_CPU_CFLAGS)
     415AC_SUBST(BARE_CPU_MODEL)
    418416AC_SUBST(PROJECT_ROOT)
    419417AC_SUBST(program_prefix)
Note: See TracChangeset for help on using the changeset viewer.