From 8a2b17ab5eb0b279354b431d6a83c39751a36d6a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 8 May 2007 17:48:32 +0000 Subject: Huge fixes to glibc build, so that we can build at least (and at last): - use ports addon even when installing headers, - use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!), - lowest kernel version to use is only X.Y.Z, not X.Y.Z.T, - a bit of preparations for NPTL (RSN I hope), - fix fixing the linker scripts (changing the backup file is kind of useless and stupid); Shut uClibc finish step: there really is nothing to do; Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least); Did not catch the make errors: fixed the pattern matching in scripts/functions; Introduce a new log level, ALL: - send components' build messages there, - DEBUG log level is destined only for crosstool-NG debug messages, - migrate sub-actions to use appropriate log levels; Update the armeb-unknown-linux-gnu sample: - it builds! - uses gcc-4.0.4 and glibc-2.3.6, - updated to latest config options set. diff --git a/config/global.in b/config/global.in index 1f9c98f..9378bdf 100644 --- a/config/global.in +++ b/config/global.in @@ -242,8 +242,13 @@ config LOG_DEBUG bool prompt "DEBUG" help - The same as above, plus lots of debug information, of which each - component's build messages (very noisy!). + The same as above, plus lots of crosstool-NG debug information. + +config LOG_ALL + bool + prompt "ALL" + help + The same as above, plus all components build messages (very noisy!). endchoice @@ -254,6 +259,7 @@ config LOG_LEVEL_MAX default "INFO" if LOG_INFO default "EXTRA" if LOG_EXTRA default "DEBUG" if LOG_DEBUG + default "ALL" if LOG_ALL config LOG_SEE_TOOLS_WARN bool @@ -271,7 +277,7 @@ config LOG_PROGRESS_BAR bool prompt "Progress bar" default n - depends on ! LOG_DEBUG + depends on ! LOG_ALL help This option will print a "rotating bar" (/-\|) below the last log line to show work is not stalled. diff --git a/patches/glibc/2.3.6/weakalias.patch b/patches/glibc/2.3.6/weakalias.patch new file mode 100644 index 0000000..722365f --- /dev/null +++ b/patches/glibc/2.3.6/weakalias.patch @@ -0,0 +1,45 @@ +This one was taken from debian. + +# DP: Description: Fix __bind redefinition problem +# DP: Related bugs: +# DP: Dpatch author: Phil Blundell +# DP: Patch author: Daniel Jacobowitz +# DP: Upstream status: In CVS +# DP: Status Details: +# DP: Date: 2005-12-25 + +Index: sysdeps/unix/sysv/linux/arm/socket.S +=================================================================== +RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/socket.S,v +retrieving revision 1.12 +retrieving revision 1.13 +diff -u -r1.12 -r1.13 +--- glibc-2.3.6.ds1.orig/sysdeps/unix/sysv/linux/arm/socket.S 4 Dec 2004 21:20:16 -0000 1.12 ++++ glibc-2.3.6.ds1/sysdeps/unix/sysv/linux/arm/socket.S 27 Oct 2005 18:50:12 -0000 1.13 +@@ -1,4 +1,6 @@ +-/* Copyright (C) 1995, 1996, 1997, 1998, 2003 Free Software Foundation, Inc. ++/* Copyright (C) 1995, 1996, 1997, 1998, 2003, 2004, 2005 ++ 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 +@@ -32,7 +34,11 @@ + The .S files for the other calls just #define socket and #include this. */ + + #ifndef __socket ++#ifndef NO_WEAK_ALIAS + #define __socket P(__,socket) ++#else ++#define __socket socket ++#endif + #endif + + #define PUSHARGS_1 str a1, [sp, $-4]! +@@ -120,4 +126,6 @@ + + PSEUDO_END (__socket) + ++#ifndef NO_WEAK_ALIAS + weak_alias (__socket, socket) ++#endif diff --git a/samples/armeb-unknown-linux-gnu/crosstool.config b/samples/armeb-unknown-linux-gnu/crosstool.config index 7823ccb..be734dc 100644 --- a/samples/armeb-unknown-linux-gnu/crosstool.config +++ b/samples/armeb-unknown-linux-gnu/crosstool.config @@ -1,12 +1,14 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: 0.0.1 -# Sun Feb 25 12:06:43 2007 +# crosstool-NG version: 0.0.2-svn +# Tue May 8 18:48:51 2007 # # # Paths and misc options # +# CT_EXPERIMENTAL is not set +# CT_OBSOLETE is not set CT_PARALLEL_JOBS=1 CT_LOAD=0 CT_NICE=0 @@ -16,21 +18,24 @@ CT_USE_PIPES=y # Paths # CT_TARBALLS_DIR="${HOME}/dev/src" -CT_SRC_DIR="${HOME}/x-tools/src/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}" -CT_BUILD_DIR="${HOME}/x-tools/build/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}" -CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}" +CT_SRC_DIR="${CT_TOP_DIR}/build/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}/src" +CT_BUILD_DIR="${CT_TOP_DIR}/build/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}/build" +CT_PREFIX_DIR="/opt/x-tools/${CT_TARGET}" CT_INSTALL_DIR="${CT_PREFIX_DIR}" # CT_CUSTOM_PATCH is not set -# CT_CUSTOM_PATCH_ONLY is not set -CT_CUSTOM_PATCH_DIR="" +CT_REMOVE_DOCS=y # -# Downloading and extracting +# Downloading # -# CT_NO_DOWNLOAD is not set -# CT_ONLY_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set +# CT_ONLY_DOWNLOAD is not set + +# +# Extracting +# # CT_FORCE_EXTRACT is not set +# CT_ONLY_EXTRACT is not set # # Logging @@ -40,7 +45,9 @@ CT_CUSTOM_PATCH_DIR="" # CT_LOG_INFO is not set CT_LOG_EXTRA=y # CT_LOG_DEBUG is not set +# CT_LOG_ALL is not set CT_LOG_LEVEL_MAX="EXTRA" +# CT_LOG_SEE_TOOLS_WARN is not set # CT_LOG_PROGRESS_BAR is not set # CT_LOG_USE_COLORS is not set CT_LOG_TO_FILE=y @@ -53,19 +60,23 @@ CT_LOG_FILE="${CT_PREFIX_DIR}/${CT_TARGET}.log" # # General target options # +CT_ARCH="arm" CT_ARCH_ARM=y # CT_ARCH_MIPS is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set +CT_ARCH_SUPPORTS_BE=y +CT_ARCH_SUPPORTS_LE=y CT_ARCH_BE=y # CT_ARCH_LE is not set # # Target optimisations # +CT_ARCH_ARCH="armv5te" +CT_ARCH_ABI="" CT_ARCH_CPU="xscale" CT_ARCH_TUNE="xscale" -CT_ARCH_ARCH="armv5te" CT_ARCH_FPU="" # CT_ARCH_FLOAT_HW is not set CT_ARCH_FLOAT_SW=y @@ -75,27 +86,36 @@ CT_TARGET_CFLAGS="" # # Toolchain options # + +# +# General toolchain options +# CT_USE_SYSROOT=y CT_SHARED_LIBS=y # CT_TARGET_MULTILIB is not set CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS="" -CT_ARCH="arm" + +# +# Toolchain type +# +# CT_NATIVE is not set +CT_CROSS=y +# CT_CROSS_NATIVE is not set +# CT_CANADIAN is not set CT_BUILD="" CT_CC_NATIVE="gcc" -# CT_CANADIAN is not set -CT_HOST="" -CT_HOST_CC="" # # Kernel # CT_KERNEL_LINUX=y # CT_KERNEL_CYGWIN is not set -CT_KERNEL_VERSION="2.6.19.1" +CT_KERNEL_VERSION="2.6.21.1" CT_KERNEL_LINUX_HEADERS_INSTALL=y # CT_KERNEL_LINUX_HEADERS_SANITISED is not set # CT_KERNEL_LINUX_HEADERS_COPY is not set +# CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set CT_KERNEL="linux" CT_KERNEL_VERSION_SEE_EXTRAVERSION=y # CT_KERNEL_INSTALL_V_2_6_18 is not set @@ -106,144 +126,28 @@ CT_KERNEL_VERSION_SEE_EXTRAVERSION=y # CT_KERNEL_INSTALL_V_2_6_18_5 is not set # CT_KERNEL_INSTALL_V_2_6_18_6 is not set # CT_KERNEL_INSTALL_V_2_6_19 is not set -CT_KERNEL_INSTALL_V_2_6_19_1=y +# CT_KERNEL_INSTALL_V_2_6_19_1 is not set # CT_KERNEL_INSTALL_V_2_6_19_2 is not set # CT_KERNEL_INSTALL_V_2_6_20 is not set -# CT_KERNEL_COPY_V_2_6_0 is not set -# CT_KERNEL_COPY_V_2_6_1 is not set -# CT_KERNEL_COPY_V_2_6_2 is not set -# CT_KERNEL_COPY_V_2_6_3 is not set -# CT_KERNEL_COPY_V_2_6_4 is not set -# CT_KERNEL_COPY_V_2_6_5 is not set -# CT_KERNEL_COPY_V_2_6_6 is not set -# CT_KERNEL_COPY_V_2_6_7 is not set -# CT_KERNEL_COPY_V_2_6_8 is not set -# CT_KERNEL_COPY_V_2_6_8_1 is not set -# CT_KERNEL_COPY_V_2_6_9 is not set -# CT_KERNEL_COPY_V_2_6_10 is not set -# CT_KERNEL_COPY_V_2_6_11 is not set -# CT_KERNEL_COPY_V_2_6_11_1 is not set -# CT_KERNEL_COPY_V_2_6_11_10 is not set -# CT_KERNEL_COPY_V_2_6_11_11 is not set -# CT_KERNEL_COPY_V_2_6_11_12 is not set -# CT_KERNEL_COPY_V_2_6_11_2 is not set -# CT_KERNEL_COPY_V_2_6_11_3 is not set -# CT_KERNEL_COPY_V_2_6_11_4 is not set -# CT_KERNEL_COPY_V_2_6_11_5 is not set -# CT_KERNEL_COPY_V_2_6_11_6 is not set -# CT_KERNEL_COPY_V_2_6_11_7 is not set -# CT_KERNEL_COPY_V_2_6_11_8 is not set -# CT_KERNEL_COPY_V_2_6_11_9 is not set -# CT_KERNEL_COPY_V_2_6_12 is not set -# CT_KERNEL_COPY_V_2_6_12_1 is not set -# CT_KERNEL_COPY_V_2_6_12_2 is not set -# CT_KERNEL_COPY_V_2_6_12_3 is not set -# CT_KERNEL_COPY_V_2_6_12_4 is not set -# CT_KERNEL_COPY_V_2_6_12_5 is not set -# CT_KERNEL_COPY_V_2_6_12_6 is not set -# CT_KERNEL_COPY_V_2_6_13 is not set -# CT_KERNEL_COPY_V_2_6_13_1 is not set -# CT_KERNEL_COPY_V_2_6_13_2 is not set -# CT_KERNEL_COPY_V_2_6_13_3 is not set -# CT_KERNEL_COPY_V_2_6_13_4 is not set -# CT_KERNEL_COPY_V_2_6_13_5 is not set -# CT_KERNEL_COPY_V_2_6_14 is not set -# CT_KERNEL_COPY_V_2_6_14_1 is not set -# CT_KERNEL_COPY_V_2_6_14_2 is not set -# CT_KERNEL_COPY_V_2_6_14_3 is not set -# CT_KERNEL_COPY_V_2_6_14_4 is not set -# CT_KERNEL_COPY_V_2_6_14_5 is not set -# CT_KERNEL_COPY_V_2_6_14_6 is not set -# CT_KERNEL_COPY_V_2_6_14_7 is not set -# CT_KERNEL_COPY_V_2_6_15 is not set -# CT_KERNEL_COPY_V_2_6_15_1 is not set -# CT_KERNEL_COPY_V_2_6_15_2 is not set -# CT_KERNEL_COPY_V_2_6_15_3 is not set -# CT_KERNEL_COPY_V_2_6_15_4 is not set -# CT_KERNEL_COPY_V_2_6_15_5 is not set -# CT_KERNEL_COPY_V_2_6_15_6 is not set -# CT_KERNEL_COPY_V_2_6_15_7 is not set -# CT_KERNEL_COPY_V_2_6_16 is not set -# CT_KERNEL_COPY_V_2_6_16_1 is not set -# CT_KERNEL_COPY_V_2_6_16_10 is not set -# CT_KERNEL_COPY_V_2_6_16_11 is not set -# CT_KERNEL_COPY_V_2_6_16_12 is not set -# CT_KERNEL_COPY_V_2_6_16_13 is not set -# CT_KERNEL_COPY_V_2_6_16_14 is not set -# CT_KERNEL_COPY_V_2_6_16_15 is not set -# CT_KERNEL_COPY_V_2_6_16_16 is not set -# CT_KERNEL_COPY_V_2_6_16_17 is not set -# CT_KERNEL_COPY_V_2_6_16_18 is not set -# CT_KERNEL_COPY_V_2_6_16_19 is not set -# CT_KERNEL_COPY_V_2_6_16_2 is not set -# CT_KERNEL_COPY_V_2_6_16_20 is not set -# CT_KERNEL_COPY_V_2_6_16_21 is not set -# CT_KERNEL_COPY_V_2_6_16_22 is not set -# CT_KERNEL_COPY_V_2_6_16_23 is not set -# CT_KERNEL_COPY_V_2_6_16_24 is not set -# CT_KERNEL_COPY_V_2_6_16_25 is not set -# CT_KERNEL_COPY_V_2_6_16_26 is not set -# CT_KERNEL_COPY_V_2_6_16_27 is not set -# CT_KERNEL_COPY_V_2_6_16_28 is not set -# CT_KERNEL_COPY_V_2_6_16_29 is not set -# CT_KERNEL_COPY_V_2_6_16_3 is not set -# CT_KERNEL_COPY_V_2_6_16_30 is not set -# CT_KERNEL_COPY_V_2_6_16_31 is not set -# CT_KERNEL_COPY_V_2_6_16_32 is not set -# CT_KERNEL_COPY_V_2_6_16_33 is not set -# CT_KERNEL_COPY_V_2_6_16_34 is not set -# CT_KERNEL_COPY_V_2_6_16_35 is not set -# CT_KERNEL_COPY_V_2_6_16_36 is not set -# CT_KERNEL_COPY_V_2_6_16_4 is not set -# CT_KERNEL_COPY_V_2_6_16_5 is not set -# CT_KERNEL_COPY_V_2_6_16_6 is not set -# CT_KERNEL_COPY_V_2_6_16_7 is not set -# CT_KERNEL_COPY_V_2_6_16_8 is not set -# CT_KERNEL_COPY_V_2_6_16_9 is not set -# CT_KERNEL_COPY_V_2_6_17 is not set -# CT_KERNEL_COPY_V_2_6_17_1 is not set -# CT_KERNEL_COPY_V_2_6_17_10 is not set -# CT_KERNEL_COPY_V_2_6_17_11 is not set -# CT_KERNEL_COPY_V_2_6_17_12 is not set -# CT_KERNEL_COPY_V_2_6_17_13 is not set -# CT_KERNEL_COPY_V_2_6_17_14 is not set -# CT_KERNEL_COPY_V_2_6_17_2 is not set -# CT_KERNEL_COPY_V_2_6_17_3 is not set -# CT_KERNEL_COPY_V_2_6_17_4 is not set -# CT_KERNEL_COPY_V_2_6_17_5 is not set -# CT_KERNEL_COPY_V_2_6_17_6 is not set -# CT_KERNEL_COPY_V_2_6_17_7 is not set -# CT_KERNEL_COPY_V_2_6_17_8 is not set -# CT_KERNEL_COPY_V_2_6_17_9 is not set -# CT_KERNEL_COPY_V_2_6_18 is not set -# CT_KERNEL_COPY_V_2_6_18_1 is not set -# CT_KERNEL_COPY_V_2_6_18_2 is not set -# CT_KERNEL_COPY_V_2_6_18_3 is not set -# CT_KERNEL_COPY_V_2_6_18_4 is not set -# CT_KERNEL_COPY_V_2_6_18_5 is not set -# CT_KERNEL_COPY_V_2_6_18_6 is not set -# CT_KERNEL_COPY_V_2_6_19 is not set -# CT_KERNEL_COPY_V_2_6_19_1 is not set -# CT_KERNEL_SANITISED_V_2_6_7_0 is not set -# CT_KERNEL_SANITISED_V_2_6_8_0 is not set -# CT_KERNEL_SANITISED_V_2_6_8_1 is not set -# CT_KERNEL_SANITISED_V_2_6_9_0 is not set -# CT_KERNEL_SANITISED_V_2_6_9_1 is not set -# CT_KERNEL_SANITISED_V_2_6_10_0 is not set -# CT_KERNEL_SANITISED_V_2_6_11_0 is not set -# CT_KERNEL_SANITISED_V_2_6_11_1 is not set -# CT_KERNEL_SANITISED_V_2_6_11_2 is not set -# CT_KERNEL_SANITISED_V_2_6_12_0 is not set +# CT_KERNEL_INSTALL_V_2_6_20_1 is not set +# CT_KERNEL_INSTALL_V_2_6_20_2 is not set +# CT_KERNEL_INSTALL_V_2_6_20_3 is not set +# CT_KERNEL_INSTALL_V_2_6_20_4 is not set +# CT_KERNEL_INSTALL_V_2_6_20_5 is not set +# CT_KERNEL_INSTALL_V_2_6_20_6 is not set +# CT_KERNEL_INSTALL_V_2_6_20_7 is not set +# CT_KERNEL_INSTALL_V_2_6_21 is not set +CT_KERNEL_INSTALL_V_2_6_21_1=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -CT_KERNEL_LINUX_CONFIG_FILE="${CT_TOP_DIR}/samples/${CT_TARGET}/${CT_KERNEL}-${CT_KERNEL_VERSION}.config" +# CT_KERNEL_LINUX_NEEDS_CONFIG is not set # # binutils # -CT_BINUTILS_VERSION="2.17.50.0.10" +CT_BINUTILS_VERSION="2.17.50.0.14" # CT_BINUTILS_V_2_11_2 is not set # CT_BINUTILS_V_2_13_90 is not set # CT_BINUTILS_V_2_14 is not set @@ -264,7 +168,11 @@ CT_BINUTILS_VERSION="2.17.50.0.10" # CT_BINUTILS_V_2_17_50_0_7 is not set # CT_BINUTILS_V_2_17_50_0_8 is not set # CT_BINUTILS_V_2_17_50_0_9 is not set -CT_BINUTILS_V_2_17_50_0_10=y +# CT_BINUTILS_V_2_17_50_0_10 is not set +# CT_BINUTILS_V_2_17_50_0_11 is not set +# CT_BINUTILS_V_2_17_50_0_12 is not set +# CT_BINUTILS_V_2_17_50_0_13 is not set +CT_BINUTILS_V_2_17_50_0_14=y CT_BINUTILS_EXTRA_CONFIG="" # @@ -277,32 +185,7 @@ CT_BINUTILS_EXTRA_CONFIG="" # CT_CC_USE_CORE is not set CT_CC_CORE_GCC=y # CT_CC_CORE_TCC is not set -CT_CC_CORE_VERSION="" CT_CC_CORE="gcc" -# CT_CC_CORE_V_2_95_3 is not set -# CT_CC_CORE_V_3_2_3 is not set -# CT_CC_CORE_V_3_3 is not set -# CT_CC_CORE_V_3_3_1 is not set -# CT_CC_CORE_V_3_3_2 is not set -# CT_CC_CORE_V_3_3_3 is not set -# CT_CC_CORE_V_3_3_4 is not set -# CT_CC_CORE_V_3_3_5 is not set -# CT_CC_CORE_V_3_3_6 is not set -# CT_CC_CORE_V_3_4_0 is not set -# CT_CC_CORE_V_3_4_1 is not set -# CT_CC_CORE_V_3_4_2 is not set -# CT_CC_CORE_V_3_4_3 is not set -# CT_CC_CORE_V_3_4_4 is not set -# CT_CC_CORE_V_3_4_5 is not set -# CT_CC_CORE_V_3_4_6 is not set -# CT_CC_CORE_V_4_0_0 is not set -# CT_CC_CORE_V_4_0_1 is not set -# CT_CC_CORE_V_4_0_2 is not set -# CT_CC_CORE_V_4_0_3 is not set -# CT_CC_CORE_V_4_0_4 is not set -# CT_CC_CORE_V_4_1_0 is not set -# CT_CC_CORE_V_4_1_1 is not set -CT_CC_CORE_EXTRA_CONFIG="" # # Final C compiler @@ -325,6 +208,7 @@ CT_CC="gcc" # CT_CC_V_3_4_3 is not set # CT_CC_V_3_4_4 is not set # CT_CC_V_3_4_5 is not set +# CT_CC_V_3_4_6 is not set # CT_CC_V_4_0_0 is not set # CT_CC_V_4_0_1 is not set # CT_CC_V_4_0_2 is not set @@ -332,6 +216,8 @@ CT_CC="gcc" CT_CC_V_4_0_4=y # CT_CC_V_4_1_0 is not set # CT_CC_V_4_1_1 is not set +# CT_CC_V_4_1_2 is not set +CT_CC_CXA_ATEXIT=y CT_CC_EXTRA_CONFIG="" CT_CC_SUPPORT_CXX=y CT_CC_SUPPORT_FORTRAN=y @@ -343,7 +229,7 @@ CT_CC_SUPPORT_OBJCXX=y # # Additionnal supported languages: # -# CT_CC_LANG_CXX is not set +CT_CC_LANG_CXX=y # CT_CC_LANG_FORTRAN is not set # CT_CC_LANG_JAVA is not set # CT_CC_LANG_ADA is not set @@ -356,7 +242,7 @@ CT_CC_LANG_OTHERS="" # CT_LIBC_GLIBC=y # CT_LIBC_UCLIBC is not set -CT_LIBC_VERSION="2.4" +CT_LIBC_VERSION="2.3.6" CT_LIBC="glibc" # CT_LIBC_V_1_09_1 is not set # CT_LIBC_V_2_0_1 is not set @@ -376,8 +262,8 @@ CT_LIBC="glibc" # CT_LIBC_V_2_3_3 is not set # CT_LIBC_V_2_3_4 is not set # CT_LIBC_V_2_3_5 is not set -# CT_LIBC_V_2_3_6 is not set -CT_LIBC_V_2_4=y +CT_LIBC_V_2_3_6=y +# CT_LIBC_V_2_4 is not set # CT_LIBC_V_2_5 is not set # CT_LIBC_GLIBC_THREADS_NPTL is not set CT_LIBC_GLIBC_THREADS_LINUXTHREADS=y @@ -386,19 +272,6 @@ CT_LIBC_GLIBC_EXTRA_CONFIG="" CT_LIBC_GLIBC_EXTRA_CFLAGS="" CT_LIBC_EXTRA_CC_ARGS="" CT_LIBC_GLIBC_CONFIGPARMS="" -CT_LIBC_GLIBC_USE_PORTS=y -# CT_LIBC_ADDONS is not set -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_V_snapshot is not set -# CT_LIBC_V_specific_date is not set -# CT_LIBC_V_0_9_26 is not set -# CT_LIBC_V_0_9_27 is not set -# CT_LIBC_V_0_9_28 is not set -# CT_LIBC_V_0_9_28_1 is not set -# CT_LIBC_V_0_9_28_2 is not set -# CT_LIBC_UCLIBC_DEBUG_LEVEL_0 is not set -# CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set -# CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set -CT_LIBC_UCLIBC_DEBUG_LEVEL=0 -CT_LIBC_UCLIBC_CONFIG_FILE="" -# CT_LIBC_UCLIBC_LOCALES is not set +# CT_LIBC_GLIBC_USE_PORTS is not set +CT_LIBC_ADDONS=y +CT_LIBC_ADDONS_LIST="linuxthreads" diff --git a/samples/armeb-unknown-linux-gnu/linux-2.6.19.1.config b/samples/armeb-unknown-linux-gnu/linux-2.6.19.1.config deleted file mode 100644 index a3c490c..0000000 --- a/samples/armeb-unknown-linux-gnu/linux-2.6.19.1.config +++ /dev/null @@ -1,1197 +0,0 @@ -# -# Automatically generated make config: don't edit -# Linux kernel version: 2.6.19.1 -# Sat Dec 23 17:36:49 2006 -# -CONFIG_ARM=y -CONFIG_GENERIC_TIME=y -CONFIG_MMU=y -CONFIG_GENERIC_HARDIRQS=y -CONFIG_TRACE_IRQFLAGS_SUPPORT=y -CONFIG_HARDIRQS_SW_RESEND=y -CONFIG_GENERIC_IRQ_PROBE=y -CONFIG_RWSEM_GENERIC_SPINLOCK=y -CONFIG_GENERIC_HWEIGHT=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_VECTORS_BASE=0xffff0000 -CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -CONFIG_BROKEN_ON_SMP=y -CONFIG_INIT_ENV_ARG_LIMIT=32 - -# -# General setup -# -CONFIG_LOCALVERSION="-nslu2" -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_IPC_NS is not set -# CONFIG_POSIX_MQUEUE is not set -# CONFIG_BSD_PROCESS_ACCT is not set -# CONFIG_TASKSTATS is not set -# CONFIG_UTS_NS is not set -# CONFIG_AUDIT is not set -# CONFIG_IKCONFIG is not set -# CONFIG_RELAY is not set -CONFIG_INITRAMFS_SOURCE="" -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -CONFIG_SYSCTL=y -# CONFIG_EMBEDDED is not set -CONFIG_UID16=y -CONFIG_SYSCTL_SYSCALL=y -CONFIG_KALLSYMS=y -# CONFIG_KALLSYMS_ALL is not set -# CONFIG_KALLSYMS_EXTRA_PASS is not set -CONFIG_HOTPLUG=y -CONFIG_PRINTK=y -CONFIG_BUG=y -CONFIG_ELF_CORE=y -CONFIG_BASE_FULL=y -CONFIG_FUTEX=y -CONFIG_EPOLL=y -CONFIG_SHMEM=y -CONFIG_SLAB=y -CONFIG_VM_EVENT_COUNTERS=y -CONFIG_RT_MUTEXES=y -# CONFIG_TINY_SHMEM is not set -CONFIG_BASE_SMALL=0 -# CONFIG_SLOB is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -# CONFIG_MODVERSIONS is not set -# CONFIG_MODULE_SRCVERSION_ALL is not set -CONFIG_KMOD=y - -# -# Block layer -# -CONFIG_BLOCK=y -# CONFIG_BLK_DEV_IO_TRACE is not set - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y -CONFIG_IOSCHED_CFQ=y -CONFIG_DEFAULT_AS=y -# CONFIG_DEFAULT_DEADLINE is not set -# CONFIG_DEFAULT_CFQ is not set -# CONFIG_DEFAULT_NOOP is not set -CONFIG_DEFAULT_IOSCHED="anticipatory" - -# -# System Type -# -# CONFIG_ARCH_AAEC2000 is not set -# CONFIG_ARCH_INTEGRATOR is not set -# CONFIG_ARCH_REALVIEW is not set -# CONFIG_ARCH_VERSATILE is not set -# CONFIG_ARCH_AT91 is not set -# CONFIG_ARCH_CLPS7500 is not set -# CONFIG_ARCH_CLPS711X is not set -# CONFIG_ARCH_CO285 is not set -# CONFIG_ARCH_EBSA110 is not set -# CONFIG_ARCH_EP93XX is not set -# CONFIG_ARCH_FOOTBRIDGE is not set -# CONFIG_ARCH_NETX is not set -# CONFIG_ARCH_H720X is not set -# CONFIG_ARCH_IMX is not set -# CONFIG_ARCH_IOP32X is not set -# CONFIG_ARCH_IOP33X is not set -CONFIG_ARCH_IXP4XX=y -# CONFIG_ARCH_IXP2000 is not set -# CONFIG_ARCH_IXP23XX is not set -# CONFIG_ARCH_L7200 is not set -# CONFIG_ARCH_PNX4008 is not set -# CONFIG_ARCH_PXA is not set -# CONFIG_ARCH_RPC is not set -# CONFIG_ARCH_SA1100 is not set -# CONFIG_ARCH_S3C2410 is not set -# CONFIG_ARCH_SHARK is not set -# CONFIG_ARCH_LH7A40X is not set -# CONFIG_ARCH_OMAP is not set -CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y - -# -# Intel IXP4xx Implementation Options -# - -# -# IXP4xx Platforms -# -CONFIG_MACH_NSLU2=y -# CONFIG_ARCH_AVILA is not set -# CONFIG_ARCH_ADI_COYOTE is not set -# CONFIG_ARCH_IXDP425 is not set -# CONFIG_MACH_IXDPG425 is not set -# CONFIG_MACH_IXDP465 is not set -# CONFIG_ARCH_PRPMC1100 is not set -# CONFIG_MACH_NAS100D is not set -# CONFIG_MACH_GTWX5715 is not set - -# -# IXP4xx Options -# -CONFIG_DMABOUNCE=y -# CONFIG_IXP4XX_INDIRECT_PCI is not set - -# -# Processor Type -# -CONFIG_CPU_32=y -CONFIG_CPU_XSCALE=y -CONFIG_CPU_32v5=y -CONFIG_CPU_ABRT_EV5T=y -CONFIG_CPU_CACHE_VIVT=y -CONFIG_CPU_TLB_V4WBI=y -CONFIG_CPU_CP15=y -CONFIG_CPU_CP15_MMU=y - -# -# Processor Features -# -CONFIG_ARM_THUMB=y -CONFIG_CPU_BIG_ENDIAN=y -# CONFIG_CPU_DCACHE_DISABLE is not set -CONFIG_XSCALE_PMU=y - -# -# Bus support -# -CONFIG_PCI=y -# CONFIG_PCI_DEBUG is not set - -# -# PCCARD (PCMCIA/CardBus) support -# -# CONFIG_PCCARD is not set - -# -# Kernel Features -# -# CONFIG_PREEMPT is not set -# CONFIG_NO_IDLE_HZ is not set -CONFIG_HZ=100 -# CONFIG_AEABI is not set -# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set -CONFIG_SELECT_MEMORY_MODEL=y -CONFIG_FLATMEM_MANUAL=y -# CONFIG_DISCONTIGMEM_MANUAL is not set -# CONFIG_SPARSEMEM_MANUAL is not set -CONFIG_FLATMEM=y -CONFIG_FLAT_NODE_MEM_MAP=y -# CONFIG_SPARSEMEM_STATIC is not set -CONFIG_SPLIT_PTLOCK_CPUS=4096 -# CONFIG_RESOURCES_64BIT is not set -CONFIG_ALIGNMENT_TRAP=y - -# -# Boot options -# -CONFIG_ZBOOT_ROM_TEXT=0x0 -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_CMDLINE="root=1f03 mem=32M" -# CONFIG_XIP_KERNEL is not set - -# -# Floating point emulation -# - -# -# At least one emulation must be selected -# -CONFIG_FPE_NWFPE=y -# CONFIG_FPE_NWFPE_XP is not set -# CONFIG_FPE_FASTFPE is not set - -# -# Userspace binary formats -# -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_AOUT is not set -# CONFIG_BINFMT_MISC is not set -# CONFIG_ARTHUR is not set - -# -# Power management options -# -CONFIG_PM=y -# CONFIG_PM_LEGACY is not set -# CONFIG_PM_DEBUG is not set -# CONFIG_PM_SYSFS_DEPRECATED is not set -# CONFIG_APM is not set - -# -# Networking -# -CONFIG_NET=y - -# -# Networking options -# -# CONFIG_NETDEBUG is not set -CONFIG_PACKET=y -CONFIG_PACKET_MMAP=y -CONFIG_UNIX=y -CONFIG_XFRM=y -# CONFIG_XFRM_USER is not set -# CONFIG_XFRM_SUB_POLICY is not set -# CONFIG_NET_KEY is not set -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -# CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_FIB_HASH=y -CONFIG_IP_PNP=y -# CONFIG_IP_PNP_DHCP is not set -CONFIG_IP_PNP_BOOTP=y -# CONFIG_IP_PNP_RARP is not set -# CONFIG_NET_IPIP is not set -# CONFIG_NET_IPGRE is not set -# CONFIG_IP_MROUTE is not set -# CONFIG_ARPD is not set -# CONFIG_SYN_COOKIES is not set -# CONFIG_INET_AH is not set -# CONFIG_INET_ESP is not set -# CONFIG_INET_IPCOMP is not set -# CONFIG_INET_XFRM_TUNNEL is not set -# CONFIG_INET_TUNNEL is not set -CONFIG_INET_XFRM_MODE_TRANSPORT=y -CONFIG_INET_XFRM_MODE_TUNNEL=y -CONFIG_INET_XFRM_MODE_BEET=y -# CONFIG_INET_DIAG is not set -# CONFIG_TCP_CONG_ADVANCED is not set -CONFIG_TCP_CONG_CUBIC=y -CONFIG_DEFAULT_TCP_CONG="cubic" -# CONFIG_IPV6 is not set -# CONFIG_INET6_XFRM_TUNNEL is not set -# CONFIG_INET6_TUNNEL is not set -# CONFIG_NETWORK_SECMARK is not set -# CONFIG_NETFILTER is not set - -# -# DCCP Configuration (EXPERIMENTAL) -# -# CONFIG_IP_DCCP is not set - -# -# SCTP Configuration (EXPERIMENTAL) -# -# CONFIG_IP_SCTP is not set - -# -# TIPC Configuration (EXPERIMENTAL) -# -# CONFIG_TIPC is not set -# CONFIG_ATM is not set -# CONFIG_BRIDGE is not set -# CONFIG_VLAN_8021Q is not set -# CONFIG_DECNET is not set -# CONFIG_LLC2 is not set -# CONFIG_IPX is not set -# CONFIG_ATALK is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_ECONET is not set -# CONFIG_WAN_ROUTER is not set - -# -# QoS and/or fair queueing -# -# CONFIG_NET_SCHED is not set - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set -# CONFIG_HAMRADIO is not set -# CONFIG_IRDA is not set -# CONFIG_BT is not set -# CONFIG_IEEE80211 is not set - -# -# Device Drivers -# - -# -# Generic Driver Options -# -CONFIG_STANDALONE=y -CONFIG_PREVENT_FIRMWARE_BUILD=y -# CONFIG_FW_LOADER is not set -# CONFIG_DEBUG_DRIVER is not set -# CONFIG_SYS_HYPERVISOR is not set - -# -# Connector - unified userspace <-> kernelspace linker -# -# CONFIG_CONNECTOR is not set - -# -# Memory Technology Devices (MTD) -# -CONFIG_MTD=y -# CONFIG_MTD_DEBUG is not set -# CONFIG_MTD_CONCAT is not set -CONFIG_MTD_PARTITIONS=y -# CONFIG_MTD_REDBOOT_PARTS is not set -CONFIG_MTD_CMDLINE_PARTS=y -# CONFIG_MTD_AFS_PARTS is not set - -# -# User Modules And Translation Layers -# -CONFIG_MTD_CHAR=y -CONFIG_MTD_BLOCK=y -# CONFIG_FTL is not set -# CONFIG_NFTL is not set -# CONFIG_INFTL is not set -# CONFIG_RFD_FTL is not set -# CONFIG_SSFDC is not set - -# -# RAM/ROM/Flash chip drivers -# -CONFIG_MTD_CFI=y -# CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_GEN_PROBE=y -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_NOSWAP=y -# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set -# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set -# CONFIG_MTD_CFI_GEOMETRY is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -CONFIG_MTD_MAP_BANK_WIDTH_2=y -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -# CONFIG_MTD_OTP is not set -CONFIG_MTD_CFI_INTELEXT=y -# CONFIG_MTD_CFI_AMDSTD is not set -# CONFIG_MTD_CFI_STAA is not set -CONFIG_MTD_CFI_UTIL=y -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_ABSENT is not set -# CONFIG_MTD_OBSOLETE_CHIPS is not set - -# -# Mapping drivers for chip access -# -# CONFIG_MTD_COMPLEX_MAPPINGS is not set -# CONFIG_MTD_PHYSMAP is not set -CONFIG_MTD_ARM_INTEGRATOR=y -# CONFIG_MTD_PLATRAM is not set - -# -# Self-contained MTD device drivers -# -# CONFIG_MTD_PMC551 is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_BLOCK2MTD is not set - -# -# Disk-On-Chip Device Drivers -# -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set - -# -# NAND Flash Device Drivers -# -# CONFIG_MTD_NAND is not set - -# -# OneNAND Flash Device Drivers -# -# CONFIG_MTD_ONENAND is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set - -# -# Plug and Play support -# - -# -# Block devices -# -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -# CONFIG_BLK_DEV_COW_COMMON is not set -# CONFIG_BLK_DEV_LOOP is not set -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_SX8 is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_COUNT=16 -CONFIG_BLK_DEV_RAM_SIZE=4096 -CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 -CONFIG_BLK_DEV_INITRD=y -# CONFIG_CDROM_PKTCDVD is not set -# CONFIG_ATA_OVER_ETH is not set - -# -# ATA/ATAPI/MFM/RLL support -# -# CONFIG_IDE is not set - -# -# SCSI device support -# -# CONFIG_RAID_ATTRS is not set -# CONFIG_SCSI is not set -# CONFIG_SCSI_NETLINK is not set - -# -# Serial ATA (prod) and Parallel ATA (experimental) drivers -# -# CONFIG_ATA is not set - -# -# Multi-device support (RAID and LVM) -# -# CONFIG_MD is not set - -# -# Fusion MPT device support -# -# CONFIG_FUSION is not set - -# -# IEEE 1394 (FireWire) support -# -# CONFIG_IEEE1394 is not set - -# -# I2O device support -# -# CONFIG_I2O is not set - -# -# Network device support -# -CONFIG_NETDEVICES=y -# CONFIG_DUMMY is not set -# CONFIG_BONDING is not set -# CONFIG_EQUALIZER is not set -# CONFIG_TUN is not set - -# -# ARCnet devices -# -# CONFIG_ARCNET is not set - -# -# PHY device support -# -# CONFIG_PHYLIB is not set - -# -# Ethernet (10 or 100Mbit) -# -CONFIG_NET_ETHERNET=y -CONFIG_MII=y -# CONFIG_HAPPYMEAL is not set -# CONFIG_SUNGEM is not set -# CONFIG_CASSINI is not set -# CONFIG_NET_VENDOR_3COM is not set -CONFIG_SMC91X=y -# CONFIG_DM9000 is not set - -# -# Tulip family network device support -# -# CONFIG_NET_TULIP is not set -# CONFIG_HP100 is not set -# CONFIG_NET_PCI is not set - -# -# Ethernet (1000 Mbit) -# -# CONFIG_ACENIC is not set -# CONFIG_DL2K is not set -# CONFIG_E1000 is not set -# CONFIG_NS83820 is not set -# CONFIG_HAMACHI is not set -# CONFIG_YELLOWFIN is not set -# CONFIG_R8169 is not set -# CONFIG_SIS190 is not set -# CONFIG_SKGE is not set -# CONFIG_SKY2 is not set -# CONFIG_SK98LIN is not set -# CONFIG_TIGON3 is not set -# CONFIG_BNX2 is not set -# CONFIG_QLA3XXX is not set - -# -# Ethernet (10000 Mbit) -# -# CONFIG_CHELSIO_T1 is not set -# CONFIG_IXGB is not set -# CONFIG_S2IO is not set -# CONFIG_MYRI10GE is not set - -# -# Token Ring devices -# -# CONFIG_TR is not set - -# -# Wireless LAN (non-hamradio) -# -# CONFIG_NET_RADIO is not set - -# -# Wan interfaces -# -# CONFIG_WAN is not set -# CONFIG_FDDI is not set -# CONFIG_HIPPI is not set -# CONFIG_PPP is not set -# CONFIG_SLIP is not set -# CONFIG_SHAPER is not set -# CONFIG_NETCONSOLE is not set -# CONFIG_NETPOLL is not set -# CONFIG_NET_POLL_CONTROLLER is not set - -# -# ISDN subsystem -# -# CONFIG_ISDN is not set - -# -# Input device support -# -CONFIG_INPUT=y -# CONFIG_INPUT_FF_MEMLESS is not set - -# -# Userland interfaces -# -CONFIG_INPUT_MOUSEDEV=y -CONFIG_INPUT_MOUSEDEV_PSAUX=y -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 -# CONFIG_INPUT_JOYDEV is not set -# CONFIG_INPUT_TSDEV is not set -# CONFIG_INPUT_EVDEV is not set -# CONFIG_INPUT_EVBUG is not set - -# -# Input Device Drivers -# -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_ATKBD=y -# CONFIG_KEYBOARD_SUNKBD is not set -# CONFIG_KEYBOARD_LKKBD is not set -# CONFIG_KEYBOARD_XTKBD is not set -# CONFIG_KEYBOARD_NEWTON is not set -# CONFIG_KEYBOARD_STOWAWAY is not set -CONFIG_INPUT_MOUSE=y -CONFIG_MOUSE_PS2=y -# CONFIG_MOUSE_SERIAL is not set -# CONFIG_MOUSE_VSXXXAA is not set -# CONFIG_INPUT_JOYSTICK is not set -# CONFIG_INPUT_TOUCHSCREEN is not set -# CONFIG_INPUT_MISC is not set - -# -# Hardware I/O ports -# -CONFIG_SERIO=y -# CONFIG_SERIO_SERPORT is not set -# CONFIG_SERIO_PCIPS2 is not set -CONFIG_SERIO_LIBPS2=y -# CONFIG_SERIO_RAW is not set -# CONFIG_GAMEPORT is not set - -# -# Character devices -# -CONFIG_VT=y -CONFIG_VT_CONSOLE=y -CONFIG_HW_CONSOLE=y -# CONFIG_VT_HW_CONSOLE_BINDING is not set -# CONFIG_SERIAL_NONSTANDARD is not set - -# -# Serial drivers -# -CONFIG_SERIAL_8250=m -CONFIG_SERIAL_8250_PCI=m -CONFIG_SERIAL_8250_NR_UARTS=4 -CONFIG_SERIAL_8250_RUNTIME_UARTS=4 -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -# CONFIG_SERIAL_8250_DETECT_IRQ is not set -CONFIG_SERIAL_8250_RSA=y - -# -# Non-8250 serial port support -# -CONFIG_SERIAL_CORE=m -# CONFIG_SERIAL_JSM is not set -CONFIG_UNIX98_PTYS=y -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=16 - -# -# IPMI -# -# CONFIG_IPMI_HANDLER is not set - -# -# Watchdog Cards -# -# CONFIG_WATCHDOG is not set -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_IXP4XX=y -# CONFIG_NVRAM is not set -# CONFIG_DTLK is not set -# CONFIG_R3964 is not set -# CONFIG_APPLICOM is not set - -# -# Ftape, the floppy tape device driver -# -# CONFIG_DRM is not set -# CONFIG_RAW_DRIVER is not set - -# -# TPM devices -# -# CONFIG_TCG_TPM is not set - -# -# I2C support -# -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=m - -# -# I2C Algorithms -# -CONFIG_I2C_ALGOBIT=y -# CONFIG_I2C_ALGOPCF is not set -# CONFIG_I2C_ALGOPCA is not set - -# -# I2C Hardware Bus support -# -# CONFIG_I2C_ALI1535 is not set -# CONFIG_I2C_ALI1563 is not set -# CONFIG_I2C_ALI15X3 is not set -# CONFIG_I2C_AMD756 is not set -# CONFIG_I2C_AMD8111 is not set -# CONFIG_I2C_I801 is not set -# CONFIG_I2C_I810 is not set -# CONFIG_I2C_PIIX4 is not set -# CONFIG_I2C_IOP3XX is not set -# CONFIG_I2C_IXP4XX is not set -# CONFIG_I2C_NFORCE2 is not set -# CONFIG_I2C_OCORES is not set -# CONFIG_I2C_PARPORT_LIGHT is not set -# CONFIG_I2C_PROSAVAGE is not set -# CONFIG_I2C_SAVAGE4 is not set -# CONFIG_I2C_SIS5595 is not set -# CONFIG_I2C_SIS630 is not set -# CONFIG_I2C_SIS96X is not set -# CONFIG_I2C_STUB is not set -# CONFIG_I2C_VIA is not set -# CONFIG_I2C_VIAPRO is not set -# CONFIG_I2C_VOODOO3 is not set -# CONFIG_I2C_PCA_ISA is not set - -# -# Miscellaneous I2C Chip support -# -# CONFIG_SENSORS_DS1337 is not set -# CONFIG_SENSORS_DS1374 is not set -CONFIG_SENSORS_EEPROM=m -# CONFIG_SENSORS_PCF8574 is not set -# CONFIG_SENSORS_PCA9539 is not set -# CONFIG_SENSORS_PCF8591 is not set -# CONFIG_SENSORS_MAX6875 is not set -# CONFIG_I2C_DEBUG_CORE is not set -# CONFIG_I2C_DEBUG_ALGO is not set -# CONFIG_I2C_DEBUG_BUS is not set -# CONFIG_I2C_DEBUG_CHIP is not set - -# -# SPI support -# -# CONFIG_SPI is not set -# CONFIG_SPI_MASTER is not set - -# -# Dallas's 1-wire bus -# -# CONFIG_W1 is not set - -# -# Hardware Monitoring support -# -# CONFIG_HWMON is not set -# CONFIG_HWMON_VID is not set - -# -# Misc devices -# -# CONFIG_SGI_IOC4 is not set -# CONFIG_TIFM_CORE is not set - -# -# LED devices -# -# CONFIG_NEW_LEDS is not set - -# -# LED drivers -# - -# -# LED Triggers -# - -# -# Multimedia devices -# -# CONFIG_VIDEO_DEV is not set - -# -# Digital Video Broadcasting Devices -# -# CONFIG_DVB is not set - -# -# Graphics support -# -CONFIG_FIRMWARE_EDID=y -CONFIG_FB=y -# CONFIG_FB_DDC is not set -# CONFIG_FB_CFB_FILLRECT is not set -# CONFIG_FB_CFB_COPYAREA is not set -# CONFIG_FB_CFB_IMAGEBLIT is not set -# CONFIG_FB_MACMODES is not set -# CONFIG_FB_BACKLIGHT is not set -# CONFIG_FB_MODE_HELPERS is not set -# CONFIG_FB_TILEBLITTING is not set -# CONFIG_FB_CIRRUS is not set -# CONFIG_FB_PM2 is not set -# CONFIG_FB_CYBER2000 is not set -# CONFIG_FB_ASILIANT is not set -# CONFIG_FB_IMSTT is not set -# CONFIG_FB_S1D13XXX is not set -# CONFIG_FB_NVIDIA is not set -# CONFIG_FB_RIVA is not set -# CONFIG_FB_MATROX is not set -# CONFIG_FB_RADEON is not set -# CONFIG_FB_ATY128 is not set -# CONFIG_FB_ATY is not set -# CONFIG_FB_SAVAGE is not set -# CONFIG_FB_SIS is not set -# CONFIG_FB_NEOMAGIC is not set -# CONFIG_FB_KYRO is not set -# CONFIG_FB_3DFX is not set -# CONFIG_FB_VOODOO1 is not set -# CONFIG_FB_TRIDENT is not set -# CONFIG_FB_VIRTUAL is not set - -# -# Console display driver support -# -CONFIG_VGA_CONSOLE=y -# CONFIG_VGACON_SOFT_SCROLLBACK is not set -CONFIG_DUMMY_CONSOLE=y -CONFIG_FRAMEBUFFER_CONSOLE=y -# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set -CONFIG_FONTS=y -# CONFIG_FONT_8x8 is not set -# CONFIG_FONT_8x16 is not set -# CONFIG_FONT_6x11 is not set -# CONFIG_FONT_7x14 is not set -# CONFIG_FONT_PEARL_8x8 is not set -CONFIG_FONT_ACORN_8x8=y -# CONFIG_FONT_MINI_4x6 is not set -# CONFIG_FONT_SUN8x16 is not set -# CONFIG_FONT_SUN12x22 is not set -# CONFIG_FONT_10x18 is not set - -# -# Logo configuration -# -# CONFIG_LOGO is not set -# CONFIG_BACKLIGHT_LCD_SUPPORT is not set - -# -# Sound -# -CONFIG_SOUND=y - -# -# Advanced Linux Sound Architecture -# -CONFIG_SND=m -CONFIG_SND_TIMER=m -CONFIG_SND_PCM=m -# CONFIG_SND_SEQUENCER is not set -CONFIG_SND_OSSEMUL=y -CONFIG_SND_MIXER_OSS=m -CONFIG_SND_PCM_OSS=m -CONFIG_SND_PCM_OSS_PLUGINS=y -# CONFIG_SND_DYNAMIC_MINORS is not set -CONFIG_SND_SUPPORT_OLD_API=y -CONFIG_SND_VERBOSE_PROCFS=y -# CONFIG_SND_VERBOSE_PRINTK is not set -# CONFIG_SND_DEBUG is not set - -# -# Generic devices -# -# CONFIG_SND_DUMMY is not set -# CONFIG_SND_MTPAV is not set -# CONFIG_SND_SERIAL_U16550 is not set -# CONFIG_SND_MPU401 is not set - -# -# PCI devices -# -# CONFIG_SND_AD1889 is not set -# CONFIG_SND_ALS300 is not set -# CONFIG_SND_ALI5451 is not set -# CONFIG_SND_ATIIXP is not set -# CONFIG_SND_ATIIXP_MODEM is not set -# CONFIG_SND_AU8810 is not set -# CONFIG_SND_AU8820 is not set -# CONFIG_SND_AU8830 is not set -# CONFIG_SND_AZT3328 is not set -# CONFIG_SND_BT87X is not set -# CONFIG_SND_CA0106 is not set -# CONFIG_SND_CMIPCI is not set -# CONFIG_SND_CS4281 is not set -# CONFIG_SND_CS46XX is not set -# CONFIG_SND_EMU10K1 is not set -# CONFIG_SND_EMU10K1X is not set -# CONFIG_SND_ENS1370 is not set -# CONFIG_SND_ENS1371 is not set -# CONFIG_SND_ES1938 is not set -# CONFIG_SND_ES1968 is not set -# CONFIG_SND_FM801 is not set -# CONFIG_SND_HDA_INTEL is not set -# CONFIG_SND_HDSP is not set -# CONFIG_SND_HDSPM is not set -# CONFIG_SND_ICE1712 is not set -# CONFIG_SND_ICE1724 is not set -# CONFIG_SND_INTEL8X0 is not set -# CONFIG_SND_INTEL8X0M is not set -# CONFIG_SND_KORG1212 is not set -# CONFIG_SND_MAESTRO3 is not set -# CONFIG_SND_MIXART is not set -# CONFIG_SND_NM256 is not set -# CONFIG_SND_PCXHR is not set -# CONFIG_SND_RME32 is not set -# CONFIG_SND_RME96 is not set -# CONFIG_SND_RME9652 is not set -# CONFIG_SND_SONICVIBES is not set -# CONFIG_SND_TRIDENT is not set -# CONFIG_SND_VIA82XX is not set -# CONFIG_SND_VIA82XX_MODEM is not set -# CONFIG_SND_VX222 is not set -# CONFIG_SND_YMFPCI is not set - -# -# ALSA ARM devices -# - -# -# Open Sound System -# -# CONFIG_SOUND_PRIME is not set - -# -# USB support -# -CONFIG_USB_ARCH_HAS_HCD=y -CONFIG_USB_ARCH_HAS_OHCI=y -CONFIG_USB_ARCH_HAS_EHCI=y -# CONFIG_USB is not set - -# -# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' -# - -# -# USB Gadget Support -# -# CONFIG_USB_GADGET is not set - -# -# MMC/SD Card support -# -CONFIG_MMC=y -# CONFIG_MMC_DEBUG is not set -CONFIG_MMC_BLOCK=y -# CONFIG_MMC_SDHCI is not set -# CONFIG_MMC_TIFM_SD is not set - -# -# Real Time Clock -# -CONFIG_RTC_LIB=y -# CONFIG_RTC_CLASS is not set - -# -# File systems -# -CONFIG_EXT2_FS=y -# CONFIG_EXT2_FS_XATTR is not set -# CONFIG_EXT2_FS_XIP is not set -# CONFIG_EXT3_FS is not set -# CONFIG_EXT4DEV_FS is not set -# CONFIG_REISERFS_FS is not set -# CONFIG_JFS_FS is not set -# CONFIG_FS_POSIX_ACL is not set -# CONFIG_XFS_FS is not set -# CONFIG_GFS2_FS is not set -# CONFIG_OCFS2_FS is not set -CONFIG_MINIX_FS=y -CONFIG_ROMFS_FS=y -# CONFIG_INOTIFY is not set -# CONFIG_QUOTA is not set -CONFIG_DNOTIFY=y -# CONFIG_AUTOFS_FS is not set -# CONFIG_AUTOFS4_FS is not set -# CONFIG_FUSE_FS is not set - -# -# CD-ROM/DVD Filesystems -# -# CONFIG_ISO9660_FS is not set -# CONFIG_UDF_FS is not set - -# -# DOS/FAT/NT Filesystems -# -CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set -CONFIG_VFAT_FS=m -CONFIG_FAT_DEFAULT_CODEPAGE=437 -CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" -# CONFIG_NTFS_FS is not set - -# -# Pseudo filesystems -# -CONFIG_PROC_FS=y -CONFIG_PROC_SYSCTL=y -CONFIG_SYSFS=y -# CONFIG_TMPFS is not set -# CONFIG_HUGETLB_PAGE is not set -CONFIG_RAMFS=y -# CONFIG_CONFIGFS_FS is not set - -# -# Miscellaneous filesystems -# -# CONFIG_ADFS_FS is not set -# CONFIG_AFFS_FS is not set -# CONFIG_HFS_FS is not set -# CONFIG_HFSPLUS_FS is not set -# CONFIG_BEFS_FS is not set -# CONFIG_BFS_FS is not set -# CONFIG_EFS_FS is not set -# CONFIG_JFFS_FS is not set -CONFIG_JFFS2_FS=y -CONFIG_JFFS2_FS_DEBUG=0 -CONFIG_JFFS2_FS_WRITEBUFFER=y -# CONFIG_JFFS2_SUMMARY is not set -# CONFIG_JFFS2_FS_XATTR is not set -# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set -CONFIG_JFFS2_ZLIB=y -CONFIG_JFFS2_RTIME=y -# CONFIG_JFFS2_RUBIN is not set -CONFIG_CRAMFS=y -# CONFIG_VXFS_FS is not set -# CONFIG_HPFS_FS is not set -# CONFIG_QNX4FS_FS is not set -# CONFIG_SYSV_FS is not set -# CONFIG_UFS_FS is not set - -# -# Network File Systems -# -CONFIG_NFS_FS=y -CONFIG_NFS_V3=y -# CONFIG_NFS_V3_ACL is not set -# CONFIG_NFS_V4 is not set -# CONFIG_NFS_DIRECTIO is not set -CONFIG_NFSD=y -CONFIG_NFSD_V3=y -# CONFIG_NFSD_V3_ACL is not set -# CONFIG_NFSD_V4 is not set -# CONFIG_NFSD_TCP is not set -CONFIG_ROOT_NFS=y -CONFIG_LOCKD=y -CONFIG_LOCKD_V4=y -CONFIG_EXPORTFS=y -CONFIG_NFS_COMMON=y -CONFIG_SUNRPC=y -# CONFIG_RPCSEC_GSS_KRB5 is not set -# CONFIG_RPCSEC_GSS_SPKM3 is not set -# CONFIG_SMB_FS is not set -# CONFIG_CIFS is not set -# CONFIG_NCP_FS is not set -# CONFIG_CODA_FS is not set -# CONFIG_AFS_FS is not set -# CONFIG_9P_FS is not set - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -# CONFIG_OSF_PARTITION is not set -# CONFIG_AMIGA_PARTITION is not set -# CONFIG_ATARI_PARTITION is not set -# CONFIG_MAC_PARTITION is not set -CONFIG_MSDOS_PARTITION=y -# CONFIG_BSD_DISKLABEL is not set -# CONFIG_MINIX_SUBPARTITION is not set -# CONFIG_SOLARIS_X86_PARTITION is not set -# CONFIG_UNIXWARE_DISKLABEL is not set -# CONFIG_LDM_PARTITION is not set -# CONFIG_SGI_PARTITION is not set -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_SUN_PARTITION is not set -# CONFIG_KARMA_PARTITION is not set -# CONFIG_EFI_PARTITION is not set - -# -# Native Language Support -# -CONFIG_NLS=m -CONFIG_NLS_DEFAULT="iso8859-1" -# CONFIG_NLS_CODEPAGE_437 is not set -# CONFIG_NLS_CODEPAGE_737 is not set -# CONFIG_NLS_CODEPAGE_775 is not set -CONFIG_NLS_CODEPAGE_850=m -# CONFIG_NLS_CODEPAGE_852 is not set -# CONFIG_NLS_CODEPAGE_855 is not set -# CONFIG_NLS_CODEPAGE_857 is not set -# CONFIG_NLS_CODEPAGE_860 is not set -# CONFIG_NLS_CODEPAGE_861 is not set -# CONFIG_NLS_CODEPAGE_862 is not set -# CONFIG_NLS_CODEPAGE_863 is not set -# CONFIG_NLS_CODEPAGE_864 is not set -# CONFIG_NLS_CODEPAGE_865 is not set -# CONFIG_NLS_CODEPAGE_866 is not set -# CONFIG_NLS_CODEPAGE_869 is not set -# CONFIG_NLS_CODEPAGE_936 is not set -# CONFIG_NLS_CODEPAGE_950 is not set -# CONFIG_NLS_CODEPAGE_932 is not set -# CONFIG_NLS_CODEPAGE_949 is not set -# CONFIG_NLS_CODEPAGE_874 is not set -# CONFIG_NLS_ISO8859_8 is not set -# CONFIG_NLS_CODEPAGE_1250 is not set -# CONFIG_NLS_CODEPAGE_1251 is not set -# CONFIG_NLS_ASCII is not set -CONFIG_NLS_ISO8859_1=m -# CONFIG_NLS_ISO8859_2 is not set -# CONFIG_NLS_ISO8859_3 is not set -# CONFIG_NLS_ISO8859_4 is not set -# CONFIG_NLS_ISO8859_5 is not set -# CONFIG_NLS_ISO8859_6 is not set -# CONFIG_NLS_ISO8859_7 is not set -# CONFIG_NLS_ISO8859_9 is not set -# CONFIG_NLS_ISO8859_13 is not set -# CONFIG_NLS_ISO8859_14 is not set -# CONFIG_NLS_ISO8859_15 is not set -# CONFIG_NLS_KOI8_R is not set -# CONFIG_NLS_KOI8_U is not set -# CONFIG_NLS_UTF8 is not set - -# -# Profiling support -# -# CONFIG_PROFILING is not set - -# -# Kernel hacking -# -# CONFIG_PRINTK_TIME is not set -CONFIG_ENABLE_MUST_CHECK=y -CONFIG_MAGIC_SYSRQ=y -# CONFIG_UNUSED_SYMBOLS is not set -CONFIG_DEBUG_KERNEL=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_DETECT_SOFTLOCKUP=y -# CONFIG_SCHEDSTATS is not set -# CONFIG_DEBUG_SLAB is not set -# CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_RT_MUTEX_TESTER is not set -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_MUTEXES is not set -# CONFIG_DEBUG_RWSEMS is not set -# CONFIG_DEBUG_SPINLOCK_SLEEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -# CONFIG_DEBUG_KOBJECT is not set -CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_INFO is not set -# CONFIG_DEBUG_FS is not set -# CONFIG_DEBUG_VM is not set -# CONFIG_DEBUG_LIST is not set -CONFIG_FRAME_POINTER=y -CONFIG_FORCED_INLINING=y -# CONFIG_HEADERS_CHECK is not set -# CONFIG_RCU_TORTURE_TEST is not set -CONFIG_DEBUG_USER=y -# CONFIG_DEBUG_WAITQ is not set -CONFIG_DEBUG_ERRORS=y -CONFIG_DEBUG_LL=y -# CONFIG_DEBUG_ICEDCC is not set - -# -# Security options -# -# CONFIG_KEYS is not set -# CONFIG_SECURITY is not set - -# -# Cryptographic options -# -# CONFIG_CRYPTO is not set - -# -# Library routines -# -# CONFIG_CRC_CCITT is not set -# CONFIG_CRC16 is not set -CONFIG_CRC32=y -# CONFIG_LIBCRC32C is not set -CONFIG_ZLIB_INFLATE=y -CONFIG_ZLIB_DEFLATE=y -CONFIG_PLIST=y diff --git a/scripts/build/binutils.sh b/scripts/build/binutils.sh index 7a3497d..d2ab56f 100644 --- a/scripts/build/binutils.sh +++ b/scripts/build/binutils.sh @@ -30,13 +30,13 @@ do_binutils() { --prefix=${CT_PREFIX_DIR} \ --disable-nls \ ${CT_BINUTILS_EXTRA_CONFIG} \ - ${BINUTILS_SYSROOT_ARG} 2>&1 |CT_DoLog DEBUG + ${BINUTILS_SYSROOT_ARG} 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Building binutils" - make ${PARALLELMFLAGS} 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing binutils" - make install 2>&1 |CT_DoLog DEBUG + make install 2>&1 |CT_DoLog ALL # Make those new tools available to the core C compiler to come: # Note: some components want the ${TARGET}-{ar,as,ld,strip} commands as @@ -46,7 +46,7 @@ do_binutils() { for t in ar as ld strip; do ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_PREFIX_DIR}/${CT_TARGET}/bin/${t}" ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-${t}" - done |CT_DoLog DEBUG + done |CT_DoLog ALL CT_EndStep } diff --git a/scripts/build/cc_core_gcc.sh b/scripts/build/cc_core_gcc.sh index 68b9475..b12b8ba 100644 --- a/scripts/build/cc_core_gcc.sh +++ b/scripts/build/cc_core_gcc.sh @@ -62,18 +62,18 @@ do_cc_core() { --enable-symvers=gnu \ --enable-languages=c \ --disable-shared \ - ${CT_CC_CORE_EXTRA_CONFIG} 2>&1 |CT_DoLog DEBUG + ${CT_CC_CORE_EXTRA_CONFIG} 2>&1 |CT_DoLog ALL if [ ! "${CT_CANADIAN}" = "y" ]; then CT_DoLog EXTRA "Building libiberty" - make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog ALL fi CT_DoLog EXTRA "Building core C compiler" - make ${PARALLELMFLAGS} all-gcc 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} all-gcc 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing core C compiler" - make install-gcc 2>&1 |CT_DoLog DEBUG + make install-gcc 2>&1 |CT_DoLog ALL CT_EndStep } diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh index b7d36ee..54ebddf 100644 --- a/scripts/build/cc_gcc.sh +++ b/scripts/build/cc_gcc.sh @@ -80,11 +80,11 @@ do_cc() { --enable-symvers=gnu \ --enable-c99 \ --enable-long-long \ - ${CT_CC_EXTRA_CONFIG} 2>&1 |CT_DoLog DEBUG + ${CT_CC_EXTRA_CONFIG} 2>&1 |CT_DoLog ALL if [ ! "${CT_CANADIAN}" = "y" ]; then CT_DoLog EXTRA "Building libiberty" - make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog ALL fi @@ -109,10 +109,10 @@ do_cc() { esac CT_DoLog EXTRA "Building final compiler" - make ${PARALLELMFLAGS} all 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} all 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing final compiler" - make install 2>&1 |CT_DoLog DEBUG + make install 2>&1 |CT_DoLog ALL # FIXME: shouldn't people who want this just --disable-multilib in final gcc # and be done with it? diff --git a/scripts/build/kernel_linux.sh b/scripts/build/kernel_linux.sh index 9c1a004..fd50d23 100644 --- a/scripts/build/kernel_linux.sh +++ b/scripts/build/kernel_linux.sh @@ -40,7 +40,7 @@ do_kernel_check_config() { mkdir -p "${CT_BUILD_DIR}/build-kernel-defconfig" cd "${CT_BUILD_DIR}/build-kernel-defconfig" make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" O=`pwd` \ - ARCH=${CT_KERNEL_ARCH} defconfig 2>&1 |CT_DoLog DEBUG + ARCH=${CT_KERNEL_ARCH} defconfig 2>&1 |CT_DoLog ALL CT_KERNEL_LINUX_CONFIG_FILE="`pwd`/.config" @@ -92,7 +92,7 @@ do_kernel_headers() { # Install kernel headers using headers_install from kernel sources. do_kernel_install() { - CT_DoLog EXTRA "Using kernel's headers_install" + CT_DoLog DEBUG "Using kernel's headers_install" mkdir -p "${CT_BUILD_DIR}/build-kernel-headers" cd "${CT_BUILD_DIR}/build-kernel-headers" @@ -108,7 +108,7 @@ do_kernel_install() { ARCH=${CT_KERNEL_ARCH} \ INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \ ${V_OPT} \ - headers_install 2>&1 |CT_DoLog DEBUG + headers_install 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Checking installed headers" make -C "${CT_SRC_DIR}/${CT_KERNEL_FILE}" \ @@ -116,20 +116,20 @@ do_kernel_install() { ARCH=${CT_KERNEL_ARCH} \ INSTALL_HDR_PATH="${CT_SYSROOT_DIR}/usr" \ ${V_OPT} \ - headers_check 2>&1 |CT_DoLog DEBUG + headers_check 2>&1 |CT_DoLog ALL } # Install kernel headers from oldish Mazur's sanitised headers. do_kernel_sanitised() { CT_DoLog EXTRA "Copying sanitised headers" cd "${CT_SRC_DIR}/${CT_KERNEL_FILE}" - cp -rv include/linux "${CT_HEADERS_DIR}" 2>&1 |CT_DoLog DEBUG - cp -rv "include/asm-${CT_KERNEL_ARCH}" "${CT_HEADERS_DIR}/asm" 2>&1 |CT_DoLog DEBUG + cp -rv include/linux "${CT_HEADERS_DIR}" 2>&1 |CT_DoLog ALL + cp -rv "include/asm-${CT_KERNEL_ARCH}" "${CT_HEADERS_DIR}/asm" 2>&1 |CT_DoLog ALL } # Install kernel headers by plain copy. do_kernel_copy() { - CT_DoLog EXTRA "Copying plain kernel headers" + CT_DoLog DEBUG "Copying plain kernel headers" CT_DoLog WARN "You are using plain kernel headers. You really shouldn't do that." CT_DoLog WARN "You'd be better off by using installed headers (or sanitised headers)." @@ -178,12 +178,12 @@ do_kernel_copy() { ;; esac ;; - esac 2>&1 |CT_DoLog DEBUG + esac 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Copying kernel headers" - cp -rv include/asm-generic "${CT_HEADERS_DIR}/asm-generic" 2>&1 |CT_DoLog DEBUG - cp -rv include/linux "${CT_HEADERS_DIR}" 2>&1 |CT_DoLog DEBUG - cp -rv include/asm-${CT_KERNEL_ARCH} "${CT_HEADERS_DIR}/asm" 2>&1 |CT_DoLog DEBUG + cp -rv include/asm-generic "${CT_HEADERS_DIR}/asm-generic" 2>&1 |CT_DoLog ALL + cp -rv include/linux "${CT_HEADERS_DIR}" 2>&1 |CT_DoLog ALL + cp -rv include/asm-${CT_KERNEL_ARCH} "${CT_HEADERS_DIR}/asm" 2>&1 |CT_DoLog ALL } # Use preinstalled headers (most probably by using make headers_install in a @@ -194,5 +194,5 @@ do_kernel_preinstalled() { mkdir -p "${CT_SYSROOT_DIR}/usr" cd "${CT_KERNEL_LINUX_HEADERS_CUSTOM_DIR}" - cp -rv include "${CT_SYSROOT_DIR}/usr" 2>&1 |CT_DoLog DEBUG + cp -rv include "${CT_SYSROOT_DIR}/usr" 2>&1 |CT_DoLog ALL } diff --git a/scripts/build/libc_glibc.sh b/scripts/build/libc_glibc.sh index 9f7f69c..41be59a 100644 --- a/scripts/build/libc_glibc.sh +++ b/scripts/build/libc_glibc.sh @@ -10,7 +10,7 @@ do_libc_get() { CT_GetFile "${CT_LIBC_FILE}" ftp://ftp.gnu.org/gnu/glibc # C library addons - addons_list=`echo "${CT_LIBC_ADDONS}" |sed -r -e 's/,/ /g; s/ $//g;'` + addons_list=`echo "${CT_LIBC_ADDONS_LIST}" |sed -r -e 's/,/ /g; s/ $//g;'` for addon in ${addons_list}; do CT_GetFile "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}" ftp://ftp.gnu.org/gnu/glibc done @@ -24,7 +24,7 @@ do_libc_extract() { CT_ExtractAndPatch "${CT_LIBC_FILE}" # C library addons - addons_list=`echo "${CT_LIBC_ADDONS}" |sed -r -e 's/,/ /g; s/ $//g;'` + addons_list=`echo "${CT_LIBC_ADDONS_LIST}" |sed -r -e 's/,/ /g; s/ $//g;'` for addon in ${addons_list}; do CT_ExtractAndPatch "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}" done @@ -66,6 +66,11 @@ do_libc_headers() { # is ok here, since all we want are the basic headers at this point. # Override libc_cv_ppc_machine so glibc-cvs doesn't complain # 'a version of binutils that supports .machine "altivec" is needed'. + + # We also need to use the ports addon if specified + addons= + [ "${CT_LIBC_GLIBC_USE_PORTS}" = "y" ] && addons="${CT_LIBC}-ports-${CT_LIBC_VERSION}" + libc_cv_ppc_machine=yes \ CC=${CT_CC_NATIVE} \ "${CT_SRC_DIR}/${CT_LIBC_FILE}/configure" \ @@ -76,8 +81,8 @@ do_libc_headers() { --without-cvs \ --disable-sanity-checks \ --enable-hacker-mode \ - --enable-add-ons="" \ - --without-nptl 2>&1 |CT_DoLog DEBUG + --enable-add-ons="${addons}" \ + --without-nptl 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing C library headers" @@ -93,9 +98,11 @@ do_libc_headers() { # errlist-compat.c. # Note: BOOTSTRAP_GCC is used by: # patches/glibc-2.3.5/glibc-mips-bootstrap-gcc-header-install.patch - libc_cv_ppc_machine=yes \ - make CFLAGS=-DBOOTSTRAP_GCC sysdeps/gnu/errlist.c 2>&1 |CT_DoLog DEBUG + + libc_cv_ppc_machine=yes \ + make CFLAGS="-O -DBOOTSTRAP_GCC" sysdeps/gnu/errlist.c 2>&1 |CT_DoLog ALL mkdir -p stdio-common + # sleep for 2 seconds for benefit of filesystems with lousy time # resolution, like FAT, so make knows for sure errlist-compat.c doesn't # need generating @@ -105,8 +112,8 @@ do_libc_headers() { # Note: BOOTSTRAP_GCC (see above) libc_cv_ppc_machine=yes \ make cross-compiling=yes install_root=${CT_SYSROOT_DIR} \ - CFLAGS=-DBOOTSTRAP_GCC ${LIBC_SYSROOT_ARG} \ - install-headers 2>&1 |CT_DoLog DEBUG + CFLAGS="-O -DBOOTSTRAP_GCC" ${LIBC_SYSROOT_ARG} \ + install-headers 2>&1 |CT_DoLog ALL # Two headers -- stubs.h and features.h -- aren't installed by install-headers, # so do them by hand. We can tolerate an empty stubs.h for the moment. @@ -142,7 +149,7 @@ do_libc() { extra_config="" case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in *enable-kernel*) ;; - *) extra_config="${extra_config} --enable-kernel=${CT_KERNEL_VERSION}" + *) extra_config="${extra_config} --enable-kernel=`echo ${CT_KERNEL_VERSION} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;'`" esac case "${CT_LIBC_GLIBC_EXTRA_CONFIG}" in *-tls*) ;; @@ -164,12 +171,13 @@ do_libc() { ,y) extra_config="${extra_config} --without-fp";; esac;; esac - case "${CT_LIBC_ADDONS},${CT_LIBC_ADDONS_LIST}" in - y,) extra_config="${extra_config} --enable-add-ons";; - y,*) extra_config="${extra_config} --enable-add-ons=${CT_LIBC_ADDONS_LIST}";; - esac - CT_DoLog DEBUG "Extra config args passed: \"${extra_config}\"" + case "${CT_LIBC_ADDONS},${CT_LIBC_GLIBC_USE_PORTS}" in + y,y) addons_config="--enable-add-ons=${CT_LIBC_ADDONS_LIST},${CT_LIBC}-ports-${CT_LIBC_VERSION}";; + y,) addons_config="--enable-add-ons=${CT_LIBC_ADDONS_LIST}";; + ,y) addons_config="--enable-add-ons=${CT_LIBC}-ports-${CT_LIBC_VERSION}";; + *) addons_config="";; + esac # Add some default CC args extra_cc_args="${CT_CFLAGS_FOR_HOST}" @@ -182,6 +190,8 @@ do_libc() { esac;; esac + CT_DoLog DEBUG "Configuring with addons : \"${addons_config}\"" + CT_DoLog DEBUG "Extra config args passed: \"${extra_config}\"" CT_DoLog DEBUG "Extra CC args passed: \"${extra_cc_args}\"" # sh3 and sh4 really need to set configparms as of gcc-3.4/glibc-2.3.2 @@ -214,13 +224,15 @@ do_libc() { "${CT_SRC_DIR}/${CT_LIBC_FILE}/configure" \ --prefix=/usr \ --build=${CT_BUILD} --host=${CT_TARGET} \ - ${CT_LIBC_GLIBC_EXTRA_CONFIG} \ - ${extra_config} \ --without-cvs \ + --without-nptl \ --disable-profile \ --disable-debug \ --without-gd \ - --with-headers="${CT_HEADERS_DIR}" 2>&1 |CT_DoLog DEBUG + --with-headers="${CT_HEADERS_DIR}" \ + ${addons_config} \ + ${extra_config} \ + ${CT_LIBC_GLIBC_EXTRA_CONFIG} 2>&1 |CT_DoLog ALL if grep -l '^install-lib-all:' "${CT_SRC_DIR}/${CT_LIBC_FILE}/Makerules" > /dev/null; then # nptl-era glibc. @@ -248,17 +260,17 @@ do_libc() { CT_DoLog EXTRA "Building C library" make LD=${CT_TARGET}-ld \ RANLIB=${CT_TARGET}-ranlib \ - ${GLIBC_INITIAL_BUILD_RULE} 2>&1 |CT_DoLog DEBUG + ${GLIBC_INITIAL_BUILD_RULE} 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing C library" make install_root="${CT_SYSROOT_DIR}" \ ${LIBC_SYSROOT_ARG} \ - ${GLIBC_INITIAL_INSTALL_RULE} 2>&1 |CT_DoLog DEBUG + ${GLIBC_INITIAL_INSTALL_RULE} 2>&1 |CT_DoLog ALL # This doesn't seem to work when building a crosscompiler, # as it tries to execute localedef using the just-built ld.so!? #CT_DoLog EXTRA "Installing locales" - #make localedata/install-locales install_root=${SYSROOT} 2>&1 |CT_DoLog DEBUG + #make localedata/install-locales install_root=${SYSROOT} 2>&1 |CT_DoLog ALL # Fix problems in linker scripts. # @@ -276,13 +288,13 @@ do_libc() { for file in libc.so libpthread.so libgcc_s.so; do for dir in lib lib64 usr/lib usr/lib64; do if [ -f "${CT_SYSROOT_DIR}/${dir}/${file}" -a ! -L ${CT_SYSROOT_DIR}/$lib/$file ]; then - mv "${CT_SYSROOT_DIR}/${dir}/${file}" "${CT_SYSROOT_DIR}/${dir}/${file}_orig" + cp "${CT_SYSROOT_DIR}/${dir}/${file}" "${CT_SYSROOT_DIR}/${dir}/${file}_orig" CT_DoLog DEBUG "Fixing \"${CT_SYS_ROOT_DIR}/${dir}/${file}\"" sed -i -r -e 's,/usr/lib/,,g; s,/usr/lib64/,,g; s,/lib/,,g; s,/lib64/,,g; - /BUG in libc.scripts.output-format.sed/d' "${CT_SYSROOT_DIR}/${dir}/${file}_orig" + /BUG in libc.scripts.output-format.sed/d' "${CT_SYSROOT_DIR}/${dir}/${file}" fi done done @@ -303,13 +315,15 @@ do_libc_finish() { cd "${CT_BUILD_DIR}/build-libc" CT_DoLog EXTRA "Re-building C library" - make LD=${CT_TARGET}-ld RANLIB=${CT_TARGET}-ranlib 2>&1 |CT_DoLog DEBUG + make LD=${CT_TARGET}-ld RANLIB=${CT_TARGET}-ranlib 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing missing C library components" # note: should do full install and then fix linker scripts, but this is faster for t in bin rootsbin sbin data others; do make install_root="${CT_SYSROOT_DIR}" \ ${LIBC_SYSROOT_ARG} \ - install-${t} 2>&1 |CT_DoLog DEBUG + install-${t} 2>&1 |CT_DoLog ALL done + + CT_EndStep } diff --git a/scripts/build/libc_libfloat.sh b/scripts/build/libc_libfloat.sh index d40070f..70b95c2 100644 --- a/scripts/build/libc_libfloat.sh +++ b/scripts/build/libc_libfloat.sh @@ -41,17 +41,17 @@ do_libfloat() { CT_DoLog EXTRA "Copying sources to build dir" mkdir build-libfloat cd build-libfloat - ( cd "${CT_SRC_DIR}/${CT_LIBFLOAT_FILE}"; tar cf - . ) |tar xvf - |CT_DoLog DEBUG + ( cd "${CT_SRC_DIR}/${CT_LIBFLOAT_FILE}"; tar cf - . ) |tar xvf - |CT_DoLog ALL CT_DoLog EXTRA "Cleaning library" - make clean 2>&1 |CT_DoLog DEBUG + make clean 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Building library" - make CROSS_COMPILE="${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-" 2>&1 |CT_DoLog DEBUG + make CROSS_COMPILE="${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-" 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing library" make CROSS_COMPILE="${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-" \ - DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog DEBUG + DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL CT_Popd diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh index 0981ce9..1b8f99e 100644 --- a/scripts/build/libc_uClibc.sh +++ b/scripts/build/libc_uClibc.sh @@ -68,13 +68,13 @@ do_libc_headers() { # use of the native build host tools, which we need at this # stage, as we don't have target tools yet. CT_DoLog EXTRA "Applying configuration" - CT_DoYes "" |make CROSS= PREFIX="${CT_SYSROOT_DIR}/" oldconfig 2>&1 |CT_DoLog DEBUG + CT_DoYes "" |make CROSS= PREFIX="${CT_SYSROOT_DIR}/" oldconfig 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Building headers" - make ${PARALLELMFLAGS} CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing headers" - make CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev 2>&1 |CT_DoLog DEBUG + make CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev 2>&1 |CT_DoLog ALL CT_EndStep } @@ -104,7 +104,7 @@ do_libc() { CT_DoYes "" |make ${PARALLELMFLAGS} \ CROSS=${CT_TARGET}- \ PREFIX="${CT_SYSROOT_DIR}/" \ - oldconfig 2>&1 |CT_DoLog DEBUG + oldconfig 2>&1 |CT_DoLog ALL # We do _not_ want to strip anything for now, in case we specifically # asked for a debug toolchain, thus the STRIPTOOL= assignment @@ -113,7 +113,7 @@ do_libc() { CROSS=${CT_TARGET}- \ PREFIX="${CT_SYSROOT_DIR}/" \ STRIPTOOL=true \ - all 2>&1 |CT_DoLog DEBUG + all 2>&1 |CT_DoLog ALL # YEM-FIXME: we want to install libraries in $SYSROOT/lib, but we don't want # to install headers in $SYSROOT/include, thus making only install_runtime. @@ -127,17 +127,14 @@ do_libc() { make CROSS=${CT_TARGET}- \ PREFIX="${CT_SYSROOT_DIR}/" \ STRIPTOOL=true \ - install 2>&1 |CT_DoLog DEBUG + install 2>&1 |CT_DoLog ALL CT_EndStep } # This function is used to install those components needing the final C compiler do_libc_finish() { - CT_DoStep INFO "Finishing C library" - # uClibc has nothing to finish - CT_DoLog EXTRA "uClibc has nothing to finish" - CT_EndStep + : } # Initialises the .config file to sensible values diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index f11fffe..92e3a4f 100755 --- a/scripts/crosstool.sh +++ b/scripts/crosstool.sh @@ -64,7 +64,8 @@ if [ "${CT_LOG_USE_COLORS}" = "y" ]; then CT_WARN_COLOR="${_A_NOR}${_A_BRI}${_F_YEL}" CT_INFO_COLOR="${_A_NOR}${_A_BRI}${_F_GRN}" CT_EXTRA_COLOR="${_A_NOR}${_A_DIM}${_F_GRN}" - CT_DEBUG_COLOR="${_A_NOR}${_A_DIM}${_F_WHI}" + CT_DEBUG_COLOR="${_A_NOR}${_A_BRI}${_F_BLU}" + CT_ALL_COLOR="${_A_NOR}${_A_DIM}${_F_WHI}" CT_NORMAL_COLOR="${_A_NOR}" else CT_ERROR_COLOR= @@ -72,6 +73,7 @@ else CT_INFO_COLOR= CT_EXTRA_COLOR= CT_DEBUG_COLOR= + CT_ALL_COLOR= CT_NORMAL_COLOR= fi diff --git a/scripts/functions b/scripts/functions index 555073d..3b5d1d0 100644 --- a/scripts/functions +++ b/scripts/functions @@ -29,6 +29,7 @@ CT_LOG_LEVEL_WARN=1 CT_LOG_LEVEL_INFO=2 CT_LOG_LEVEL_EXTRA=3 CT_LOG_LEVEL_DEBUG=4 +CT_LOG_LEVEL_ALL=5 # Attributes _A_NOR="\\033[0m" @@ -56,6 +57,7 @@ _F_WHI="\\033[37m" # - INFO: Informational messages # - EXTRA: Extra informational messages # - DEBUG: Debug messages +# - ALL: Component's build messages # Usage: CT_DoLog [message] # If message is empty, then stdin will be logged. CT_DoLog() { @@ -63,7 +65,7 @@ CT_DoLog() { local l eval max_level="\${CT_LOG_LEVEL_${CT_LOG_LEVEL_MAX}}" # Set the maximum log level to DEBUG if we have none - [ -z ${max_level} ] && max_level=${CT_LOG_LEVEL_DEBUG} + [ -z "${max_level}" ] && max_level=${CT_LOG_LEVEL_DEBUG} LEVEL="$1"; shift eval level="\${CT_LOG_LEVEL_${LEVEL}}" @@ -79,7 +81,7 @@ CT_DoLog() { case "${CT_LOG_SEE_TOOLS_WARN},${line}" in y,*"warning:"*) cur_L=WARN; cur_l=${CT_LOG_LEVEL_WARN};; *"error:"*) cur_L=ERROR; cur_l=${CT_LOG_LEVEL_ERROR};; - "make["?*"]:"*"Stop.") cur_L=ERROR; cur_l=${CT_LOG_LEVEL_ERROR};; + *"make["?*"]:"*"Stop.") cur_L=ERROR; cur_l=${CT_LOG_LEVEL_ERROR};; *) cur_L="${LEVEL}"; cur_l="${level}";; esac l="`printf \"[%-5s]%*s%s%s\" \"${cur_L}\" \"${indent}\" \" \" \"${line}\"`" @@ -249,8 +251,8 @@ CT_DoGetFile() { local _curl=`which curl` case "${_wget},${_curl}" in ,) CT_DoError "Could find neither wget nor curl";; - ,*) CT_DoGetFileCurl "$1";; - *) CT_DoGetFileWget "$1";; + ,*) CT_DoGetFileCurl "$1" |CT_DoLog DEBUG;; + *) CT_DoGetFileWget "$1" |CT_DoLog DEBUG;; esac } @@ -270,7 +272,7 @@ CT_GetFile() { CT_DoLog DEBUG "Removing already present \"${file}\"" rm -f "${CT_TARBALLS_DIR}/${file}${ext}" else - CT_DoLog EXTRA "Already have \"${file}\"" + CT_DoLog DEBUG "Already have \"${file}\"" return 0 fi fi @@ -285,8 +287,8 @@ CT_GetFile() { # Try all urls in turn for url in "$@"; do case "${url}" in - *) CT_DoLog EXTRA "Trying \"${url}/${file}${ext}\"" - CT_DoGetFile "${url}/${file}${ext}" 2>&1 |CT_DoLog DEBUG + *) CT_DoLog DEBUG "Trying \"${url}/${file}${ext}\"" + CT_DoGetFile "${url}/${file}${ext}" 2>&1 ;; esac [ -f "${file}${ext}" ] && got_it=1 && break 2 || true @@ -357,15 +359,15 @@ CT_ExtractAndPatch() { # If the directory exists, then consider extraction and patching done if [ -d "${file}" ]; then - CT_DoLog EXTRA "Already extracted \"${file}\"" + CT_DoLog DEBUG "Already extracted \"${file}\"" return 0 fi CT_DoLog EXTRA "Extracting \"${file}\"" case "${ext}" in - .tar.bz2) tar xvjf "${full_file}" |CT_DoLog DEBUG;; - .tar.gz|.tgz) tar xvzf "${full_file}" |CT_DoLog DEBUG;; - .tar) tar xvf "${full_file}" |CT_DoLog DEBUG;; + .tar.bz2) tar xvjf "${full_file}" |CT_DoLog ALL;; + .tar.gz|.tgz) tar xvzf "${full_file}" |CT_DoLog ALL;; + .tar) tar xvf "${full_file}" |CT_DoLog ALL;; *) CT_Abort "Don't know how to handle \"${file}\": unknown extension" ;; esac @@ -396,7 +398,7 @@ CT_ExtractAndPatch() { for p in "${patch_dir}"/*.patch; do if [ -f "${p}" ]; then CT_DoLog DEBUG "Applying patch \"${p}\"" - patch -g0 -F1 -p1 -f <"${p}" |CT_DoLog DEBUG + patch -g0 -F1 -p1 -f <"${p}" |CT_DoLog ALL CT_TestAndAbort "Failed while applying patch file \"${p}\"" ${PIPESTATUS[0]} -ne 0 fi done -- cgit v0.10.2-6-g49f6