Fix saving samples when the uClibc config file is already saved.

/trunk/scripts/saveSample.sh                                    |    4     2     2     0
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |  140    71    69     0 ++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by      |    3     3     0     0 +
 3 files changed, 76 insertions(+), 71 deletions(-)
This commit is contained in:
Yann E. MORIN" 2008-10-17 14:26:53 +00:00
parent f31bcd0026
commit ee5492e658
3 changed files with 76 additions and 71 deletions

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# crosstool-NG version: 1.2.0+svn_trunk@976
# Thu Sep 4 17:13:33 2008
# crosstool-NG version: 1.2.0+svn_trunk@1097:1098
# Fri Oct 17 14:51:47 2008
#
#
@ -13,7 +13,6 @@
#
# CT_OBSOLETE is not set
CT_EXPERIMENTAL=y
# CT_BROKEN is not set
# CT_DEBUG_CT is not set
#
@ -52,7 +51,7 @@ CT_PARALLEL_JOBS=1
CT_LOAD=0
CT_NICE=0
CT_USE_PIPES=y
# CT_CONFIG_SHELL_ASH is not set
CT_CONFIG_SHELL_ASH=y
#
# Logging
@ -97,13 +96,13 @@ CT_TARGET_LDFLAGS=""
#
# CT_ARCH_alpha is not set
CT_ARCH_arm=y
CT_ARCH_ARM_EABI=y
# CT_ARCH_ia64 is not set
# CT_ARCH_mips is not set
# CT_ARCH_powerpc is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
# CT_ARCH_x86_64 is not set
CT_ARCH_ARM_EABI=y
#
# Target optimisations
@ -134,67 +133,49 @@ CT_BUILD=""
CT_CC_NATIVE="gcc"
#
# Kernel
# Operating System
#
CT_KERNEL_LINUX=y
CT_KERNEL_VERSION="2.6.26.3"
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_BARE_METAL is not set
CT_KERNEL="linux"
CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
# CT_KERNEL_INSTALL_V_2_6_18_8 is not set
# CT_KERNEL_INSTALL_V_2_6_19_7 is not set
# CT_KERNEL_INSTALL_V_2_6_20_21 is not set
# CT_KERNEL_INSTALL_V_2_6_21_7 is not set
# CT_KERNEL_INSTALL_V_2_6_22_19 is not set
# CT_KERNEL_INSTALL_V_2_6_23_17 is not set
# CT_KERNEL_INSTALL_V_2_6_24 is not set
# CT_KERNEL_INSTALL_V_2_6_24_1 is not set
# CT_KERNEL_INSTALL_V_2_6_24_2 is not set
# CT_KERNEL_INSTALL_V_2_6_24_3 is not set
# CT_KERNEL_INSTALL_V_2_6_24_4 is not set
# CT_KERNEL_INSTALL_V_2_6_24_5 is not set
# CT_KERNEL_INSTALL_V_2_6_24_6 is not set
# CT_KERNEL_INSTALL_V_2_6_24_7 is not set
# CT_KERNEL_INSTALL_V_2_6_25 is not set
# CT_KERNEL_INSTALL_V_2_6_25_1 is not set
# CT_KERNEL_INSTALL_V_2_6_25_2 is not set
# CT_KERNEL_INSTALL_V_2_6_25_3 is not set
# CT_KERNEL_INSTALL_V_2_6_25_4 is not set
# CT_KERNEL_INSTALL_V_2_6_25_5 is not set
# CT_KERNEL_INSTALL_V_2_6_25_6 is not set
# CT_KERNEL_INSTALL_V_2_6_25_7 is not set
# CT_KERNEL_INSTALL_V_2_6_25_8 is not set
# CT_KERNEL_INSTALL_V_2_6_25_9 is not set
# CT_KERNEL_INSTALL_V_2_6_25_10 is not set
# CT_KERNEL_INSTALL_V_2_6_25_11 is not set
# CT_KERNEL_INSTALL_V_2_6_25_12 is not set
# CT_KERNEL_INSTALL_V_2_6_25_13 is not set
# CT_KERNEL_INSTALL_V_2_6_25_14 is not set
# CT_KERNEL_INSTALL_V_2_6_25_15 is not set
# CT_KERNEL_INSTALL_V_2_6_26 is not set
# CT_KERNEL_INSTALL_V_2_6_26_1 is not set
# CT_KERNEL_INSTALL_V_2_6_26_2 is not set
CT_KERNEL_INSTALL_V_2_6_26_3=y
CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK=y
CT_KERNEL_VERSION="2.6.26.6"
# CT_KERNEL_bare_metal is not set
CT_KERNEL_linux=y
CT_KERNEL_LINUX_INSTALL=y
CT_KERNEL_LINUX_INSTALL_CHECK=y
# CT_KERNEL_V_2_6_18_8 is not set
# CT_KERNEL_V_2_6_19_7 is not set
# CT_KERNEL_V_2_6_20_21 is not set
# CT_KERNEL_V_2_6_21_7 is not set
# CT_KERNEL_V_2_6_22_19 is not set
# CT_KERNEL_V_2_6_23_17 is not set
# CT_KERNEL_V_2_6_24_7 is not set
# CT_KERNEL_V_2_6_25_18 is not set
# CT_KERNEL_V_2_6_26 is not set
# CT_KERNEL_V_2_6_26_1 is not set
# CT_KERNEL_V_2_6_26_2 is not set
# CT_KERNEL_V_2_6_26_3 is not set
# CT_KERNEL_V_2_6_26_4 is not set
# CT_KERNEL_V_2_6_26_5 is not set
CT_KERNEL_V_2_6_26_6=y
# CT_KERNEL_V_2_6_27 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
CT_KERNEL_LINUX_VERBOSE_LEVEL=0
# CT_KERNEL_LINUX_NEEDS_CONFIG is not set
# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
#
# GMP and MPFR
#
CT_GMP_MPFR=y
CT_GMP_MPFR_TARGET=y
CT_GMP_V_4_2_2=y
CT_GMP_VERSION="4.2.2"
# CT_GMP_V_4_2_2 is not set
CT_GMP_V_4_2_4=y
CT_GMP_VERSION="4.2.4"
CT_GMP_CHECK=y
CT_MPFR_V_2_3_1=y
CT_MPFR_VERSION="2.3.1"
# CT_MPFR_V_2_3_1 is not set
CT_MPFR_V_2_3_2=y
CT_MPFR_VERSION="2.3.2"
CT_MPFR_CHECK=y
#
@ -210,6 +191,12 @@ CT_BINUTILS_V_2_18=y
# CT_BINUTILS_V_2_18_50_0_6 is not set
# CT_BINUTILS_V_2_18_50_0_7 is not set
# CT_BINUTILS_V_2_18_50_0_8 is not set
# CT_BINUTILS_V_2_18_50_0_9 is not set
# CT_BINUTILS_V_2_18_90 is not set
# CT_BINUTILS_V_2_18_91 is not set
# CT_BINUTILS_V_2_18_92 is not set
# CT_BINUTILS_V_2_18_93 is not set
# CT_BINUTILS_V_2_19_50_0_1 is not set
CT_BINUTILS_EXTRA_CONFIG=""
CT_BINUTILS_FOR_TARGET=y
CT_BINUTILS_FOR_TARGET_IBERTY=y
@ -218,9 +205,9 @@ CT_BINUTILS_FOR_TARGET_BFD=y
#
# C compiler
#
CT_CC_GCC=y
CT_CC_VERSION="4.3.1"
CT_CC="gcc"
CT_CC_VERSION="4.3.2"
CT_CC_gcc=y
# CT_CC_V_2_95_3 is not set
# CT_CC_V_3_2_3 is not set
# CT_CC_V_3_3_6 is not set
@ -239,7 +226,8 @@ CT_CC="gcc"
# CT_CC_V_4_2_3 is not set
# CT_CC_V_4_2_4 is not set
# CT_CC_V_4_3_0 is not set
CT_CC_V_4_3_1=y
# CT_CC_V_4_3_1 is not set
CT_CC_V_4_3_2=y
CT_CC_GCC_4_3_or_later=y
CT_CC_CXA_ATEXIT=y
# CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
@ -266,21 +254,27 @@ CT_CC_LANG_JAVA=y
# CT_CC_LANG_OBJC is not set
# CT_CC_LANG_OBJCXX is not set
CT_CC_LANG_OTHERS=""
CT_LIBC="uClibc"
#
# C-library
#
# CT_LIBC_GLIBC is not set
CT_LIBC_VERSION="20080801"
# CT_LIBC_EGLIBC is not set
CT_LIBC_UCLIBC=y
# CT_LIBC_V_snapshot is not set
CT_LIBC_V_specific_date=y
# CT_LIBC_eglibc is not set
# CT_LIBC_glibc is not set
CT_LIBC_uClibc=y
# CT_EGLIBC_V_2_5 is not set
# CT_EGLIBC_V_2_6 is not set
# CT_EGLIBC_V_2_7 is not set
# CT_EGLIBC_V_2_8 is not set
# CT_EGLIBC_V_TRUNK 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_V_0_9_28_3 is not set
# CT_LIBC_V_0_9_29 is not set
# CT_LIBC_V_snapshot is not set
CT_LIBC_V_specific_date=y
CT_LIBC_UCLIBC_VERBOSITY_0=y
# CT_LIBC_UCLIBC_VERBOSITY_1 is not set
CT_LIBC_UCLIBC_VERBOSITY=""
@ -290,18 +284,25 @@ CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
CT_LIBC_UCLIBC_DEBUG_LEVEL=0
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
# CT_LIBC_UCLIBC_LOCALES is not set
CT_LIBC="uClibc"
#
# Common C library options
#
# CT_LIBC_SUPPORT_NPTL is not set
CT_LIBC_SUPPORT_LINUXTHREADS=y
CT_THREADS="linuxthreads"
# CT_THREADS_NPTL is not set
CT_THREADS_LINUXTHREADS=y
# CT_THREADS_NONE is not set
CT_THREADS="linuxthreads"
# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
# CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS is not set
# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
#
# Tools facilities
#
CT_SSTRIP=y
# CT_TOOL_libelf is not set
CT_TOOL_sstrip=y
# CT_SSTRIP_ELFKICKERS is not set
CT_SSTRIP_BUILDROOT=y
CT_SSTRIP_FROM="buildroot"
@ -309,11 +310,11 @@ CT_SSTRIP_FROM="buildroot"
#
# Debug facilities
#
CT_DMALLOC=y
CT_DEBUG_dmalloc=y
# CT_DMALLOC_V_5_4_3 is not set
CT_DMALLOC_V_5_5_2=y
CT_DMALLOC_VERSION="5.5.2"
CT_DUMA=y
CT_DEBUG_duma=y
CT_DUMA_A=y
CT_DUMA_SO=y
# CT_DUMA_V_2_5_1 is not set
@ -321,7 +322,7 @@ CT_DUMA_SO=y
# CT_DUMA_V_2_5_12 is not set
CT_DUMA_V_2_5_14=y
CT_DUMA_VERSION="2_5_14"
CT_GDB=y
CT_DEBUG_gdb=y
CT_GDB_CROSS=y
# CT_GDB_CROSS_STATIC is not set
# CT_GDB_CROSS_INSIGHT is not set
@ -330,13 +331,13 @@ CT_GDB_NATIVE=y
CT_GDB_NATIVE_USE_GMP_MPFR=y
CT_GDB_GDBSERVER=y
CT_GDB_GDBSERVER_STATIC=y
# CT_GDB_V_snapshot is not set
# CT_GDB_V_6_4 is not set
# CT_GDB_V_6_5 is not set
# CT_GDB_V_6_6 is not set
# CT_GDB_V_6_7 is not set
# CT_GDB_V_6_7_1 is not set
CT_GDB_V_6_8=y
# CT_GDB_V_snapshot is not set
CT_GDB_VERSION="6.8"
#
@ -344,7 +345,8 @@ CT_GDB_VERSION="6.8"
#
CT_NCURSES_V_5_6=y
CT_NCURSES_VERSION="5.6"
CT_STRACE=y
# CT_DEBUG_ltrace is not set
CT_DEBUG_strace=y
# CT_STRACE_V_4_5 is not set
# CT_STRACE_V_4_5_14 is not set
# CT_STRACE_V_4_5_15 is not set

View File

@ -0,0 +1,3 @@
reporter_name="Yann E. MORIN"
reporter_url="http://ymorin.is-a-geek.org/"
reporter_comment=""

View File

@ -58,8 +58,8 @@ sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;' \
CT_DoAddFileToSample() {
source="$1"
dest="$2"
inode_s=$(ls -i "${source}")
inode_d=$(ls -i "${dest}" 2>/dev/null || 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