📄 configure
字号:
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:1356: 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:1409: 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:1450: checking target board" >&5case "$board_name" in assabet) board_name="Intel Assabet" cat >> confdefs.h <<\EOF#define ASSABET 1EOF BLOB_PLATFORM_OBJ="assabet.o" echo "configure: warning: Please check assabet memory config in arch/assabet.h" 1>&2 BLOB_FLASH_OBJS="intel32.o" DIAG_PLATFORM_OBJ="assabet.o" use_cpu="sa1110" use_lcd="no" ;; lubbock) board_name="Intel Lubbock" cat >> confdefs.h <<\EOF#define LUBBOCK 1EOF BLOB_PLATFORM_OBJ="lubbock.o" echo "configure: warning: Please check Lubbock memory config in arch/assabet.h" 1>&2 BLOB_FLASH_OBJS="intel16.o" DIAG_PLATFORM_OBJ="lubbock.o" use_cpu="pxa250" use_lcd="no" ;; neponset) board_name="Intel Assabet with Neponset Expansion Board" cat >> confdefs.h <<\EOF#define ASSABET 1EOF cat >> confdefs.h <<\EOF#define NEPONSET 1EOF BLOB_PLATFORM_OBJ="assabet.o" echo "configure: warning: Please check assabet memory config in arch/assabet.h" 1>&2 BLOB_FLASH_OBJS="intel32.o" DIAG_PLATFORM_OBJ="assabet.o" use_cpu="sa1110" use_lcd="no" ;; brutus) board_name="Intel Brutus" cat >> confdefs.h <<\EOF#define BRUTUS 1EOF BLOB_PLATFORM_OBJ="brutus.o" echo "configure: warning: Please check Brutus flash" 1>&2 BLOB_FLASH_OBJS="nullflash.o" DIAG_PLATFORM_OBJ="brutus.o" use_cpu="sa1100" use_lcd="no" ;; creditlart) board_name="Delft University of Technology CreditLART" cat >> confdefs.h <<\EOF#define CLART 1EOF BLOB_PLATFORM_OBJ="clart.o" echo "configure: warning: Please check creditlart memory config in arch/clart.h" 1>&2 BLOB_FLASH_OBJS="intel16.o" DIAG_PLATFORM_OBJ="clart.o" use_cpu="sa1110" use_lcd="no" ;; h3600) board_name="Compaq Ipaq H3600 series" cat >> confdefs.h <<\EOF#define H3600 1EOF BLOB_PLATFORM_OBJ="h3600.o" echo "configure: warning: Warning: untested platform!" 1>&2 echo "configure: warning: Please check h3600 memory config in arch/h3600.h" 1>&2 BLOB_FLASH_OBJS="intel32.o" DIAG_PLATFORM_OBJ="h3600.o" use_cpu="sa1110" use_lcd="no" ;; idr) board_name="Vercel UD-1 (IDR)" cat >> confdefs.h <<\EOF#define IDR 1EOF BLOB_PLATFORM_OBJ="idr.o" BLOB_FLASH_OBJS="intel16.o" DIAG_PLATFORM_OBJ="idr.o" use_cpu="sa1110" use_lcd="no" ;; lart) board_name="Delft University of Technology LART" cat >> confdefs.h <<\EOF#define LART 1EOF BLOB_PLATFORM_OBJ="lart.o" BLOB_FLASH_OBJS="intel32.o" DIAG_PLATFORM_OBJ="lart.o" use_cpu="sa1100" use_lcd="no" ;; nesa) board_name="NESA" cat >> confdefs.h <<\EOF#define NESA 1EOF BLOB_PLATFORM_OBJ="nesa.o" BLOB_FLASH_OBJS="amd32.o" DIAG_PLATFORM_OBJ="nesa.o" use_cpu="sa1100" use_lcd="no" ;; pleb) board_name="University of New South Wales PLEB" cat >> confdefs.h <<\EOF#define PLEB 1EOF BLOB_PLATFORM_OBJ="pleb.o" echo "configure: warning: Please check PLEB flash" 1>&2 BLOB_FLASH_OBJS="nullflash.o" DIAG_PLATFORM_OBJ="pleb.o" use_cpu="sa1100" use_lcd="no" ;; shannon) board_name="TuxScreen (Shannon)" cat >> confdefs.h <<\EOF#define SHANNON 1EOF BLOB_PLATFORM_OBJ="shannon.o" BLOB_FLASH_OBJS="amd32.o" DIAG_PLATFORM_OBJ="shannon.o" use_cpu="sa1100" use_lcd="no" ;; system3) board_name="Prueftechnik Digital Board" cat >> confdefs.h <<\EOF#define PT_SYSTEM3 1EOF BLOB_PLATFORM_OBJ="system3.o" BLOB_FLASH_OBJS="intel32.o" DIAG_PLATFORM_OBJ="system3.o" use_cpu="sa1110" use_lcd="yes" ;; jornada720) board_name="Hewlett-Packard Jornada 720 with flash daughter board" cat >> confdefs.h <<\EOF#define JORNADA720 1EOF BLOB_PLATFORM_OBJ="jornada720.o" echo "configure: warning: Warning: untested platform!" 1>&2 BLOB_FLASH_OBJS="intel32.o" DIAG_PLATFORM_OBJ="jornada720.o" use_cpu="sa1110" use_lcd="no" ;; badge4) board_name="Hewlett-Packard Laboratories Badge-4" cat >> confdefs.h <<\EOF#define BADGE4 1EOF BLOB_PLATFORM_OBJ="badge4.o" BLOB_FLASH_OBJS="intel16.o" DIAG_PLATFORM_OBJ="badge4.o" use_cpu="sa1110" use_lcd="no" ;; *) echo "$ac_t""unknown" 1>&6 { echo "configure: error: Unknown board name, bailing out" 1>&2; exit 1; } ;;esacecho "$ac_t"""${board_name}"" 1>&6cat >> confdefs.h <<EOF#define BOARD_NAME "${board_name}"EOF# Check whether --with-cpu or --without-cpu was given.if test "${with_cpu+set}" = set; then withval="$with_cpu" use_cpu="$withval"else use_cpu="pxa255"fi# Check whether --with-eth or --without-eth was given.if test "${with_eth+set}" = set; then withval="$with_eth" use_eth="$withval"else use_eth="none"fiecho $ac_n "checking target cpu""... $ac_c" 1>&6echo "configure:1664: checking target cpu" >&5case "$use_cpu" in sa1100) MEMSETUP="memsetup-sa1100.o" ;; sa1110) MEMSETUP="memsetup-sa1110.o" ;; pxa250) MEMSETUP="memsetup-pxa.o" BLOB_FLASH_OBJS="intel32.o" ;; pxa255) MEMSETUP="memsetup-pxa.o" BLOB_FLASH_OBJS="intel32.o" ;; pxa262) MEMSETUP="memsetup-pxa.o" BLOB_FLASH_OBJS="intel16.o" ;; *) echo "configure: warning: No CPU defined!" 1>&2; use_cpu="(none)" MEMSETUP=""esacecho $ac_n "checking Ethernet support""... $ac_c" 1>&6echo "configure:1691: checking Ethernet support" >&5case "$use_eth" in usb) BLOB_ETH_OBJS="usb-eth.o net.o" ;; smc91x) BLOB_ETH_OBJS="smc91x.o net.o" ;; *) BLOB_ETH_OBJS="";esaccat >> confdefs.h <<EOF#define CPU "${use_cpu}"EOF# 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"fiecho $ac_n "checking if the Linux source tree in $linux_prefix is sane""... $ac_c" 1>&6echo "configure:1721: checking if the Linux source tree in $linux_prefix is sane" >&5if test ! -d "$linux_prefix/include" ; then echo "$ac_t""no" 1>&6 { echo "configure: error: $linux_prefix doesn't look like a configured Linux source tree." 1>&2; exit 1; } { echo "configure: error: Please supply a proper prefix with the --with-linux-prefix flag" 1>&2; exit 1; } exit -1fiif test ! -f "$linux_prefix/include/asm/setup.h" ; then echo "$ac_t""no" 1>&6 { echo "configure: error: The Linux source tree in $linux_prefix is not configured." 1>&2; exit 1; } { echo "configure: error: Please run "make lart_config ; yes no | make old_config" in the" 1>&2; exit 1; } { echo "configure: error: Linux source tree and retry." 1>&2; exit 1; } exit -1fiecho "$ac_t""yes" 1>&6CFLAGS=`echo $CFLAGS -I${linux_prefix}/include`# Check whether --enable-clock-scaling or --disable-clock-scaling was given.if test "${enable_clock_scaling+set}" = set; then enableval="$enable_clock_scaling" clock_scaling_flag=$enable_clock_scalingelse clock_scaling_flag=nofi# Check whether --enable-memtest or --disable-memtest was given.if test "${enable_memtest+set}" = set; then enableval="$enable_memtest" chkmem_flag=$enable_memtestelse chkmem_flag=nofi# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then enableval="$enable_debug" debug_flag=$enable_debugelse debug_flag=nofi# Check whether --enable-lcd or --disable-lcd was given.if test "${enable_lcd+set}" = set; then enableval="$enable_lcd" lcd_flag=$enable_lcdelse lcd_flag=nofi# Check whether --enable-md5 or --disable-md5 was given.if test "${enable_md5+set}" = set; then enableval="$enable_md5" md5_flag=$enable_md5else md5_flag=nofi# Check whether --enable-usb or --disable-usb was given.if test "${enable_usb+set}" = set; then enableval="$enable_usb" usb_flag=$enable_usbelse usb_flag=nofi# Check whether --enable-all-features or --disable-all-features was given.if test "${enable_all_features+set}" = set; then enableval="$enable_all_features" all_features_flag=$enable_all_featureselse all_features_flag=nofiif test "x$all_features_flag" = "xyes" ; then clock_scaling_flag=yes chkmem_flag=yes
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -