# HG changeset patch # User "Yann E. MORIN" # Date 1241344216 0 # Node ID 5e5d1e6f55d38843d888b38831fd07a27cf5b8e3 # Parent c4d124ed9f8e2d596e0aede33f9ab28550c96feb Update the newlib devel branch with stuff from /trunk@1498. -------- diffstat follows -------- /devel/newlib/configure | 336 176 160 0 +++++++------ /devel/newlib/Makefile.in | 12 3 9 0 - /devel/newlib/scripts/build/kernel/linux.sh | 2 1 1 0 /devel/newlib/scripts/build/internals.sh | 1 0 1 0 - /devel/newlib/scripts/build/libc/eglibc.sh | 1 0 1 0 - /devel/newlib/scripts/build/mpfr.sh | 2 1 1 0 /devel/newlib/scripts/functions | 111 5 106 0 ---- /devel/newlib/scripts/config.guess | 7 5 2 0 + /devel/newlib/scripts/config.sub | 3 2 1 0 + /devel/newlib/scripts/saveSample.sh.in | 4 2 2 0 /devel/newlib/docs/overview.txt | 8 6 2 0 + /devel/newlib/samples/armeb-unknown-linux-uclibc/crosstool.config | 14 5 9 0 - /devel/newlib/samples/sh4-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/arm-unknown-elf/crosstool.config | 12 3 9 0 - /devel/newlib/samples/armeb-unknown-eabi/crosstool.config | 2 0 2 0 - /devel/newlib/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 5 9 0 - /devel/newlib/samples/ia64-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/x86_64-unknown-linux-uclibc/crosstool.config | 14 5 9 0 - /devel/newlib/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 5 9 0 - /devel/newlib/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 14 5 9 0 - /devel/newlib/samples/i686-nptl-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/arm-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/mips-unknown-linux-uclibc/crosstool.config | 14 5 9 0 - /devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 14 5 9 0 - /devel/newlib/samples/arm-iphone-linux-gnueabi/crosstool.config | 8 4 4 0 /devel/newlib/samples/armeb-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/i586-geode-linux-uclibc/crosstool.config | 14 5 9 0 - /devel/newlib/samples/arm-unknown-linux-uclibc/crosstool.config | 14 5 9 0 - /devel/newlib/samples/powerpc-unknown-linux-uclibc/crosstool.config | 14 5 9 0 - /devel/newlib/samples/mips-unknown-elf/crosstool.config | 2 0 2 0 - /devel/newlib/samples/powerpc-405-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 14 5 9 0 - /devel/newlib/samples/arm-unknown-eabi/crosstool.config | 12 3 9 0 - /devel/newlib/samples/mipsel-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/powerpc64-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/samples/powerpc-860-linux-gnu/crosstool.config | 14 5 9 0 - /devel/newlib/config/kernel/linux.in | 108 2 106 0 ---- /devel/newlib/config/global/ct-behave.in | 22 13 9 0 + /devel/newlib/config/global/download.in | 210 15 195 0 +------- /devel/newlib/config/libc/glibc.in | 7 7 0 0 + /devel/newlib/config/libc/glibc-eglibc.in-common | 15 14 1 0 + 45 files changed, 382 insertions(+), 839 deletions(-) diff -r c4d124ed9f8e -r 5e5d1e6f55d3 Makefile.in --- a/Makefile.in Sun Apr 19 16:17:11 2009 +0000 +++ b/Makefile.in Sun May 03 09:50:16 2009 +0000 @@ -51,7 +51,6 @@ bash := @@bash@@ grep := @@grep@@ make := @@make@@ -awk := @@awk@@ sed := @@sed@@ ############################################################################### @@ -104,6 +103,7 @@ # Build rules build-bin: ct-ng scripts/crosstool-NG.sh scripts/saveSample.sh + @chmod 755 $^ build-lib: paths.mk @@ -138,7 +138,6 @@ echo "export bash=$(bash)"; \ echo "export grep=$(grep)"; \ echo "export make=$(make)"; \ - echo "export awk=$(awk)"; \ echo "export sed=$(sed)"; \ ) >paths.mk @@ -168,15 +167,10 @@ #-------------------------------------- # Check for --local setup -ifeq ($(strip $(LOCAL)),1) +ifeq ($(strip $(LOCAL)),y) real-install: - @echo " CHMOD 'ct-ng'" - @chmod a+x ct-ng - @echo " CHMOD 'scripts/crosstool-NG.sh'" - @chmod a+x scripts/crosstool-NG.sh - @echo " CHMOD 'scripts/saveSample.sh'" - @chmod a+x scripts/saveSample.sh + @true real-uninstall: @true diff -r c4d124ed9f8e -r 5e5d1e6f55d3 config/global/ct-behave.in --- a/config/global/ct-behave.in Sun Apr 19 16:17:11 2009 +0000 +++ b/config/global/ct-behave.in Sun May 03 09:50:16 2009 +0000 @@ -8,9 +8,13 @@ default n help If you set this to Y, you will be able to select obsolete features. - - Such obsolete features are the use of old kernel headers, old - gcc versions, etc... + + Such obsolete features are the use of old kernel headers, old gcc + versions, etc... for which maintaining support in crosstool-NG + would be very costly. + + It does not however mean that the specific feature or version has been + marked obsolete by the upstream team. config EXPERIMENTAL bool @@ -19,7 +23,7 @@ help If you set this to Y, then you will be able to try very experimental features. - + Experimental features can be one of: - working, in which case you should tell me it is! - buggy, in which case you could try patching and send me the result @@ -32,7 +36,7 @@ prompt "Debug crosstool-NG" default n help - Say 'y' here to get some debugging options + Say 'y' here to get some options regarding debugging crosstool-NG. if DEBUG_CT @@ -51,10 +55,10 @@ help If you say 'y' here, then you will be able to restart crosstool-NG at any step. - - It is not currently possible to restart at any of the debug facility. + + It is not currently possible to restart at any of the debug facilities. They are treated as a whole. - + See docs/overview.txt for the list of steps. config DEBUG_CT_SAVE_STEPS_GZIP @@ -65,7 +69,7 @@ help If you are tight on space, then you can ask to gzip the saved states tarballs. On the other hand, this takes some longer time... - + To lose as less time as possible, the gzip process is done with a low compression ratio (-3), which gives roughly 70% gain in size. Going further doesn't gain much, and takes far more time (believe me, I've diff -r c4d124ed9f8e -r 5e5d1e6f55d3 config/global/download.in --- a/config/global/download.in Sun Apr 19 16:17:11 2009 +0000 +++ b/config/global/download.in Sun May 03 09:50:16 2009 +0000 @@ -27,151 +27,6 @@ Usefull if you suspect a tarball to be damaged. -menuconfig USE_PROXY - bool - prompt "Use a proxy" - default n - help - Say 'Y' here if you need to use a proxy to connect to the internet. - - You can then choose between an HTTP or a SOCKS 4/5 proxy. - - **** NOTE **** - The settings below may not cover all possible proxy configurations! - You'd be better off setting proxy in the environment! - -if USE_PROXY - -choice - bool - prompt "Proxy type" - -config PROXY_TYPE_HTTP - bool - prompt "HTTP proxy" - help - Use an HTTP proxy to connect to to the internet. - Only the http and ftp protocols will be tunneled through this - proxy. - - Alternatively to setting this option, you can set and export the - following variables in your environment: - ftp_proxy=http://user:passwd@proxy.server:port/ - http_proxy=http://user:passwd@proxy.server:port/ - https_proxy=http://user:passwd@proxy.server:port/ - -# Haha! Here is an interesting feature/bug of mconf! -# The following config entries will be shown out-side the -# choice menu! -# To add a third entry in the choice menu, add it after the -# if...endif conditional below, and so on for a fourth entry... -if PROXY_TYPE_HTTP - -config PROXY_HOST - string - prompt "hostname/IP" - -config PROXY_PORT - int - prompt "port" - default 8080 - -config PROXY_USER - string - prompt "user name" - -config PROXY_PASS - string - prompt "password" - -endif # USE_HTTP_PROXY - -config PROXY_TYPE_SOCKS - bool - prompt "SOCKS 4/5 proxy" - help - Use a Socks 4/5 proxy to connect to the internet. - All protocols can get tunneled through this kind of proxy (your - proxy configuration may not allow all protocols, but chances are - that protocols needed by crosstool-NG are allowed). - - Alternatively to setting this option, you can configure tsocks - system-wide, and set and export the following variable in your - environment: - LD_PRELOAD=/path/to/your/tsocks-library.so - - This option makes use of the tsocks library. You will have to have tsocks - installed on your system, of course. - - If you think you do not know what tsocks is, or how to configure it, - chances are that you do not need to set this option. - -if PROXY_TYPE_SOCKS - -choice - bool - prompt "type" - default PROXY_TYPE_SOCKS_SYS - -config PROXY_TYPE_SOCKS_SYS - bool - prompt "Use system settings" - help - Use that if tsocks is already configured on your system. - -config PROXY_TYPE_SOCKS_AUTO - bool - prompt "Auto" - help - crosstool-NG will attempt to guess what type of SOCKS version - the proxy speaks. - -config PROXY_TYPE_SOCKS_4 - bool - prompt "SOCKS 4" - -config PROXY_TYPE_SOCKS_5 - bool - prompt "SOCKS 5" - -endchoice - -if ! PROXY_TYPE_SOCKS_SYS - -config PROXY_HOST - string - prompt "hostname/IP" - -config PROXY_PORT - int - prompt "port" - default 1080 - -config PROXY_USER - string - prompt "user name" - -config PROXY_PASS - string - prompt "password" - -endif # ! PROXY_TYPE_SOCKS_SYS - -endif # USE_SOCKS_PROXY - -endchoice - -endif # USE_PROXY - -config PROXY_TYPE - string - default "none" if ! USE_PROXY - default "http" if PROXY_TYPE_HTTP - default "sockssys" if PROXY_TYPE_SOCKS_SYS - default "socksauto" if PROXY_TYPE_SOCKS_AUTO - default "socks4" if PROXY_TYPE_SOCKS_4 - default "socks5" if PROXY_TYPE_SOCKS_5 - menuconfig USE_MIRROR bool prompt "Use LAN mirror" @@ -187,65 +42,33 @@ Obviously, nothing prevents you from using a mirror that is in fact *not* on your LAN, for example on another subnet of your company's network, or a mirror on the Internet. + +if USE_MIRROR + +config PREFER_MIRROR + bool + prompt "Prefer the mirror" + default n + help + Say 'Y' here if you prefer the LAN miror over the upstream sources. + +config MIRROR_BASE_URL + string + prompt "Base URL" + default "http://ymorin.is-a-geek.org/mirrors/" + help + This is the base URL searched in for tarballs. I (Yann E. MORIN) have set up such a mirror to host snapshots of some components, when those snapshots are volatile on the upstream servers. The mirror is *slow*, because it is hosted behind an ADSL line. For the time being, I haven't set up bandwidth limitations, but should the mirror be abused, I will. Please avoid using my - machine when you can... - The mirror is available as (fill in those values in the fields - below): - host name: ymorin.is-a-geek.org - base dir : /mirrors - -if USE_MIRROR - -config PREFER_MIRROR - bool - prompt "Prefer the LAN mirror" - default n - help - Say 'Y' here if you prefer the LAN miror over the upstream sources. - -choice - bool - prompt "Server type:" - -config MIRROR_HTTP - bool - prompt "http" - -config MIRROR_FTP - bool - prompt "ftp" - -endchoice # Server type - -config MIRROR_SCHEME - string - default "http" if MIRROR_HTTP - default "ftp" if MIRROR_FTP - -config MIRROR_HOSTNAME - string - prompt "hostname" - default "" - help - Enter here the hostname on your LAN mirror. - -config MIRROR_BASE - string - prompt "Base directory" - default "" - help - This is the base directory searched for for tarballs. If you enter - /mirror, then the search is performed in the following directories - on the server: - /mirror// - /mirror/ + machine when you can... Also, no guarantee is made as to its + availability. Use at your own risks. - where is replaced with the actual package name. + The mirror is available at: + http://ymorin.is-a-geek.org/mirrors/ config MIRROR_LS_R bool @@ -285,9 +108,6 @@ fast, you can try to lower this value to jump more quickly to allowed URLs. YMMV. Note that this value applies equally to wget if you have that installed. - - Of course, you'd be better off to use a proxy, as offered by the previous - option. config ONLY_DOWNLOAD bool diff -r c4d124ed9f8e -r 5e5d1e6f55d3 config/kernel/linux.in --- a/config/kernel/linux.in Sun Apr 19 16:17:11 2009 +0000 +++ b/config/kernel/linux.in Sun May 03 09:50:16 2009 +0000 @@ -74,93 +74,10 @@ prompt "2.6.26.8 (OBSOLETE)" depends on OBSOLETE -config KERNEL_V_2_6_27 - bool - prompt "2.6.27" - -config KERNEL_V_2_6_27_1 - bool - prompt "2.6.27.1" - -config KERNEL_V_2_6_27_2 - bool - prompt "2.6.27.2" - -config KERNEL_V_2_6_27_3 - bool - prompt "2.6.27.3" - -config KERNEL_V_2_6_27_4 - bool - prompt "2.6.27.4" - -config KERNEL_V_2_6_27_5 - bool - prompt "2.6.27.5" - -config KERNEL_V_2_6_27_6 - bool - prompt "2.6.27.6" - -config KERNEL_V_2_6_27_7 - bool - prompt "2.6.27.7" - -config KERNEL_V_2_6_27_8 - bool - prompt "2.6.27.8" - -config KERNEL_V_2_6_27_9 - bool - prompt "2.6.27.9" - -config KERNEL_V_2_6_27_10 - bool - prompt "2.6.27.10" - -config KERNEL_V_2_6_27_11 - bool - prompt "2.6.27.11" - -config KERNEL_V_2_6_27_12 - bool - prompt "2.6.27.12" - -config KERNEL_V_2_6_27_13 - bool - prompt "2.6.27.13" - -config KERNEL_V_2_6_27_14 - bool - prompt "2.6.27.14" - -config KERNEL_V_2_6_27_15 - bool - prompt "2.6.27.15" - -config KERNEL_V_2_6_27_16 - bool - prompt "2.6.27.16" - -config KERNEL_V_2_6_27_17 - bool - prompt "2.6.27.17" - -config KERNEL_V_2_6_27_18 - bool - prompt "2.6.27.18" - -config KERNEL_V_2_6_27_19 - bool - prompt "2.6.27.19" - -config KERNEL_V_2_6_27_20 - bool - prompt "2.6.27.20" - config KERNEL_V_2_6_27_21 bool - prompt "2.6.27.21" + prompt "2.6.27.21 (OBSOLETE)" + depends on OBSOLETE config KERNEL_V_2_6_28 bool @@ -232,27 +149,6 @@ default "2.6.24.7" if KERNEL_V_2_6_24_7 default "2.6.25.20" if KERNEL_V_2_6_25_20 default "2.6.26.8" if KERNEL_V_2_6_26_8 - default "2.6.27" if KERNEL_V_2_6_27 - default "2.6.27.1" if KERNEL_V_2_6_27_1 - default "2.6.27.2" if KERNEL_V_2_6_27_2 - default "2.6.27.3" if KERNEL_V_2_6_27_3 - default "2.6.27.4" if KERNEL_V_2_6_27_4 - default "2.6.27.5" if KERNEL_V_2_6_27_5 - default "2.6.27.6" if KERNEL_V_2_6_27_6 - default "2.6.27.7" if KERNEL_V_2_6_27_7 - default "2.6.27.8" if KERNEL_V_2_6_27_8 - default "2.6.27.9" if KERNEL_V_2_6_27_9 - default "2.6.27.10" if KERNEL_V_2_6_27_10 - default "2.6.27.11" if KERNEL_V_2_6_27_11 - default "2.6.27.12" if KERNEL_V_2_6_27_12 - default "2.6.27.13" if KERNEL_V_2_6_27_13 - default "2.6.27.14" if KERNEL_V_2_6_27_14 - default "2.6.27.15" if KERNEL_V_2_6_27_15 - default "2.6.27.16" if KERNEL_V_2_6_27_16 - default "2.6.27.17" if KERNEL_V_2_6_27_17 - default "2.6.27.18" if KERNEL_V_2_6_27_18 - default "2.6.27.19" if KERNEL_V_2_6_27_19 - default "2.6.27.20" if KERNEL_V_2_6_27_20 default "2.6.27.21" if KERNEL_V_2_6_27_21 default "2.6.28" if KERNEL_V_2_6_28 default "2.6.28.1" if KERNEL_V_2_6_28_1 diff -r c4d124ed9f8e -r 5e5d1e6f55d3 config/libc/glibc-eglibc.in-common --- a/config/libc/glibc-eglibc.in-common Sun Apr 19 16:17:11 2009 +0000 +++ b/config/libc/glibc-eglibc.in-common Sun May 03 09:50:16 2009 +0000 @@ -3,6 +3,13 @@ if LIBC_glibc || LIBC_eglibc +# Some architectures require the ports addon. List them one by one here: +config ARCH_arm + select LIBC_GLIBC_USE_PORTS + +config ARCH_mips + select LIBC_GLIBC_USE_PORTS + comment "glibc/eglibc common options" config LIBC_GLIBC_EXTRA_CONFIG @@ -54,7 +61,7 @@ The ports addon contains some architecture ports that are not available in the official distribution. - For example, this is the case for ARM with for 2.4 and above. + For example, this is the case for ARM with glibc-2.4 and above. Say n only if you're sure that your architecture is in the official distribution for your chosen version. @@ -72,6 +79,12 @@ Eg.: crypt (for very old libces) +if LIBC_GLIBC_2_8_or_later && ( LIBC_GLIBC_USE_PORTS || ( LIBC_ADDONS_LIST != "" ) ) +comment "WARNING!!!" +comment "For glibc >= 2.8, addons are only available via a CVS checkout." +comment "Be sure to review the associated options, above." +endif + if KERNEL_linux choice diff -r c4d124ed9f8e -r 5e5d1e6f55d3 config/libc/glibc.in --- a/config/libc/glibc.in Sun Apr 19 16:17:11 2009 +0000 +++ b/config/libc/glibc.in Sun May 03 09:50:16 2009 +0000 @@ -40,10 +40,12 @@ config LIBC_V_2_8 bool prompt "2.8" + select LIBC_GLIBC_2_8_or_later config LIBC_V_2_9 bool prompt "2.9" + select LIBC_GLIBC_2_8_or_later # CT_INSERT_VERSION_ABOVE # Don't remove above line! @@ -76,6 +78,10 @@ # CT_INSERT_VERSION_STRING_ABOVE # Don't remove above line! +config LIBC_GLIBC_2_8_or_later + bool + default n + choice bool prompt "Retrieval method" @@ -84,6 +90,7 @@ config LIBC_GLIBC_TARBALL bool prompt "Released tarball" + depends on ! LIBC_GLIBC_2_8_or_later || ! ( LIBC_GLIBC_USE_PORTS || ( LIBC_ADDONS_LIST != "" ) ) help Until end of Februrary 2009, there was no tarball for glibc releases 2.8 and later. This was intentional. diff -r c4d124ed9f8e -r 5e5d1e6f55d3 configure --- a/configure Sun Apr 19 16:17:11 2009 +0000 +++ b/configure Sun May 03 09:50:16 2009 +0000 @@ -1,62 +1,10 @@ #!/bin/sh +myname="${0##*/}" + VERSION=$( cat .version ) DATE=$( date +%Y%m%d ) -# All absolutely required tools, one per line to ease diff. -# See function 'has_or_abort, below, for syntax -# - Hopefully, if gcc is present, then all associated tools will be -# - awk must be GNU awk -# - makeinfo for building docs, even if discarded later on -# - others obvious... :-/ -# -# Format of a pattern to check for, one per line: -# pattern := var_name : tool_pattern OR tool_pattern -# tool_pattern := tool_test OR tool_pattern || tool_test -# tool_test := tool=regexp OR tool -# tool := basename of the tool OR absolute pathname to the tool -# regexp := valid grep(1) extended regular expression, $( tool --version) -# will be matched against this regexp. -# -# In case a pattern list is given (eg foo || bar || buz), then tests are performed -# from left to right, stopping at the first matching test (like the shell -# would parse 'foo || bar || buz' ). -# -# Examples: -# bash:bash=^GNU bash, version 3\. -# - if ${bash} is set and non-null, does nothing -# - else ensures that bash exists in the PATH, and that $( bash --version ) -# matches the regexp '^GNU bash, version 3\.' -# - if so, then sets bash="$( which bash )" -# autoconf=(GNU Autoconf) || autoconf2.50 -# - does not look at an existing variable -# - ensures that: -# - 'autoconf' is to be found in the PATH, and that $( autoconf --version ) -# matches the regexp '(GNU Autoconf)' (which btw is the signature of -# autoconf >= 2.50), -# OR that: -# - 'autoconf2.50' is to be found in the PATH -# -TOOLS_TO_CHECK=' -bash:bash=^GNU bash, version [34]\. -cut -xargs -install:install=GNU coreutils -make:make=^GNU Make -gcc -awk:awk=^GNU Awk || gawk=^GNU Awk -bison -flex -makeinfo -automake=\(GNU automake\) (1\.[[:digit:]]{2,}\.|[2-9][[:digit:]]*\.) -libtool=\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+) -curl || wget -patch -tar -gzip -bzip2 -' - PREFIX_DEFAULT=/usr/local BINDIR_set= @@ -64,101 +12,16 @@ DOCDIR_set= MANDIR_set= LOCAL_set= +FORCE= do_quit= # Simply print the error message, and exit. Obvious, he? do_error() { - echo "${@}" + echo "${myname}: ${@}" exit 1 } -# A small function to test for existence of various tools -# Usage: has_or_abort test_pattern (see top of file, TOOLS_TO_CHECK, for -# complete pattern format) -has_or_abort() { - local save_IFS - local var_name - local var_value - local tool_pattern - local field - - var_name="$( echo "${1}" |"${sed}" -r -e 's/^(([^=:]+):.+|[^:=]+=.+|[^:=]+)$/\2/;' )" - field="${var_name:+2}" - field="${field:-1}" - tool_pattern="$( echo "${1}" |cut -d : -f ${field}- |"${sed}" -r -e 's/ *\|\| */\n/g;' )" - - save_IFS="${IFS}" - # Set IFS to \n only - IFS=' -' - for item in ${tool_pattern}; do - case "${item}" in - *=*) - tool="${item%%=*}" - regexp="${item#*=}" - ;; - *) tool="${item}" - regexp= - ;; - esac - - printf "Checking for '${tool}'... " - if [ -n "${var_name}" ]; then - eval var_value='"${'"${var_name}"'}"' - if [ -n "${var_value}" ]; then - echo "${var_value} (cached)" - return 0 - fi - fi - where=$( which "${tool}" 2>/dev/null ) - if [ -z "${where}" ]; then - echo "not found" - where= - continue - elif [ -n "${regexp}" ]; then - tool_version=$( ${tool} --version 2>&1 ) - str=$( echo "${tool_version}" |"${grep}" -E "${regexp}" |head -n 1 ) - if [ -z "${str}" ]; then - echo "not found" - where="" - continue - fi - fi - break - done - if [ -z "${where}" ]; then - for item in ${tool_pattern}; do - case "${item}" in - *=*) - tool="${item%%=*}" - regexp="${item#*=}" - ;; - *) tool="${item}" - regexp= - ;; - esac - printf " could not find '${tool}'" - [ -n "${regexp}" ] && printf " matching regexp '${regexp}'" - echo - done - echo "Either you are missing entirely the needed tool," - echo "or the version you have is too old." - if [ -n "${var_name}" ]; then - echo "You can give the path to this tool using: --with-${var_name}=PATH" - fi - # FORCE can be set in the environment - [ -z "${FORCE}" ] && do_error "Bailing out..." - else - echo "${where}" - if [ -n "${var_name}" ]; then - eval ${var_name}='"'"${where}"'"' - fi - fi - IFS="${save_IFS}" - return 0 -} - # Given an option string and the following argument, # echoes the value of the option. # If --var=val => echoes val and returns 0, meaning second arg was not consumed @@ -203,6 +66,130 @@ eval ${var_name}="\$( get_optval "$1" "$2" )" } +# var_list is a list of variables, each one holding a path to a +# tool, either detected by ./configure, or specified by the user. +var_list="" + +# This function adds a variable name to the above list of variable names. +# $1: the name of the variable to add to the list +add_to_var_list() { + var_list="${var_list} ${1}" +} + +# A function to test for required tools/headers/libraries +# $*: [prog|inc|lib]= +# the name(s) of tool(s) to test for +# mandatory +# eg: prog=bash prog="curl wget" +# $*: var= +# the name of the variable to test and set +# optional +# eg: var=bash if ${bash} is set and non-null, use that, +# else check for bash and set bash=$(which bash) +# $*: ver= +# for each 'prog', test if $(prog --version) matches 'regexp' +# optional +# eg: ver='^GNU bash, version [34]\.' +# $*: err= +# the error message to print if tool is missing +# optional, defaults to: '${prog}: none found' +# eg: err="'bash' 3.x or above was not found" +has_or_abort() { + local prog inc lib + local var ver err + local val + local item + local where + local version + local status + + for item in "${@}"; do + case "${item}" in + prog=*|inc=*|lib=*|var=*|ver=*|err=*) + eval ${item%%=*}="'${item#*=}'" + ;; + *) do_error "has_or_abort: incorrect parameters: '$@'";; + esac + done + + case "${prog}:${inc}:${lib}" in + ?*::) + for item in ${prog}; do + printf "Checking for '${item}'... " + if [ -n "${var}" ]; then + eval val="\${${var}}" + if [ -n "${val}" ]; then + printf "${val} (cached)\n" + return 0 + fi + fi + where="$( which "${item}" 2>/dev/null )" + if [ -z "${where}" ]; then + printf "no\n" + continue + elif [ -n "${ver}" ]; then + version=$( ${where} --version 2>&1 ) + str=$( echo "${version}" |grep -E "${ver}" |head -n 1 ) + if [ -z "${str}" ]; then + printf "no\n" + unset where + continue + fi + fi + status="${where}" + break + done + ;; + :?*:) + for item in ${inc}; do + printf "Checking for '${item}'... " + if printf "#include \"${item}\"" |gcc -x c -c - -o /dev/null >/dev/null 2>&1; then + where="${item}" + status=yes + break; + fi + printf "no\n" + done + ;; + ::?*) + for item in ${lib}; do + printf "Checking for '${item}'... " + where="$( gcc -print-file-name="${item}" )" + if [ "${where}" != "${item}" ]; then + where="$( readlink -e "${where}" )" + status=yes + break; + fi + printf "no\n" + done + ;; + esac + if [ -z "${status}" ]; then + printf "\n${err:-${prog}${inc}${lib}: none found}\n\n" + printf "Either you are missing entirely the needed tool,\n" + printf "or the version you have is too old.\n" + if [ -n "${var}" ]; then + printf "You can give the path to this tool using: --with-${var}=PATH\n" + fi + # FORCE can be set in the environment + [ -z "${FORCE}" ] && do_error "Bailing out..." + printf "\n" + printf "<* *>\n" + printf "<* FORCE in action: *>\n" + printf "<* Continuing despite missing pre-requisite *>\n" + printf "<* Prepare for breakage *>\n" + printf "<* *>\n" + printf "\n" + else + printf "${status}" + if [ -n "${var}" ]; then + eval ${var}='"'"${where}"'"' + add_to_var_list "${var}" + fi + printf "\n" + fi +} + do_help() { cat <<__EOF__ \`configure' configures crosstool-NG-${VERSION} to adapt to many kind of systems. @@ -213,6 +200,8 @@ Configuration: -h, --help display this help and exit + --force force configure to continue, even in case + some pre-requisites are missing Installation directories: --prefix=PREFIX install files in PREFIX [${PREFIX_DEFAULT}] @@ -233,10 +222,9 @@ Optional Features: --with-install=PATH Specify the full PATH to GNU install - --with-make=PATH Specify the full PATH to GNU make + --with-make=PATH Specify the full PATH to GNU make >= 3.80 --with-grep=PATH Specify the full PATH to GNU grep --with-sed=PATH Specify the full PATH to GNU sed - --with-awk=PATH Specify the full PATH to GNU awk --with-bash=PATH Specify the full PATH to bash >= 3.0 __EOF__ } @@ -246,13 +234,14 @@ while [ $# -ne 0 ]; do case "$1" in - --local) LOCAL_set=1; shift;; + --local) LOCAL_set="y"; shift;; --prefix*) set_prefix "$1" "$2" && shift || shift 2;; --bindir*) set_bindir "$1" "$2" && shift || shift 2;; --libdir*) set_libdir "$1" "$2" && shift || shift 2;; --docdir*) set_docdir "$1" "$2" && shift || shift 2;; --mandir*) set_mandir "$1" "$2" && shift || shift 2;; --with-*) set_tool "$1" "$2" && shift || shift 2;; + --force) FORCE=1; shift;; --help|-h) do_help; exit 0;; *) echo "Unrecognised option: '${1}'"; do_help; exit 1;; esac @@ -262,7 +251,7 @@ [ -z "${PREFIX}" ] && set_prefix "" "${PREFIX_DEFAULT}" # Special case when installing locally -if [ "${LOCAL_set}" = "1" ]; then +if [ "${LOCAL_set}" = "y" ]; then set_prefix "" "$( pwd )" set_bindir "" "$( pwd )" set_libdir "" "$( pwd )" @@ -298,6 +287,7 @@ echo "You can give the path to this tool using: --with-grep=PATH" do_error "Bailing out..." fi +add_to_var_list grep printf "Checking for 'sed'... " if [ -n "${sed}" ]; then @@ -325,24 +315,53 @@ echo "You can give the path to this tool using: --with-sed=PATH" do_error "Bailing out..." fi +add_to_var_list sed -# Check the existence of absolutely required tools -save_IFS="${IFS}" -IFS=' -' -for tool in ${TOOLS_TO_CHECK}; do - has_or_abort "${tool}" -done -IFS="${save_IFS}" +# The regular list of tools we can now easily check for +has_or_abort prog=bash \ + var=bash \ + ver='^GNU bash, version [34]\.' \ + err="'bash' 3.x or above was not found" +has_or_abort prog=cut +has_or_abort prog=install var=install +has_or_abort prog=make \ + var=make \ + ver='^GNU Make (3.[89][[:digit:]]|[4-9])' \ + err="GNU 'make' 3.80 or above was not found" +has_or_abort prog=gcc +has_or_abort prog=awk +has_or_abort prog=bison +has_or_abort prog=flex +has_or_abort prog=makeinfo +has_or_abort prog=automake \ + ver='\(GNU automake\) (1\.[[:digit:]]{2,}\.|[2-9][[:digit:]]*\.)' \ + err="'automake' 1.10 or above was not found" +has_or_abort prog=libtool \ + ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)' \ + err="'libtool' 1.5.26 or above was not found" +has_or_abort prog="curl wget" +has_or_abort prog=patch +has_or_abort prog=tar +has_or_abort prog=gzip +has_or_abort prog=bzip2 +has_or_abort prog=lzma +has_or_abort prog=readlink + +has_or_abort inc="ncurses/ncurses.h ncurses/curses.h ncurses.h curses.h" \ + err="'ncurses' headers files were not found" + +has_or_abort lib="$( echo lib{ncursesw,ncurses,curses}.{so,a,dylib} )" \ + err="'ncurses' library was not found" #--------------------------------------------------------------------- # Compute the version string # If this version is a svn snapshot, try to get the revision number # If we can't get the revision number, use date -printf "Computing version string... " case "${VERSION}" in *+svn|svn) + has_or_abort prog=svnversion + printf "Computing version string... " REVISION="$( LC_ALL=C svnversion )" case "${REVISION}" in exported) @@ -389,11 +408,6 @@ # That's all, folks! printf "Building up Makefile... " -var_list="grep - sed - $( printf "${TOOLS_TO_CHECK}" \ - |"${sed}" -r -e 's/^(([^=:]+):.+|[^:=]+=.+|[^:=]+)$/\2/;' - )" var_sed="$( for var_name in ${var_list}; do eval echo 's,@@${var_name}@@,${'"${var_name}"'},g' done @@ -419,5 +433,7 @@ Now run: make - make install __EOF__ +if [ "${LOCAL_set}" != "y" ]; then + printf " make install\n" +fi diff -r c4d124ed9f8e -r 5e5d1e6f55d3 docs/overview.txt --- a/docs/overview.txt Sun Apr 19 16:17:11 2009 +0000 +++ b/docs/overview.txt Sun May 03 09:50:16 2009 +0000 @@ -277,13 +277,17 @@ Show obsolete versions or tools. Most of the time, you don't want to base your toolchain on too old a version (of gcc, for example). But at times, it can come handy to use such an old version for regression tests. Those old - versions are hidden behind CT_OBSOLETE. + versions are hidden behind CT_OBSOLETE. Those versions (or features) are so + marked because maintaining support for those in crosstool-NG would be too + costly, time-wise, and time is dear. CT_EXPERIMENTAL: Show experimental versions or tools. Again, you might not want to base your toolchain on too recent tools (eg. gcc) for production. But if you need a feature present only in a recent version, or a new tool, you can find them - hidden behind CT_EXPERIMENTAL. + hidden behind CT_EXPERIMENTAL. Those versions (or features) did not (yet) + receive thorough testing in crosstool-NG, and/or are not mature enough to + be blindly trusted. Re-building an existing toolchain | ----------------------------------+ diff -r c4d124ed9f8e -r 5e5d1e6f55d3 patches/glibc/2.7/300-binutils-_begin.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.7/300-binutils-_begin.patch Sun May 03 09:50:16 2009 +0000 @@ -0,0 +1,190 @@ +--- glibc-2.7.OLD/elf/Makefile 2009-04-22 17:08:55.000000000 +0300 ++++ glibc-2.7/elf/Makefile 2009-04-22 18:09:18.000000000 +0300 +@@ -1,4 +1,4 @@ +-# Copyright (C) 1995-2004, 2005, 2006, 2007 Free Software Foundation, Inc. ++# Copyright (C) 1995-2007, 2008, 2009 Free Software Foundation, Inc. + # This file is part of the GNU C Library. + + # The GNU C Library is free software; you can redistribute it and/or +@@ -23,7 +23,7 @@ + headers = elf.h bits/elfclass.h link.h bits/link.h + routines = $(dl-routines) dl-support dl-iteratephdr \ + dl-addr enbl-secure dl-profstub \ +- dl-origin dl-libc dl-sym dl-tsd ++ dl-origin dl-libc dl-sym dl-tsd dl-sysdep + + # The core dynamic linking functions are in libc for the static and + # profiled libraries. +@@ -33,7 +33,8 @@ + execstack caller open close trampoline) + all-dl-routines = $(dl-routines) $(sysdep-dl-routines) + # But they are absent from the shared libc, because that code is in ld.so. +-elide-routines.os = $(all-dl-routines) dl-support enbl-secure dl-origin ++elide-routines.os = $(all-dl-routines) dl-support enbl-secure dl-origin \ ++ dl-sysdep + shared-only-routines += dl-caller + + # ld.so uses those routines, plus some special stuff for being the program +@@ -120,13 +121,6 @@ + install-bin-script = ldd + endif + +-ifeq (yes,$(build-static-nss)) +-nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss) +-resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv) +-otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \ +- $(resolvobjdir)/libresolv.a +-endif +- + others = sprof sln + install-bin = sprof + others-static = sln +@@ -165,14 +159,14 @@ + endif + ifeq (yes,$(build-shared)) + tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \ +- constload1 order $(tests-vis-$(have-protected)) noload filter unload \ ++ constload1 order vismain noload filter unload \ + reldep reldep2 reldep3 reldep4 nodelete nodelete2 \ + nodlopen nodlopen2 neededtest neededtest2 \ + neededtest3 neededtest4 unload2 lateglobal initfirst global \ + restest2 next dblload dblunload reldep5 reldep6 reldep7 reldep8 \ + circleload1 tst-tls3 tst-tls4 tst-tls5 tst-tls6 tst-tls7 tst-tls8 \ + tst-tls10 tst-tls11 tst-tls12 tst-tls13 tst-tls14 tst-tls15 \ +- tst-tls-dlinfo \ ++ tst-tls16 tst-tls17 tst-tls18 tst-tls-dlinfo \ + tst-align tst-align2 $(tests-execstack-$(have-z-execstack)) \ + tst-dlmodcount tst-dlopenrpath tst-deep1 \ + tst-dlmopen1 tst-dlmopen2 tst-dlmopen3 \ +@@ -181,16 +175,17 @@ + tst-stackguard1 tst-addr1 tst-thrlock + # reldep9 + test-srcs = tst-pathopt +-tests-vis-yes = vismain + tests-execstack-yes = tst-execstack tst-execstack-needed tst-execstack-prog + endif + ifeq (yesyes,$(have-fpie)$(build-shared)) + tests: $(objpfx)tst-pie1.out + endif + tests: $(objpfx)tst-leaks1-mem ++tlsmod17a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ++tlsmod18a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 + modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \ + testobj1_1 failobj constload2 constload3 unloadmod \ +- dep1 dep2 dep3 dep4 $(modules-vis-$(have-protected)) \ ++ dep1 dep2 dep3 dep4 vismod1 vismod2 vismod3 \ + nodelmod1 nodelmod2 nodelmod3 nodelmod4 \ + nodel2mod1 nodel2mod2 nodel2mod3 \ + nodlopenmod nodlopenmod2 filtmod1 filtmod2 \ +@@ -206,7 +201,10 @@ + tst-tlsmod5 tst-tlsmod6 tst-tlsmod7 tst-tlsmod8 \ + tst-tlsmod9 tst-tlsmod10 tst-tlsmod11 tst-tlsmod12 \ + tst-tlsmod13 tst-tlsmod13a tst-tlsmod14a tst-tlsmod14b \ +- tst-tlsmod15a tst-tlsmod15b \ ++ tst-tlsmod15a tst-tlsmod15b tst-tlsmod16a tst-tlsmod16b \ ++ $(patsubst %,tst-tlsmod17a%,$(tlsmod17a-suffixes)) \ ++ tst-tlsmod17b \ ++ $(patsubst %,tst-tlsmod18a%,$(tlsmod18a-suffixes)) \ + circlemod1 circlemod1a circlemod2 circlemod2a \ + circlemod3 circlemod3a \ + reldep8mod1 reldep8mod2 reldep8mod3 \ +@@ -226,7 +224,6 @@ + ifeq (yesyes,$(have-fpie)$(build-shared)) + modules-names += tst-piemod1 + endif +-modules-vis-yes = vismod1 vismod2 vismod3 + modules-execstack-yes = tst-execstack-mod + extra-test-objs += $(addsuffix .os,$(strip $(modules-names))) + # We need this variable to be sure the test modules get the right CPPFLAGS. +@@ -307,7 +304,7 @@ + $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 | \ + LC_ALL=C \ + sed -e '/^=========/,/^=========/!d;/^=========/d' \ +- -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \ ++ -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \ + > $@.lds + $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \ + $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now)) \ +@@ -315,7 +312,7 @@ + -Wl,-soname=$(rtld-installed-name) -T $@.lds + rm -f $@.lds + readelf -s $@ \ +- | awk '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }' ++ | $(AWK) '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }' + + # interp.c exists just to get this string into the libraries. + CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \ +@@ -499,6 +496,7 @@ + tst-tlsmod14a.so-no-z-defs = yes + tst-tlsmod14b.so-no-z-defs = yes + tst-tlsmod15a.so-no-z-defs = yes ++tst-tlsmod16b.so-no-z-defs = yes + circlemod2.so-no-z-defs = yes + circlemod3.so-no-z-defs = yes + circlemod3a.so-no-z-defs = yes +@@ -718,6 +716,22 @@ + + + ++$(objpfx)tst-tls16: $(libdl) ++$(objpfx)tst-tls16.out: $(objpfx)tst-tlsmod16a.so $(objpfx)tst-tlsmod16b.so ++ ++$(objpfx)tst-tls17: $(libdl) ++$(objpfx)tst-tls17.out: $(objpfx)tst-tlsmod17b.so ++$(patsubst %,$(objpfx)tst-tlsmod17a%.os,$(tlsmod17a-suffixes)): $(objpfx)tst-tlsmod17a%.os : tst-tlsmod17a.c ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ -DN=$* -DNOT_IN_libc=1 $< ++$(patsubst %,$(objpfx)tst-tlsmod17a%.so,$(tlsmod17a-suffixes)): $(objpfx)tst-tlsmod17a%.so: $(objpfx)ld.so ++$(objpfx)tst-tlsmod17b.so: $(patsubst %,$(objpfx)tst-tlsmod17a%.so,$(tlsmod17a-suffixes)) ++ ++$(objpfx)tst-tls18: $(libdl) ++$(objpfx)tst-tls18.out: $(patsubst %,$(objpfx)tst-tlsmod18a%.so,$(tlsmod18a-suffixes)) ++$(patsubst %,$(objpfx)tst-tlsmod18a%.os,$(tlsmod18a-suffixes)): $(objpfx)tst-tlsmod18a%.os : tst-tlsmod18a.c ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ -DN=$* -DNOT_IN_libc=1 $< ++$(patsubst %,$(objpfx)tst-tlsmod18a%.so,$(tlsmod18a-suffixes)): $(objpfx)tst-tlsmod18a%.so: $(objpfx)ld.so ++ + CFLAGS-tst-align.c = $(stack-align-test-flags) + CFLAGS-tst-align2.c = $(stack-align-test-flags) + CFLAGS-tst-alignmod.c = $(stack-align-test-flags) +@@ -804,7 +818,7 @@ + cmp $@ tst-array5-static.exp > /dev/null + + ifeq (yesyes,$(have-fpie)$(build-shared)) +-CFLAGS-tst-pie1.c += -fpie ++CFLAGS-tst-pie1.c += $(pie-ccflag) + + $(objpfx)tst-pie1.out: $(objpfx)tst-pie1 + $(elf-objpfx)$(rtld-installed-name) \ +@@ -845,10 +859,14 @@ + $(objpfx)tst-dlmodcount.out: $(test-modules) + + check-data := $(firstword $(wildcard \ +- $(patsubst %,../scripts/data/localplt-%.data,\ +- $(addsuffix -$(config-os),\ +- $(config-machine) $(base-machine))\ +- generic))) ++ $(foreach D,$(add-ons) scripts,\ ++ $(patsubst %,$(..)$D/data/localplt-%.data,\ ++ $(abi-name) \ ++ $(addsuffix -$(config-os),\ ++ $(config-machine) \ ++ $(base-machine)) \ ++ generic)))) ++ + tests: $(objpfx)check-localplt.out + + ifeq ($(have-thread-library),yes) +@@ -857,9 +875,11 @@ + + $(objpfx)check-localplt.out: $(objpfx)check-localplt \ + $(common-objpfx)libc.so \ +- $(common-objpfx)math/libm.so $(thread-dso) \ +- $(common-objpfx)rt/librt.so \ +- $(common-objpfx)dlfcn/libdl.so \ ++ $(common-objpfx)math/libm.so $(thread-dso) \ ++ $(common-objpfx)rt/librt.so \ ++ $(common-objpfx)dlfcn/libdl.so \ ++ $(common-objpfx)resolv/libresolv.so \ ++ $(common-objpfx)crypt/libcrypt.so \ + $(check-data) + $(dir $<)$(notdir $<) $(filter-out $< $(check-data),$^) | \ + LC_ALL=C sort | \ diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/alphaev56-unknown-linux-gnu/crosstool.config --- a/samples/alphaev56-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/alphaev56-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1454M -# Mon Mar 30 21:44:48 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:01 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -205,6 +199,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set # CT_KERNEL_V_2_6_29 is not set +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/arm-iphone-linux-gnueabi/crosstool.config --- a/samples/arm-iphone-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/arm-iphone-linux-gnueabi/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453M -# Sun Mar 29 12:56:11 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:02 2009 # # @@ -32,8 +32,6 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" # CT_USE_MIRROR is not set CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -197,6 +195,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set # CT_KERNEL_V_2_6_29 is not set +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/arm-unknown-eabi/crosstool.config --- a/samples/arm-unknown-eabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/arm-unknown-eabi/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:26:57 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:02 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/arm-unknown-elf/crosstool.config --- a/samples/arm-unknown-elf/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/arm-unknown-elf/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:27:07 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:03 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/arm-unknown-linux-gnu/crosstool.config --- a/samples/arm-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/arm-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 11:51:59 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:03 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -205,6 +199,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/arm-unknown-linux-gnueabi/crosstool.config --- a/samples/arm-unknown-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/arm-unknown-linux-gnueabi/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1454M -# Sun Mar 29 23:17:00 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:03 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -203,6 +197,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/arm-unknown-linux-uclibc/crosstool.config --- a/samples/arm-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/arm-unknown-linux-uclibc/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 11:59:23 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:04 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -205,6 +199,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/arm-unknown-linux-uclibcgnueabi/crosstool.config --- a/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 11:58:41 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:04 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -203,6 +197,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/armeb-unknown-eabi/crosstool.config --- a/samples/armeb-unknown-eabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/armeb-unknown-eabi/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -32,8 +32,6 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" # CT_USE_MIRROR is not set CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/armeb-unknown-linux-gnu/crosstool.config --- a/samples/armeb-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/armeb-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:03:44 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:04 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -205,6 +199,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/armeb-unknown-linux-gnueabi/crosstool.config --- a/samples/armeb-unknown-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/armeb-unknown-linux-gnueabi/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:06:40 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:05 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -203,6 +197,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/armeb-unknown-linux-uclibc/crosstool.config --- a/samples/armeb-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/armeb-unknown-linux-uclibc/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:08:21 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:05 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -205,6 +199,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config --- a/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:10:07 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:05 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -203,6 +197,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/i586-geode-linux-uclibc/crosstool.config --- a/samples/i586-geode-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/i586-geode-linux-uclibc/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:10:58 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:06 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -199,6 +193,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/i686-nptl-linux-gnu/crosstool.config --- a/samples/i686-nptl-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/i686-nptl-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:26:01 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:06 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -199,6 +193,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/ia64-unknown-linux-gnu/crosstool.config --- a/samples/ia64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/ia64-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453M -# Sun Mar 29 12:40:00 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:06 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" # CT_MIRROR_LS_R is not set CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -199,6 +193,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set # CT_KERNEL_V_2_6_29 is not set +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/mips-unknown-elf/crosstool.config --- a/samples/mips-unknown-elf/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/mips-unknown-elf/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -32,8 +32,6 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" # CT_USE_MIRROR is not set CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/mips-unknown-linux-uclibc/crosstool.config --- a/samples/mips-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/mips-unknown-linux-uclibc/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:28:23 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:07 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -201,6 +195,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/mipsel-unknown-linux-gnu/crosstool.config --- a/samples/mipsel-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/mipsel-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:29:39 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:07 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -201,6 +195,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/powerpc-405-linux-gnu/crosstool.config --- a/samples/powerpc-405-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/powerpc-405-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:30:22 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:10 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -200,6 +194,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/powerpc-860-linux-gnu/crosstool.config --- a/samples/powerpc-860-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/powerpc-860-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1451M -# Sat Mar 28 23:28:18 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:10 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -200,6 +194,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/powerpc-e500v2-linux-gnuspe/crosstool.config --- a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:31:50 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:11 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" # CT_MIRROR_LS_R is not set CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -201,6 +195,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/powerpc-unknown-linux-gnu/crosstool.config --- a/samples/powerpc-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/powerpc-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:32:51 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:12 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -200,6 +194,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/powerpc-unknown-linux-uclibc/crosstool.config --- a/samples/powerpc-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/powerpc-unknown-linux-uclibc/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:33:10 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:13 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -200,6 +194,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config --- a/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:34:19 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:15 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -200,6 +194,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/powerpc64-unknown-linux-gnu/crosstool.config --- a/samples/powerpc64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/powerpc64-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:35:07 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:16 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" # CT_MIRROR_LS_R is not set CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -201,6 +195,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/sh4-unknown-linux-gnu/crosstool.config --- a/samples/sh4-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/sh4-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1454M -# Mon Mar 30 19:45:55 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:17 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" # CT_MIRROR_LS_R is not set CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -203,6 +197,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set # CT_KERNEL_V_2_6_29 is not set +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/x86_64-unknown-linux-gnu/crosstool.config --- a/samples/x86_64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/x86_64-unknown-linux-gnu/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:37:31 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:18 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -199,6 +193,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 samples/x86_64-unknown-linux-uclibc/crosstool.config --- a/samples/x86_64-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 +++ b/samples/x86_64-unknown-linux-uclibc/crosstool.config Sun May 03 09:50:16 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1453 -# Sun Mar 29 12:37:47 2009 +# crosstool-NG version: svn_trunk@1474 +# Sun Apr 19 19:02:19 2009 # # @@ -32,15 +32,9 @@ # # CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set -# CT_USE_PROXY is not set -CT_PROXY_TYPE="none" CT_USE_MIRROR=y # CT_PREFER_MIRROR is not set -CT_MIRROR_HTTP=y -# CT_MIRROR_FTP is not set -CT_MIRROR_SCHEME="http" -CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org" -CT_MIRROR_BASE="/mirrors" +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/" CT_CONNECT_TIMEOUT=10 # CT_ONLY_DOWNLOAD is not set @@ -199,6 +193,8 @@ # CT_KERNEL_V_2_6_28_8 is not set # CT_KERNEL_V_2_6_28_9 is not set CT_KERNEL_V_2_6_29=y +# CT_KERNEL_V_2_6_29_1 is not set +# CT_KERNEL_V_select is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/build/internals.sh --- a/scripts/build/internals.sh Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/build/internals.sh Sun May 03 09:50:16 2009 +0000 @@ -18,7 +18,6 @@ -e 's|@@CT_bash@@|'"${bash}"'|g;' \ -e 's|@@CT_grep@@|'"${grep}"'|g;' \ -e 's|@@CT_make@@|'"${make}"'|g;' \ - -e 's|@@CT_awk@@|'"${awk}"'|g;' \ -e 's|@@CT_sed@@|'"${sed}"'|g;' \ "${CT_LIB_DIR}/scripts/populate.in" \ >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/build/kernel/linux.sh --- a/scripts/build/kernel/linux.sh Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/build/kernel/linux.sh Sun May 03 09:50:16 2009 +0000 @@ -47,7 +47,7 @@ # Only starting with 2.6.18 does headers_install is usable. We only # have 2.6 version available, so only test for sublevel. - k_sublevel=$("${awk}" '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile") + k_sublevel=$(awk '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile") [ ${k_sublevel} -ge 18 ] || CT_Abort "Kernel version >= 2.6.18 is needed to install kernel headers." V_OPT="V=${CT_KERNEL_LINUX_VERBOSE_LEVEL}" diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/build/libc/eglibc.sh --- a/scripts/build/libc/eglibc.sh Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/build/libc/eglibc.sh Sun May 03 09:50:16 2009 +0000 @@ -14,7 +14,6 @@ *) svn_action="export --force";; esac - CT_DoSetProxy ${CT_PROXY_TYPE} CT_DoExecLog ALL svn ${svn_action} -r "${CT_EGLIBC_REVISION:-HEAD}" "${svn_url}" . 2>&1 # Compress eglibc diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/build/mpfr.sh --- a/scripts/build/mpfr.sh Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/build/mpfr.sh Sun May 03 09:50:16 2009 +0000 @@ -42,7 +42,7 @@ # See: http://sourceware.org/ml/crossgcc/2008-11/msg00046.html # and: http://sourceware.org/ml/crossgcc/2008-11/msg00048.html libtoolize_opt= - case "$(libtoolize --version |head -n 1 |"${awk}" '{ print $(NF); }')" in + case "$(libtoolize --version |head -n 1 |awk '{ print $(NF); }')" in 0.*) ;; 1.*) ;; *) libtoolize_opt=-i;; diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/config.guess --- a/scripts/config.guess Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/config.guess Sun May 03 09:50:16 2009 +0000 @@ -1115,8 +1115,11 @@ pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/config.sub --- a/scripts/config.sub Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/config.sub Sun May 03 09:50:16 2009 +0000 @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -timestamp='2009-02-03' +timestamp='2009-04-17' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -272,6 +272,7 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | moxie \ | mt \ | msp430 \ | nios | nios2 \ diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/functions --- a/scripts/functions Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/functions Sun May 03 09:50:16 2009 +0000 @@ -288,103 +288,6 @@ return 0 } -# Set environment for proxy access -# Usage: CT_DoSetProxy -# where proxy_type is one of 'http', 'sockssys', 'socks4' or 'socks5', -# or empty (to not change proxy settings). -CT_DoSetProxy() { - case "${1}" in - http) - http_proxy="http://" - case "${CT_PROXY_USER}:${CT_PROXY_PASS}" in - :) ;; - :*) http_proxy="${http_proxy}:${CT_PROXY_PASS}@";; - *:) http_proxy="${http_proxy}${CT_PROXY_USER}@";; - *:*) http_proxy="${http_proxy}${CT_PROXY_USER}:${CT_PROXY_PASS}@";; - esac - export http_proxy="${http_proxy}${CT_PROXY_HOST}:${CT_PROXY_PORT}/" - export https_proxy="${http_proxy}" - export ftp_proxy="${http_proxy}" - CT_DoLog DEBUG "http_proxy='${http_proxy}'" - ;; - sockssys) - CT_HasOrAbort tsocks - . tsocks -on - ;; - socks*) - # Remove any lingering config file from any previous run - rm -f "${CT_BUILD_DIR}/tsocks.conf" - # Find all interfaces and build locally accessible networks - server_ip=$(ping -c 1 -W 2 "${CT_PROXY_HOST}" |head -n 1 |sed -r -e 's/^[^\(]+\(([^\)]+)\).*$/\1/;' || true) - CT_TestOrAbort "SOCKS proxy '${CT_PROXY_HOST}' has no IP." -n "${server_ip}" - /sbin/ifconfig |"${awk}" -v server_ip="${server_ip}" ' - BEGIN { - split( server_ip, tmp, "\\." ); - server_ip_num = tmp[1] * 2^24 + tmp[2] * 2^16 + tmp[3] * 2^8 + tmp[4] * 2^0; - pairs = 0; - } - - $0 ~ /^[[:space:]]*inet addr:/ { - split( $2, tmp, ":|\\." ); - if( ( tmp[2] == 127 ) && ( tmp[3] == 0 ) && ( tmp[4] == 0 ) && ( tmp[5] == 1 ) ) { - /* Skip 127.0.0.1, it'\''s taken care of by tsocks itself */ - next; - } - ip_num = tmp[2] * 2^24 + tmp[3] * 2^16 + tmp[4] * 2 ^8 + tmp[5] * 2^0; - i = 32; - do { - i--; - mask = 2^32 - 2^i; - } while( (i!=0) && ( and( server_ip_num, mask ) == and( ip_num, mask ) ) ); - mask = and( 0xFFFFFFFF, lshift( mask, 1 ) ); - if( (i!=0) && (mask!=0) ) { - masked_ip = and( ip_num, mask ); - for( i=0; i"${CT_BUILD_DIR}/tsocks.conf" - ( echo "server = ${server_ip}"; - echo "server_port = ${CT_PROXY_PORT}"; - [ -n "${CT_PROXY_USER}" ] && echo "default_user=${CT_PROXY_USER}"; - [ -n "${CT_PROXY_PASS}" ] && echo "default_pass=${CT_PROXY_PASS}"; - ) >>"${CT_BUILD_DIR}/tsocks.conf" - case "${CT_PROXY_TYPE/socks}" in - 4|5) proxy_type="${CT_PROXY_TYPE/socks}";; - auto) - reply=$(inspectsocks "${server_ip}" "${CT_PROXY_PORT}" 2>&1 || true) - case "${reply}" in - *"server is a version 4 socks server") proxy_type=4;; - *"server is a version 5 socks server") proxy_type=5;; - *) CT_Abort "Unable to determine SOCKS proxy type for '${CT_PROXY_HOST}:${CT_PROXY_PORT}'" - esac - ;; - esac - echo "server_type = ${proxy_type}" >> "${CT_BUILD_DIR}/tsocks.conf" - CT_HasOrAbort tsocks - # If tsocks was found, then validateconf is present (distributed with tsocks). - CT_DoExecLog DEBUG validateconf -f "${CT_BUILD_DIR}/tsocks.conf" - export TSOCKS_CONF_FILE="${CT_BUILD_DIR}/tsocks.conf" - . tsocks -on - ;; - esac -} - # Download an URL using wget # Usage: CT_DoGetFileWget CT_DoGetFileWget() { @@ -506,10 +409,9 @@ # Add URLs on the LAN mirror LAN_URLS= if [ "${CT_USE_MIRROR}" = "y" ]; then - CT_TestOrAbort "Please set the LAN mirror hostname" -n "${CT_MIRROR_HOSTNAME}" - CT_TestOrAbort "Please tell me where to find tarballs on the LAN mirror '${CT_MIRROR_HOSTNAME}'" -n "${CT_MIRROR_BASE}" - LAN_URLS="${LAN_URLS} ${CT_MIRROR_SCHEME}://${CT_MIRROR_HOSTNAME}/${CT_MIRROR_BASE}/${file%-*}" - LAN_URLS="${LAN_URLS} ${CT_MIRROR_SCHEME}://${CT_MIRROR_HOSTNAME}/${CT_MIRROR_BASE}" + CT_TestOrAbort "Please set the mirror base URL" -n "${CT_MIRROR_BASE_URL}" + LAN_URLS="${LAN_URLS} ${CT_MIRROR_BASE_URL}/${file%-*}" + LAN_URLS="${LAN_URLS} ${CT_MIRROR_BASE_URL}" if [ "${CT_PREFER_MIRROR}" = "y" ]; then CT_DoLog DEBUG "Pre-pending LAN mirror URLs" @@ -521,7 +423,6 @@ fi # Scan all URLs in turn, and try to grab a tarball from there - CT_DoSetProxy ${CT_PROXY_TYPE} for ext in ${first_ext} .tar.bz2 .tar.gz .tgz .tar ''; do # Try all urls in turn for url in ${URLS}; do @@ -567,7 +468,6 @@ CT_MktempDir tmp_dir CT_Pushd "${tmp_dir}" - CT_DoSetProxy ${CT_PROXY_TYPE} CT_DoExecLog ALL cvs -z 9 -d "${uri}" co -P ${tag} "${module}" [ -n "${dirname}" ] && CT_DoExecLog ALL mv "${module}" "${dirname}" CT_DoExecLog ALL tar cjf "${CT_TARBALLS_DIR}/${basename}.tar.bz2" "${dirname:-${module}}" @@ -600,7 +500,6 @@ CT_MktempDir tmp_dir CT_Pushd "${tmp_dir}" - CT_DoSetProxy ${CT_PROXY_TYPE} CT_DoExecLog ALL svn export ${rev:+-r ${rev}} "${uri}" "${basename}" CT_DoExecLog ALL tar cjf "${CT_TARBALLS_DIR}/${basename}.tar.bz2" "${basename}" CT_SaveLocal "${CT_TARBALLS_DIR}/${basename}.tar.bz2" @@ -844,8 +743,8 @@ CT_DoLog DEBUG " Saving environment and aliases" # We must omit shell functions, and some specific bash variables # that break when restoring the environment, later. We could do - # all the processing in the gawk script, but a sed is easier... - set |"${awk}" ' + # all the processing in the awk script, but a sed is easier... + set |awk ' BEGIN { _p = 1; } $0~/^[^ ]+ \(\)/ { _p = 0; } _p == 1 diff -r c4d124ed9f8e -r 5e5d1e6f55d3 scripts/saveSample.sh.in --- a/scripts/saveSample.sh.in Sun Apr 19 16:17:11 2009 +0000 +++ b/scripts/saveSample.sh.in Sun May 03 09:50:16 2009 +0000 @@ -78,8 +78,8 @@ CT_DoAddFileToSample() { source="$1" dest="$2" - inode_s=$(ls -i "${source}" |"${awk}" '{ print $1; }') - inode_d=$(ls -i "${dest}" 2>/dev/null |"${awk}" '{ print $1; }' || true) + inode_s=$(ls -i "${source}" |awk '{ print $1; }') + inode_d=$(ls -i "${dest}" 2>/dev/null |awk '{ print $1; }' || true) if [ "${inode_s}" != "${inode_d}" ]; then cp "${source}" "${dest}" fi