⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 针对于sa1100的bootloader。blob2.04是一个功能比较强大的bootloader
💻
📖 第 1 页 / 共 4 页
字号:
  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi ;;    esac  fi  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:1017: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crosscat > conftest.$ac_ext << EOF#line 1028 "configure"#include "confdefs.h"main(){return(0);}EOFif { (eval echo configure:1033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  ac_cv_prog_cc_works=yes  # If we can't run a trivial program, we are probably using a cross compiler.  if (./conftest; exit) 2>/dev/null; then    ac_cv_prog_cc_cross=no  else    ac_cv_prog_cc_cross=yes  fielse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  ac_cv_prog_cc_works=nofirm -fr conftest*ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossecho "$ac_t""$ac_cv_prog_cc_works" 1>&6if test $ac_cv_prog_cc_works = no; then  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:1059: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6cross_compiling=$ac_cv_prog_cc_crossecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6echo "configure:1064: checking whether we are using GNU C" >&5if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.c <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gcc=yeselse  ac_cv_prog_gcc=nofifiecho "$ac_t""$ac_cv_prog_gcc" 1>&6if test $ac_cv_prog_gcc = yes; then  GCC=yeselse  GCC=fiac_test_CFLAGS="${CFLAGS+set}"ac_save_CFLAGS="$CFLAGS"CFLAGS=echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6echo "configure:1092: checking whether ${CC-cc} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' > conftest.cif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  ac_cv_prog_cc_g=yeselse  ac_cv_prog_cc_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cc_g" 1>&6if test "$ac_test_CFLAGS" = set; then  CFLAGS="$ac_save_CFLAGS"elif test $ac_cv_prog_cc_g = yes; then  if test "$GCC" = yes; then    CFLAGS="-g -O2"  else    CFLAGS="-g"  fielse  if test "$GCC" = yes; then    CFLAGS="-O2"  else    CFLAGS=  fifiif test "x$ac_cv_prog_gcc" != "xyes" ; then  echo "configure: warning: "C compiler is not gcc. This may lead to problems!"" 1>&2;  echo "configure: warning: "Trying to continue with $CC ..."" 1>&2;fifor ac_prog in arm-linux-objcopy objcopydo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1132: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$OBJCOPY"; then  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_OBJCOPY="$ac_prog"      break    fi  done  IFS="$ac_save_ifs"fifiOBJCOPY="$ac_cv_prog_OBJCOPY"if test -n "$OBJCOPY"; then  echo "$ac_t""$OBJCOPY" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$OBJCOPY" && breakdonetest -n "$OBJCOPY" || OBJCOPY="echo"# Find a good install program.  We prefer a C program (faster),# so one script is as good as another.  But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:1174: checking for a BSD compatible install" >&5if test -z "$INSTALL"; thenif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"  for ac_dir in $PATH; do    # Account for people who put trailing slashes in PATH elements.    case "$ac_dir/" in    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    *)      # OSF1 and SCO ODT 3.0 have their own names for install.      # Don't use installbsd from OSF since it installs stuff as root      # by default.      for ac_prog in ginstall scoinst install; do        if test -f $ac_dir/$ac_prog; then	  if test $ac_prog = install &&            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then	    # AIX install.  It has an incompatible calling convention.	    :	  else	    ac_cv_path_install="$ac_dir/$ac_prog -c"	    break 2	  fi	fi      done      ;;    esac  done  IFS="$ac_save_IFS"fi  if test "${ac_cv_path_install+set}" = set; then    INSTALL="$ac_cv_path_install"  else    # As a last resort, use the slow shell script.  We don't cache a    # path for INSTALL within a source directory, because that will    # break other packages using the cache if that directory is    # removed, or if the path is relative.    INSTALL="$ac_install_sh"  fifiecho "$ac_t""$INSTALL" 1>&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1227: checking whether ln -s works" >&5if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  rm -f conftestdataif ln -s X conftestdata 2>/dev/nullthen  rm -f conftestdata  ac_cv_prog_LN_S="ln -s"else  ac_cv_prog_LN_S=lnfifiLN_S="$ac_cv_prog_LN_S"if test "$ac_cv_prog_LN_S" = "ln -s"; then  echo "$ac_t""yes" 1>&6else  echo "$ac_t""no" 1>&6fi# Check whether --with-board or --without-board was given.if test "${with_board+set}" = set; then  withval="$with_board"  board_name="$withval"else  board_name="lart"fiecho $ac_n "checking target board""... $ac_c" 1>&6echo "configure:1267: checking target board" >&5case "$board_name" in    assabet)	echo "$ac_t""Assabet" 1>&6	cat >> confdefs.h <<\EOF#define ASSABET 1EOF	cat >> confdefs.h <<\EOF#define USE_SA1110 1EOF	cat >> confdefs.h <<\EOF#define USE_SDRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL1 1EOF	;;    brutus)	echo "$ac_t""Brutus" 1>&6	cat >> confdefs.h <<\EOF#define BRUTUS 1EOF	cat >> confdefs.h <<\EOF#define USE_SA1100 1EOF	cat >> confdefs.h <<\EOF#define USE_EDODRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL3 1EOF	;;    creditlart)	echo "$ac_t""CreditLART" 1>&6	cat >> confdefs.h <<\EOF#define CLART 1EOF	cat >> confdefs.h <<\EOF#define USE_SA1110 1EOF	cat >> confdefs.h <<\EOF#define USE_SDRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL3 1EOF	;;    lart)	echo "$ac_t""LART" 1>&6	cat >> confdefs.h <<\EOF#define LART 1EOF	cat >> confdefs.h <<\EOF#define USE_SA1100 1EOF	cat >> confdefs.h <<\EOF#define USE_EDODRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL3 1EOF	;;    nesa)	echo "$ac_t""NESA" 1>&6	cat >> confdefs.h <<\EOF#define NESA 1EOF	cat >> confdefs.h <<\EOF#define USE_SA1100 1EOF	cat >> confdefs.h <<\EOF#define USE_EDODRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL3 1EOF	;;    pleb)	echo "$ac_t""PLEB" 1>&6	cat >> confdefs.h <<\EOF#define PLEB 1EOF	cat >> confdefs.h <<\EOF#define USE_SA1100 1EOF	cat >> confdefs.h <<\EOF#define USE_EDODRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL3 1EOF	;;    shannon)	echo "$ac_t""SHANNON" 1>&6	cat >> confdefs.h <<\EOF#define SHANNON 1EOF	cat >> confdefs.h <<\EOF#define USE_SA1100 1EOF	cat >> confdefs.h <<\EOF#define USE_EDODRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL3 1EOF	;;    *)	echo "$ac_t""unknown" 1>&6	echo "configure: warning: Unknown board name, assuming SA1100 with EDO DRAM and serial 3" 1>&2	cat >> confdefs.h <<\EOF#define USE_SA1100 1EOF	cat >> confdefs.h <<\EOF#define USE_EDODRAM 1EOF	cat >> confdefs.h <<\EOF#define USE_SERIAL3 1EOF	;;esac# Check whether --with-linux-prefix or --without-linux-prefix was given.if test "${with_linux_prefix+set}" = set; then  withval="$with_linux_prefix"  linux_prefix="$withval"else  linux_prefix="/usr/src/linux"fiCFLAGS=`echo $CFLAGS -I${linux_prefix}/include`# Check whether --enable-blob-debug or --disable-blob-debug was given.if test "${enable_blob_debug+set}" = set; then  enableval="$enable_blob_debug"  blob_debug_flag=$enable_blob_debugelse  blob_debug_flag=nofiif test "x$blob_debug_flag" = "xyes" ; then  cat >> confdefs.h <<\EOF#define BLOB_DEBUG 1EOFfiecho $ac_n "checking for inline""... $ac_c" 1>&6echo "configure:1455: checking for inline" >&5if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_c_inline=nofor ac_kw in inline __inline__ __inline; do  cat > conftest.$ac_ext <<EOF#line 1462 "configure"#include "confdefs.h"int main() {} int $ac_kw foo() {; return 0; }EOFif { (eval echo configure:1469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_c_inline=$ac_kw; breakelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*donefiecho "$ac_t""$ac_cv_c_inline" 1>&6case "$ac_cv_c_inline" in  inline | yes) ;;  no) cat >> confdefs.h <<\EOF#define inline EOF ;;  *)  cat >> confdefs.h <<EOF#define inline $ac_cv_c_inlineEOF ;;esac

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -