Make the debug config menu a generated file.
Add a uClibc-0.9.29 patch directory with one patch (from me!).
Update the armeb-unknown-linux-uclibc sample to uClibc-0.9.29.
Some eyecandy in the gdb build process.
1.1 --- a/Makefile Thu May 17 16:22:51 2007 +0000
1.2 +++ b/Makefile Thu May 17 22:10:48 2007 +0000
1.3 @@ -33,7 +33,7 @@
1.4 help::
1.5 @echo 'Execute "make" or "make all" to build all targets marked with [*]'
1.6
1.7 -.config: $(shell find $(CT_TOP_DIR)/config -type f -name '*.in')
1.8 +.config: $(CONFIG_FILES) $(CT_TOP_DIR)/config/debug.in
1.9 @make oldconfig
1.10
1.11 # Actual build
2.1 --- a/config/debug.in Thu May 17 16:22:51 2007 +0000
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,7 +0,0 @@
2.4 -# Debug facilities menu
2.5 -
2.6 -menu "Debug facilities"
2.7 -
2.8 -source config/debug/gdb.in
2.9 -
2.10 -endmenu
3.1 --- a/kconfig/Makefile Thu May 17 16:22:51 2007 +0000
3.2 +++ b/kconfig/Makefile Thu May 17 22:10:48 2007 +0000
3.3 @@ -16,16 +16,28 @@
3.4 CFLAGS += -DKBUILD_NO_NLS
3.5 endif
3.6
3.7 +# Build a list of all config files
3.8 +CONFIG_FILES = $(filter-out %debug.in,$(shell find $(CT_TOP_DIR)/config -type f -name '*.in'))
3.9 +
3.10 # Derive the project version from, well, the project version:
3.11 export PROJECTVERSION=$(CT_VERSION)
3.12
3.13 -menuconfig: $(obj)/mconf
3.14 +$(CT_TOP_DIR)/config/debug.in: $(CONFIG_FILES)
3.15 + @echo "# Debug facilities menu" >$@
3.16 + @echo "# Generated file, do not edit!!!" >>$@
3.17 + @echo "menu \"Debug facilities\"" >>$@
3.18 + @for f in $(patsubst $(CT_TOP_DIR)/%,%,$(wildcard $(CT_TOP_DIR)/config/debug/*.in)); do \
3.19 + echo "source $${f}"; \
3.20 + done >>$@
3.21 + @echo "endmenu" >>$@
3.22 +
3.23 +menuconfig: $(obj)/mconf $(CT_TOP_DIR)/config/debug.in
3.24 @$< $(KCONFIG_TOP)
3.25
3.26 -config: $(obj)/conf
3.27 +config: $(obj)/conf $(CT_TOP_DIR)/config/debug.in
3.28 @$< $(KCONFIG_TOP)
3.29
3.30 -oldconfig: $(obj)/conf
3.31 +oldconfig: $(obj)/conf $(CT_TOP_DIR)/config/debug.in
3.32 @$< -s $(KCONFIG_TOP)
3.33
3.34 # Help text used by make help
3.35 @@ -54,3 +66,4 @@
3.36
3.37 clean::
3.38 @rm -f $(wildcard kconfig/*zconf*.c) kconfig/{conf,mconf}
3.39 + @rm -f "$(CT_TOP_DIR)/config/debug.in"
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/patches/uClibc/0.9.29/500-headers-no-cross-gcc.patch Thu May 17 22:10:48 2007 +0000
4.3 @@ -0,0 +1,13 @@
4.4 +Index: uClibc/Makefile.in
4.5 +===================================================================
4.6 +--- uClibc/Makefile.in (revision 18643)
4.7 ++++ uClibc/Makefile.in (working copy)
4.8 +@@ -96,7 +96,7 @@
4.9 + cd $(top_builddir); \
4.10 + tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/null`; \
4.11 + [ -z "$$tmp" ] && tmp='include/bits/sysnum.h.new'; \
4.12 +- KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir=. CC="$(CC) $(CPU_CFLAGS)" $(SHELL) extra/scripts/gen_bits_syscall_h.sh > $$tmp; \
4.13 ++ KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir=. CC=$(HOSTCC) $(SHELL) extra/scripts/gen_bits_syscall_h.sh > $$tmp; \
4.14 + if cmp include/bits/sysnum.h $$tmp >/dev/null 2>&1; then \
4.15 + $(RM) $$tmp; \
4.16 + else \
5.1 --- a/samples/armeb-unknown-linux-uclibc/crosstool.config Thu May 17 16:22:51 2007 +0000
5.2 +++ b/samples/armeb-unknown-linux-uclibc/crosstool.config Thu May 17 22:10:48 2007 +0000
5.3 @@ -1,13 +1,13 @@
5.4 #
5.5 # Automatically generated make config: don't edit
5.6 -# crosstool-NG version: 0.0.2-svn
5.7 -# Thu May 10 23:29:27 2007
5.8 +# crosstool-NG version: 0.0.3-svn
5.9 +# Thu May 17 20:02:42 2007
5.10 #
5.11
5.12 #
5.13 # Paths and misc options
5.14 #
5.15 -# CT_EXPERIMENTAL is not set
5.16 +CT_EXPERIMENTAL=y
5.17 # CT_OBSOLETE is not set
5.18 CT_PARALLEL_JOBS=1
5.19 CT_LOAD=0
5.20 @@ -47,7 +47,6 @@
5.21 CT_LOG_LEVEL_MAX="EXTRA"
5.22 # CT_LOG_SEE_TOOLS_WARN is not set
5.23 # CT_LOG_PROGRESS_BAR is not set
5.24 -# CT_LOG_USE_COLORS is not set
5.25 CT_LOG_TO_FILE=y
5.26 CT_LOG_FILE="${CT_PREFIX_DIR}/${CT_TARGET}.log"
5.27
5.28 @@ -101,6 +100,7 @@
5.29 CT_CROSS=y
5.30 # CT_CROSS_NATIVE is not set
5.31 # CT_CANADIAN is not set
5.32 +CT_TOOLCHAIN_TYPE="cross"
5.33 CT_BUILD=""
5.34 CT_CC_NATIVE="gcc"
5.35
5.36 @@ -108,7 +108,6 @@
5.37 # Kernel
5.38 #
5.39 CT_KERNEL_LINUX=y
5.40 -# CT_KERNEL_CYGWIN is not set
5.41 CT_KERNEL_VERSION="2.6.21.1"
5.42 CT_KERNEL_LINUX_HEADERS_INSTALL=y
5.43 # CT_KERNEL_LINUX_HEADERS_SANITISED is not set
5.44 @@ -181,9 +180,6 @@
5.45 # Core C Compiler (used to build the C library)
5.46 #
5.47 # CT_CC_USE_CORE is not set
5.48 -CT_CC_CORE_GCC=y
5.49 -# CT_CC_CORE_TCC is not set
5.50 -CT_CC_CORE="gcc"
5.51
5.52 #
5.53 # Final C compiler
5.54 @@ -240,8 +236,13 @@
5.55 #
5.56 # CT_LIBC_GLIBC is not set
5.57 CT_LIBC_UCLIBC=y
5.58 -CT_LIBC_VERSION="0.9.28.3"
5.59 +CT_LIBC_VERSION="0.9.29"
5.60 CT_LIBC="uClibc"
5.61 +# CT_LIBC_SUPPORT_NPTL is not set
5.62 +CT_LIBC_SUPPORT_LINUXTHREADS=y
5.63 +# CT_LIBC_THREADS_NPTL is not set
5.64 +CT_LIBC_THREADS_LINUXTHREADS=y
5.65 +# CT_LIBC_THREADS_NONE is not set
5.66 # CT_LIBC_V_snapshot is not set
5.67 # CT_LIBC_V_specific_date is not set
5.68 # CT_LIBC_V_0_9_26 is not set
5.69 @@ -249,11 +250,20 @@
5.70 # CT_LIBC_V_0_9_28 is not set
5.71 # CT_LIBC_V_0_9_28_1 is not set
5.72 # CT_LIBC_V_0_9_28_2 is not set
5.73 -CT_LIBC_V_0_9_28_3=y
5.74 -# CT_LIBC_V_0_9_29 is not set
5.75 +# CT_LIBC_V_0_9_28_3 is not set
5.76 +CT_LIBC_V_0_9_29=y
5.77 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
5.78 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
5.79 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
5.80 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
5.81 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_TOP_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
5.82 # CT_LIBC_UCLIBC_LOCALES is not set
5.83 +
5.84 +#
5.85 +# Debug facilities
5.86 +#
5.87 +CT_DMALLOC=y
5.88 +# CT_DMALLOC_V_5_4_3 is not set
5.89 +CT_DMALLOC_V_5_5_2=y
5.90 +CT_DMALLOC_VERSION="5.5.2"
5.91 +# CT_GDB is not set
6.1 --- a/samples/armeb-unknown-linux-uclibc/uClibc-0.9.28.3.config Thu May 17 16:22:51 2007 +0000
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,169 +0,0 @@
6.4 -#
6.5 -# Automatically generated make config: don't edit
6.6 -#
6.7 -# TARGET_alpha is not set
6.8 -TARGET_arm=y
6.9 -# TARGET_bfin is not set
6.10 -# TARGET_cris is not set
6.11 -# TARGET_e1 is not set
6.12 -# TARGET_frv is not set
6.13 -# TARGET_h8300 is not set
6.14 -# TARGET_i386 is not set
6.15 -# TARGET_i960 is not set
6.16 -# TARGET_m68k is not set
6.17 -# TARGET_microblaze is not set
6.18 -# TARGET_mips is not set
6.19 -# TARGET_nios is not set
6.20 -# TARGET_nios2 is not set
6.21 -# TARGET_powerpc is not set
6.22 -# TARGET_sh is not set
6.23 -# TARGET_sh64 is not set
6.24 -# TARGET_sparc is not set
6.25 -# TARGET_v850 is not set
6.26 -# TARGET_x86_64 is not set
6.27 -
6.28 -#
6.29 -# Target Architecture Features and Options
6.30 -#
6.31 -HAVE_ELF=y
6.32 -ARCH_SUPPORTS_LITTLE_ENDIAN=y
6.33 -TARGET_ARCH="arm"
6.34 -ARCH_SUPPORTS_BIG_ENDIAN=y
6.35 -# CONFIG_GENERIC_ARM is not set
6.36 -# CONFIG_ARM610 is not set
6.37 -# CONFIG_ARM710 is not set
6.38 -# CONFIG_ARM720T is not set
6.39 -# CONFIG_ARM920T is not set
6.40 -# CONFIG_ARM922T is not set
6.41 -# CONFIG_ARM926T is not set
6.42 -# CONFIG_ARM1136JF_S is not set
6.43 -# CONFIG_ARM_SA110 is not set
6.44 -# CONFIG_ARM_SA1100 is not set
6.45 -CONFIG_ARM_XSCALE=y
6.46 -# ARCH_LITTLE_ENDIAN is not set
6.47 -ARCH_BIG_ENDIAN=y
6.48 -# ARCH_HAS_NO_MMU is not set
6.49 -ARCH_HAS_MMU=y
6.50 -UCLIBC_HAS_FLOATS=y
6.51 -# HAS_FPU is not set
6.52 -UCLIBC_HAS_SOFT_FLOAT=y
6.53 -DO_C99_MATH=y
6.54 -KERNEL_SOURCE="/usr/src/linux"
6.55 -C_SYMBOL_PREFIX=""
6.56 -HAVE_DOT_CONFIG=y
6.57 -
6.58 -#
6.59 -# General Library Settings
6.60 -#
6.61 -# HAVE_NO_PIC is not set
6.62 -DOPIC=y
6.63 -# HAVE_NO_SHARED is not set
6.64 -HAVE_SHARED=y
6.65 -# ARCH_HAS_NO_LDSO is not set
6.66 -BUILD_UCLIBC_LDSO=y
6.67 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
6.68 -LDSO_LDD_SUPPORT=y
6.69 -LDSO_CACHE_SUPPORT=y
6.70 -# LDSO_PRELOAD_FILE_SUPPORT is not set
6.71 -LDSO_BASE_FILENAME="ld.so"
6.72 -# LDSO_RUNPATH is not set
6.73 -# DL_FINI_CRT_COMPAT is not set
6.74 -UCLIBC_CTOR_DTOR=y
6.75 -# HAS_NO_THREADS is not set
6.76 -UCLIBC_HAS_THREADS=y
6.77 -# PTHREADS_DEBUG_SUPPORT is not set
6.78 -UCLIBC_HAS_LFS=y
6.79 -UCLIBC_STATIC_LDCONFIG=y
6.80 -# MALLOC is not set
6.81 -# MALLOC_SIMPLE is not set
6.82 -MALLOC_STANDARD=y
6.83 -# MALLOC_GLIBC_COMPAT is not set
6.84 -UCLIBC_DYNAMIC_ATEXIT=y
6.85 -HAS_SHADOW=y
6.86 -UNIX98PTY_ONLY=y
6.87 -ASSUME_DEVPTS=y
6.88 -UCLIBC_HAS_TM_EXTENSIONS=y
6.89 -# UCLIBC_HAS_TZ_CACHING is not set
6.90 -UCLIBC_HAS_TZ_FILE=y
6.91 -# UCLIBC_HAS_TZ_FILE_READ_MANY is not set
6.92 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
6.93 -
6.94 -#
6.95 -# Networking Support
6.96 -#
6.97 -# UCLIBC_HAS_IPV6 is not set
6.98 -UCLIBC_HAS_RPC=y
6.99 -UCLIBC_HAS_FULL_RPC=y
6.100 -
6.101 -#
6.102 -# String and Stdio Support
6.103 -#
6.104 -UCLIBC_HAS_STRING_GENERIC_OPT=y
6.105 -UCLIBC_HAS_STRING_ARCH_OPT=y
6.106 -UCLIBC_HAS_CTYPE_TABLES=y
6.107 -UCLIBC_HAS_CTYPE_SIGNED=y
6.108 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
6.109 -# UCLIBC_HAS_CTYPE_CHECKED is not set
6.110 -UCLIBC_HAS_CTYPE_ENFORCED=y
6.111 -# UCLIBC_HAS_WCHAR is not set
6.112 -# UCLIBC_HAS_LOCALE is not set
6.113 -UCLIBC_HAS_HEXADECIMAL_FLOATS=y
6.114 -# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
6.115 -# USE_OLD_VFPRINTF is not set
6.116 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
6.117 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
6.118 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
6.119 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
6.120 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
6.121 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
6.122 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
6.123 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
6.124 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
6.125 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
6.126 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
6.127 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
6.128 -UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT=y
6.129 -UCLIBC_HAS_STDIO_GETC_MACRO=y
6.130 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
6.131 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
6.132 -UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
6.133 -UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
6.134 -UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
6.135 -UCLIBC_HAS_PRINTF_M_SPEC=y
6.136 -UCLIBC_HAS_ERRNO_MESSAGES=y
6.137 -# UCLIBC_HAS_SYS_ERRLIST is not set
6.138 -UCLIBC_HAS_SIGNUM_MESSAGES=y
6.139 -# UCLIBC_HAS_SYS_SIGLIST is not set
6.140 -UCLIBC_HAS_GNU_GETOPT=y
6.141 -
6.142 -#
6.143 -# Big and Tall
6.144 -#
6.145 -UCLIBC_HAS_REGEX=y
6.146 -UCLIBC_HAS_WORDEXP=y
6.147 -UCLIBC_HAS_FTW=y
6.148 -UCLIBC_HAS_GLOB=y
6.149 -
6.150 -#
6.151 -# Library Installation Options
6.152 -#
6.153 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
6.154 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
6.155 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
6.156 -
6.157 -#
6.158 -# uClibc security related options
6.159 -#
6.160 -# UCLIBC_SECURITY is not set
6.161 -
6.162 -#
6.163 -# uClibc development/debugging options
6.164 -#
6.165 -CROSS_COMPILER_PREFIX=""
6.166 -# DODEBUG is not set
6.167 -# DODEBUG_PT is not set
6.168 -# DOASSERTS is not set
6.169 -# SUPPORT_LD_DEBUG is not set
6.170 -# SUPPORT_LD_DEBUG_EARLY is not set
6.171 -WARNINGS="-Wall"
6.172 -# UCLIBC_MJN3_ONLY is not set
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/samples/armeb-unknown-linux-uclibc/uClibc-0.9.29.config Thu May 17 22:10:48 2007 +0000
7.3 @@ -0,0 +1,214 @@
7.4 +#
7.5 +# Automatically generated make config: don't edit
7.6 +# Thu May 17 20:12:32 2007
7.7 +#
7.8 +# TARGET_alpha is not set
7.9 +TARGET_arm=y
7.10 +# TARGET_bfin is not set
7.11 +# TARGET_cris is not set
7.12 +# TARGET_e1 is not set
7.13 +# TARGET_frv is not set
7.14 +# TARGET_h8300 is not set
7.15 +# TARGET_hppa is not set
7.16 +# TARGET_i386 is not set
7.17 +# TARGET_i960 is not set
7.18 +# TARGET_ia64 is not set
7.19 +# TARGET_m68k is not set
7.20 +# TARGET_microblaze is not set
7.21 +# TARGET_mips is not set
7.22 +# TARGET_nios is not set
7.23 +# TARGET_nios2 is not set
7.24 +# TARGET_powerpc is not set
7.25 +# TARGET_sh is not set
7.26 +# TARGET_sh64 is not set
7.27 +# TARGET_sparc is not set
7.28 +# TARGET_v850 is not set
7.29 +# TARGET_vax is not set
7.30 +# TARGET_x86_64 is not set
7.31 +
7.32 +#
7.33 +# Target Architecture Features and Options
7.34 +#
7.35 +TARGET_ARCH="arm"
7.36 +FORCE_OPTIONS_FOR_ARCH=y
7.37 +CONFIG_ARM_OABI=y
7.38 +# CONFIG_ARM_EABI is not set
7.39 +USE_BX=y
7.40 +# CONFIG_GENERIC_ARM is not set
7.41 +# CONFIG_ARM610 is not set
7.42 +# CONFIG_ARM710 is not set
7.43 +# CONFIG_ARM7TDMI is not set
7.44 +# CONFIG_ARM720T is not set
7.45 +# CONFIG_ARM920T is not set
7.46 +# CONFIG_ARM922T is not set
7.47 +# CONFIG_ARM926T is not set
7.48 +# CONFIG_ARM10T is not set
7.49 +# CONFIG_ARM1136JF_S is not set
7.50 +# CONFIG_ARM1176JZ_S is not set
7.51 +# CONFIG_ARM1176JZF_S is not set
7.52 +# CONFIG_ARM_SA110 is not set
7.53 +# CONFIG_ARM_SA1100 is not set
7.54 +CONFIG_ARM_XSCALE=y
7.55 +# CONFIG_ARM_IWMMXT is not set
7.56 +TARGET_SUBARCH=""
7.57 +
7.58 +#
7.59 +# Using ELF file format
7.60 +#
7.61 +ARCH_ANY_ENDIAN=y
7.62 +ARCH_BIG_ENDIAN=y
7.63 +ARCH_WANTS_BIG_ENDIAN=y
7.64 +# ARCH_WANTS_LITTLE_ENDIAN is not set
7.65 +ARCH_HAS_MMU=y
7.66 +ARCH_USE_MMU=y
7.67 +UCLIBC_HAS_FLOATS=y
7.68 +# UCLIBC_HAS_FPU is not set
7.69 +UCLIBC_HAS_SOFT_FLOAT=y
7.70 +DO_C99_MATH=y
7.71 +KERNEL_HEADERS="/usr/include"
7.72 +HAVE_DOT_CONFIG=y
7.73 +
7.74 +#
7.75 +# General Library Settings
7.76 +#
7.77 +# HAVE_NO_PIC is not set
7.78 +DOPIC=y
7.79 +# HAVE_NO_SHARED is not set
7.80 +# ARCH_HAS_NO_LDSO is not set
7.81 +HAVE_SHARED=y
7.82 +FORCE_SHAREABLE_TEXT_SEGMENTS=y
7.83 +LDSO_LDD_SUPPORT=y
7.84 +LDSO_CACHE_SUPPORT=y
7.85 +# LDSO_PRELOAD_FILE_SUPPORT is not set
7.86 +LDSO_BASE_FILENAME="ld.so"
7.87 +UCLIBC_STATIC_LDCONFIG=y
7.88 +# LDSO_RUNPATH is not set
7.89 +UCLIBC_CTOR_DTOR=y
7.90 +# HAS_NO_THREADS is not set
7.91 +UCLIBC_HAS_THREADS=y
7.92 +# PTHREADS_DEBUG_SUPPORT is not set
7.93 +LINUXTHREADS_OLD=y
7.94 +UCLIBC_HAS_LFS=y
7.95 +# MALLOC is not set
7.96 +# MALLOC_SIMPLE is not set
7.97 +MALLOC_STANDARD=y
7.98 +# MALLOC_GLIBC_COMPAT is not set
7.99 +UCLIBC_DYNAMIC_ATEXIT=y
7.100 +# COMPAT_ATEXIT is not set
7.101 +# UCLIBC_SUSV3_LEGACY is not set
7.102 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
7.103 +UCLIBC_HAS_SHADOW=y
7.104 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
7.105 +# UCLIBC_HAS___PROGNAME is not set
7.106 +UNIX98PTY_ONLY=y
7.107 +ASSUME_DEVPTS=y
7.108 +UCLIBC_HAS_TM_EXTENSIONS=y
7.109 +# UCLIBC_HAS_TZ_CACHING is not set
7.110 +UCLIBC_HAS_TZ_FILE=y
7.111 +# UCLIBC_HAS_TZ_FILE_READ_MANY is not set
7.112 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
7.113 +
7.114 +#
7.115 +# Advanced Library Settings
7.116 +#
7.117 +UCLIBC_PWD_BUFFER_SIZE=256
7.118 +UCLIBC_GRP_BUFFER_SIZE=256
7.119 +
7.120 +#
7.121 +# Networking Support
7.122 +#
7.123 +# UCLIBC_HAS_IPV6 is not set
7.124 +UCLIBC_HAS_RPC=y
7.125 +UCLIBC_HAS_FULL_RPC=y
7.126 +UCLIBC_HAS_REENTRANT_RPC=y
7.127 +UCLIBC_USE_NETLINK=y
7.128 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
7.129 +
7.130 +#
7.131 +# String and Stdio Support
7.132 +#
7.133 +UCLIBC_HAS_STRING_GENERIC_OPT=y
7.134 +UCLIBC_HAS_STRING_ARCH_OPT=y
7.135 +UCLIBC_HAS_CTYPE_TABLES=y
7.136 +UCLIBC_HAS_CTYPE_SIGNED=y
7.137 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
7.138 +# UCLIBC_HAS_CTYPE_CHECKED is not set
7.139 +UCLIBC_HAS_CTYPE_ENFORCED=y
7.140 +# UCLIBC_HAS_WCHAR is not set
7.141 +# UCLIBC_HAS_LOCALE is not set
7.142 +UCLIBC_HAS_HEXADECIMAL_FLOATS=y
7.143 +# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
7.144 +# USE_OLD_VFPRINTF is not set
7.145 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
7.146 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
7.147 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
7.148 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
7.149 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
7.150 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
7.151 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
7.152 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
7.153 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
7.154 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
7.155 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
7.156 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
7.157 +UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT=y
7.158 +UCLIBC_HAS_STDIO_GETC_MACRO=y
7.159 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
7.160 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
7.161 +UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
7.162 +UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
7.163 +UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
7.164 +UCLIBC_HAS_PRINTF_M_SPEC=y
7.165 +UCLIBC_HAS_ERRNO_MESSAGES=y
7.166 +# UCLIBC_HAS_SYS_ERRLIST is not set
7.167 +UCLIBC_HAS_SIGNUM_MESSAGES=y
7.168 +# UCLIBC_HAS_SYS_SIGLIST is not set
7.169 +UCLIBC_HAS_GNU_GETOPT=y
7.170 +# UCLIBC_HAS_GNU_GETSUBOPT is not set
7.171 +
7.172 +#
7.173 +# Big and Tall
7.174 +#
7.175 +UCLIBC_HAS_REGEX=y
7.176 +UCLIBC_HAS_REGEX_OLD=y
7.177 +UCLIBC_HAS_FNMATCH=y
7.178 +UCLIBC_HAS_FNMATCH_OLD=y
7.179 +UCLIBC_HAS_WORDEXP=y
7.180 +UCLIBC_HAS_FTW=y
7.181 +UCLIBC_HAS_GLOB=y
7.182 +# UCLIBC_HAS_GNU_GLOB is not set
7.183 +
7.184 +#
7.185 +# Library Installation Options
7.186 +#
7.187 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
7.188 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
7.189 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
7.190 +
7.191 +#
7.192 +# Security options
7.193 +#
7.194 +UCLIBC_BUILD_PIE=y
7.195 +UCLIBC_HAS_ARC4RANDOM=y
7.196 +# HAVE_NO_SSP is not set
7.197 +# UCLIBC_HAS_SSP is not set
7.198 +# UCLIBC_BUILD_RELRO is not set
7.199 +# UCLIBC_BUILD_NOW is not set
7.200 +UCLIBC_BUILD_NOEXECSTACK=y
7.201 +
7.202 +#
7.203 +# uClibc development/debugging options
7.204 +#
7.205 +CROSS_COMPILER_PREFIX=""
7.206 +UCLIBC_EXTRA_CFLAGS=""
7.207 +# DODEBUG is not set
7.208 +# DODEBUG_PT is not set
7.209 +# DOSTRIP is not set
7.210 +# DOASSERTS is not set
7.211 +# SUPPORT_LD_DEBUG is not set
7.212 +# SUPPORT_LD_DEBUG_EARLY is not set
7.213 +# UCLIBC_MALLOC_DEBUGGING is not set
7.214 +WARNINGS="-Wall"
7.215 +# EXTRA_WARNINGS is not set
7.216 +# DOMULTI is not set
7.217 +# UCLIBC_MJN3_ONLY is not set
8.1 --- a/scripts/build/debug/gdb.sh Thu May 17 16:22:51 2007 +0000
8.2 +++ b/scripts/build/debug/gdb.sh Thu May 17 22:10:48 2007 +0000
8.3 @@ -31,7 +31,7 @@
8.4 esac
8.5
8.6 if [ "${CT_GDB_CROSS}" = "y" ]; then
8.7 - CT_DoStep EXTRA "Installing cross-gdb"
8.8 + CT_DoStep INFO "Installing cross-gdb"
8.9 CT_DoLog EXTRA "Configuring cross-gdb"
8.10
8.11 mkdir -p "${CT_BUILD_DIR}/build-gdb-cross"
8.12 @@ -54,7 +54,7 @@
8.13
8.14 CT_EndStep
8.15
8.16 - CT_DoStep EXTRA "Installing gdbserver"
8.17 + CT_DoStep INFO "Installing gdbserver"
8.18 CT_DoLog EXTRA "Configuring gdbserver"
8.19
8.20 mkdir -p "${CT_BUILD_DIR}/build-gdb-gdbserver"
9.1 --- a/scripts/functions Thu May 17 16:22:51 2007 +0000
9.2 +++ b/scripts/functions Thu May 17 22:10:48 2007 +0000
9.3 @@ -97,7 +97,7 @@
9.4 elapsed_min=$((elapsed/(60*1000*1000*1000)))
9.5 elapsed_sec=`printf "%02d" $(((elapsed%(60*1000*1000*1000))/(1000*1000*1000)))`
9.6 elapsed_csec=`printf "%02d" $(((elapsed%(1000*1000*1000))/(10*1000*1000)))`
9.7 - CT_DoLog INFO "(elapsed: ${elapsed_min}:${elapsed_sec}.${elapsed_csec})"
9.8 + CT_DoLog ${1:-INFO} "(elapsed: ${elapsed_min}:${elapsed_sec}.${elapsed_csec})"
9.9 }
9.10
9.11 # Abort the execution with an error message