Changeset 579fc6a3 in rtems for configure


Ignore:
Timestamp:
08/13/98 14:47:18 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
70502bc4
Parents:
9898425
Message:

Per request from Chris Johns <ccj@…>, I added code to detect
when the bare bsp was enabled without setting both --enable-cpu-model
and --enable-cpu-cflags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r9898425 r579fc6a3  
    29882988    # The bare bsp is a special case as it is not under the target_cpu path
    29892989    case $i in
    2990       bare)    bspcpudir= ;;
    2991       *)       bspcpudir=$target_cpu/ ;;
     2990      bare)
     2991        bspcpudir=
     2992        if test "X${BARE_CPU_CFLAGS}" = "X" ; then
     2993          { echo "configure: error: --enable-bare-cpu-flags not specified for bare bsp" 1>&2; exit 1; }
     2994        fi
     2995        if test "X${BARE_CPU_MODEL}" = "X" ; then
     2996          { echo "configure: error: --enable-bare-cpu-model not specified for bare bsp" 1>&2; exit 1; }
     2997        fi
     2998        ;;
     2999      *)
     3000        bspcpudir=$target_cpu/
     3001        ;;
    29923002    esac
    29933003     
     
    30003010       
    30013011echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6
    3002 echo "configure:3003: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
     3012echo "configure:3013: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
    30033013if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then
    30043014  rtems_av_save_dir=`pwd`;
     
    30153025       
    30163026echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    3017 echo "configure:3018: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
     3027echo "configure:3028: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
    30183028if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then
    30193029  rtems_av_save_dir=`pwd`;
     
    30383048
    30393049echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    3040 echo "configure:3041: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     3050echo "configure:3051: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    30413051if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    30423052  rtems_av_save_dir=`pwd`;
     
    30553065 
    30563066echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    3057 echo "configure:3058: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     3067echo "configure:3068: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    30583068if test -d $srcdir/c/src/lib/start/$target_cpu; then
    30593069  rtems_av_save_dir=`pwd`;
     
    30973107# If the tests are enabled, then find all the test suite Makefiles
    30983108echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    3099 echo "configure:3100: checking if the test suites are enabled? " >&5
     3109echo "configure:3110: checking if the test suites are enabled? " >&5
    31003110tests_enabled=yes
    31013111# Check whether --enable-tests or --disable-tests was given.
     
    31163126
    31173127echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    3118 echo "configure:3119: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     3128echo "configure:3129: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    31193129if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    31203130  rtems_av_save_dir=`pwd`;
     
    31333143   
    31343144echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    3135 echo "configure:3136: checking for Makefile.in in c/src/tests/libtests" >&5
     3145echo "configure:3146: checking for Makefile.in in c/src/tests/libtests" >&5
    31363146if test -d $srcdir/c/src/tests/libtests; then
    31373147  rtems_av_save_dir=`pwd`;
     
    31483158   
    31493159echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    3150 echo "configure:3151: checking for Makefile.in in c/src/tests/sptests" >&5
     3160echo "configure:3161: checking for Makefile.in in c/src/tests/sptests" >&5
    31513161if test -d $srcdir/c/src/tests/sptests; then
    31523162  rtems_av_save_dir=`pwd`;
     
    31633173   
    31643174echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    3165 echo "configure:3166: checking for Makefile.in in c/src/tests/tmtests" >&5
     3175echo "configure:3176: checking for Makefile.in in c/src/tests/tmtests" >&5
    31663176if test -d $srcdir/c/src/tests/tmtests; then
    31673177  rtems_av_save_dir=`pwd`;
     
    31783188   
    31793189echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    3180 echo "configure:3181: checking for Makefile.in in c/src/tests/mptests" >&5
     3190echo "configure:3191: checking for Makefile.in in c/src/tests/mptests" >&5
    31813191if test -d $srcdir/c/src/tests/mptests; then
    31823192  rtems_av_save_dir=`pwd`;
     
    31943204     
    31953205echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    3196 echo "configure:3197: checking for Makefile.in in c/src/tests/psxtests" >&5
     3206echo "configure:3207: checking for Makefile.in in c/src/tests/psxtests" >&5
    31973207if test -d $srcdir/c/src/tests/psxtests; then
    31983208  rtems_av_save_dir=`pwd`;
     
    32123222# If the HWAPI is enabled, the find the HWAPI Makefiles
    32133223echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6
    3214 echo "configure:3215: checking if the HWAPI is enabled? " >&5
     3224echo "configure:3225: checking if the HWAPI is enabled? " >&5
    32153225# Check whether --enable-hwapi or --disable-hwapi was given.
    32163226if test "${enable_hwapi+set}" = set; then
     
    32233233           
    32243234echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    3225 echo "configure:3226: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     3235echo "configure:3236: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    32263236if test -d $srcdir/c/src/lib/libhwapi/analog; then
    32273237  rtems_av_save_dir=`pwd`;
     
    32383248           
    32393249echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    3240 echo "configure:3241: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     3250echo "configure:3251: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    32413251if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    32423252  rtems_av_save_dir=`pwd`;
     
    32533263           
    32543264echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    3255 echo "configure:3256: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     3265echo "configure:3266: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    32563266if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    32573267  rtems_av_save_dir=`pwd`;
     
    32683278           
    32693279echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3270 echo "configure:3271: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     3280echo "configure:3281: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    32713281if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    32723282  rtems_av_save_dir=`pwd`;
     
    32833293           
    32843294echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    3285 echo "configure:3286: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     3295echo "configure:3296: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    32863296if test -d $srcdir/c/src/lib/libhwapi/serial; then
    32873297  rtems_av_save_dir=`pwd`;
     
    32983308           
    32993309echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    3300 echo "configure:3301: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     3310echo "configure:3311: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    33013311if test -d $srcdir/c/src/lib/libhwapi/support; then
    33023312  rtems_av_save_dir=`pwd`;
     
    33133323           
    33143324echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    3315 echo "configure:3316: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     3325echo "configure:3326: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    33163326if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    33173327  rtems_av_save_dir=`pwd`;
     
    33583368
    33593369echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    3360 echo "configure:3361: checking for Makefile.in in c/build-tools" >&5
     3370echo "configure:3371: checking for Makefile.in in c/build-tools" >&5
    33613371if test -d $srcdir/c/build-tools; then
    33623372  rtems_av_save_dir=`pwd`;
     
    33733383
    33743384echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    3375 echo "configure:3376: checking for Makefile.in in make" >&5
     3385echo "configure:3386: checking for Makefile.in in make" >&5
    33763386if test -d $srcdir/make; then
    33773387  rtems_av_save_dir=`pwd`;
     
    33883398
    33893399echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    3390 echo "configure:3391: checking for Makefile.in in c/src/lib/libmisc" >&5
     3400echo "configure:3401: checking for Makefile.in in c/src/lib/libmisc" >&5
    33913401if test -d $srcdir/c/src/lib/libmisc; then
    33923402  rtems_av_save_dir=`pwd`;
     
    34033413
    34043414echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    3405 echo "configure:3406: checking for Makefile.in in c/src/tests/samples" >&5
     3415echo "configure:3416: checking for Makefile.in in c/src/tests/samples" >&5
    34063416if test -d $srcdir/c/src/tests/samples; then
    34073417  rtems_av_save_dir=`pwd`;
Note: See TracChangeset for help on using the changeset viewer.