ARM EABI is now working for little endian ARM targets.
Big endian is still missing, though...
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config Sun Sep 16 17:59:18 2007 +0000
1.3 @@ -0,0 +1,252 @@
1.4 +#
1.5 +# Automatically generated make config: don't edit
1.6 +# crosstool-NG version: 0.3.1+svn
1.7 +# Sun Sep 16 17:43:02 2007
1.8 +#
1.9 +# CT_FOOBAR is not set
1.10 +
1.11 +#
1.12 +# Paths and misc options
1.13 +#
1.14 +
1.15 +#
1.16 +# crosstool-NG behavior
1.17 +#
1.18 +# CT_OBSOLETE is not set
1.19 +CT_EXPERIMENTAL=y
1.20 +# CT_BROKEN is not set
1.21 +CT_DEBUG_CT=y
1.22 +# CT_DEBUG_CT_PAUSE_STEPS is not set
1.23 +CT_DEBUG_CT_SAVE_STEPS=y
1.24 +CT_DEBUG_CT_SAVE_STEPS_GZIP=y
1.25 +
1.26 +#
1.27 +# Build behavior
1.28 +#
1.29 +CT_PARALLEL_JOBS=1
1.30 +CT_LOAD=0
1.31 +CT_NICE=0
1.32 +CT_USE_PIPES=y
1.33 +
1.34 +#
1.35 +# Paths
1.36 +#
1.37 +CT_LOCAL_TARBALLS_DIR="${HOME}/dev/src"
1.38 +CT_SAVE_TARBALLS=y
1.39 +CT_PREFIX_DIR="/opt/x-tools/${CT_TARGET}"
1.40 +CT_INSTALL_DIR="${CT_PREFIX_DIR}"
1.41 +# CT_CUSTOM_PATCH is not set
1.42 +CT_REMOVE_DOCS=y
1.43 +# CT_INSTALL_DIR_RO is not set
1.44 +
1.45 +#
1.46 +# Downloading
1.47 +#
1.48 +# CT_FORCE_DOWNLOAD is not set
1.49 +# CT_ONLY_DOWNLOAD is not set
1.50 +
1.51 +#
1.52 +# Extracting
1.53 +#
1.54 +# CT_FORCE_EXTRACT is not set
1.55 +# CT_ONLY_EXTRACT is not set
1.56 +
1.57 +#
1.58 +# Logging
1.59 +#
1.60 +# CT_LOG_ERROR is not set
1.61 +# CT_LOG_WARN is not set
1.62 +# CT_LOG_INFO is not set
1.63 +CT_LOG_EXTRA=y
1.64 +# CT_LOG_DEBUG is not set
1.65 +# CT_LOG_ALL is not set
1.66 +CT_LOG_LEVEL_MAX="EXTRA"
1.67 +# CT_LOG_SEE_TOOLS_WARN is not set
1.68 +CT_LOG_PROGRESS_BAR=y
1.69 +CT_LOG_TO_FILE=y
1.70 +CT_LOG_FILE_COMPRESS=y
1.71 +
1.72 +#
1.73 +# Target options
1.74 +#
1.75 +
1.76 +#
1.77 +# General target options
1.78 +#
1.79 +CT_ARCH="arm"
1.80 +CT_ARCH_ARM=y
1.81 +# CT_ARCH_IA64 is not set
1.82 +# CT_ARCH_MIPS is not set
1.83 +# CT_ARCH_x86 is not set
1.84 +# CT_ARCH_x86_64 is not set
1.85 +CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
1.86 +# CT_ARCH_DEFAULT_BE is not set
1.87 +CT_ARCH_DEFAULT_LE=y
1.88 +# CT_ARCH_BE is not set
1.89 +CT_ARCH_LE=y
1.90 +
1.91 +#
1.92 +# ARM specific options
1.93 +#
1.94 +CT_ARCH_ARM_EABI=y
1.95 +
1.96 +#
1.97 +# Target optimisations
1.98 +#
1.99 +CT_ARCH_ARCH="armv5te"
1.100 +CT_ARCH_ABI=""
1.101 +CT_ARCH_CPU="xscale"
1.102 +CT_ARCH_TUNE="xscale"
1.103 +CT_ARCH_FPU=""
1.104 +# CT_ARCH_FLOAT_HW is not set
1.105 +CT_ARCH_FLOAT_SW=y
1.106 +CT_TARGET_CFLAGS=""
1.107 +
1.108 +#
1.109 +# Toolchain options
1.110 +#
1.111 +
1.112 +#
1.113 +# General toolchain options
1.114 +#
1.115 +CT_USE_SYSROOT=y
1.116 +CT_SHARED_LIBS=y
1.117 +# CT_THREADS_NPTL is not set
1.118 +CT_THREADS_LINUXTHREADS=y
1.119 +# CT_THREADS_NONE is not set
1.120 +CT_THREADS="linuxthreads"
1.121 +CT_TARGET_VENDOR="unknown"
1.122 +CT_TARGET_ALIAS_SED_EXPR=""
1.123 +CT_TARGET_ALIAS=""
1.124 +
1.125 +#
1.126 +# Toolchain type
1.127 +#
1.128 +# CT_NATIVE is not set
1.129 +CT_CROSS=y
1.130 +# CT_CROSS_NATIVE is not set
1.131 +# CT_CANADIAN is not set
1.132 +CT_TOOLCHAIN_TYPE="cross"
1.133 +CT_BUILD=""
1.134 +CT_CC_NATIVE="gcc"
1.135 +
1.136 +#
1.137 +# Kernel
1.138 +#
1.139 +CT_KERNEL_LINUX=y
1.140 +CT_KERNEL_VERSION="2.6.22.6"
1.141 +CT_KERNEL_LINUX_HEADERS_INSTALL=y
1.142 +# CT_KERNEL_LINUX_HEADERS_SANITISED is not set
1.143 +# CT_KERNEL_LINUX_HEADERS_COPY is not set
1.144 +# CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
1.145 +CT_KERNEL="linux"
1.146 +CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
1.147 +# CT_KERNEL_INSTALL_V_2_6_18_8 is not set
1.148 +# CT_KERNEL_INSTALL_V_2_6_19_7 is not set
1.149 +# CT_KERNEL_INSTALL_V_2_6_20_15 is not set
1.150 +# CT_KERNEL_INSTALL_V_2_6_21_7 is not set
1.151 +# CT_KERNEL_INSTALL_V_2_6_22 is not set
1.152 +# CT_KERNEL_INSTALL_V_2_6_22_1 is not set
1.153 +# CT_KERNEL_INSTALL_V_2_6_22_2 is not set
1.154 +# CT_KERNEL_INSTALL_V_2_6_22_3 is not set
1.155 +# CT_KERNEL_INSTALL_V_2_6_22_4 is not set
1.156 +# CT_KERNEL_INSTALL_V_2_6_22_5 is not set
1.157 +CT_KERNEL_INSTALL_V_2_6_22_6=y
1.158 +# CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK is not set
1.159 +CT_KERNEL_LINUX_VERBOSITY_0=y
1.160 +# CT_KERNEL_LINUX_VERBOSITY_1 is not set
1.161 +# CT_KERNEL_LINUX_VERBOSITY_2 is not set
1.162 +CT_KERNEL_LINUX_VERBOSE_LEVEL=0
1.163 +# CT_KERNEL_LINUX_NEEDS_CONFIG is not set
1.164 +
1.165 +#
1.166 +# binutils
1.167 +#
1.168 +CT_BINUTILS_VERSION="2.18"
1.169 +# CT_BINUTILS_V_2_14 is not set
1.170 +# CT_BINUTILS_V_2_15 is not set
1.171 +# CT_BINUTILS_V_2_16_1 is not set
1.172 +# CT_BINUTILS_V_2_17 is not set
1.173 +# CT_BINUTILS_V_2_17_50_0_10 is not set
1.174 +# CT_BINUTILS_V_2_17_50_0_15 is not set
1.175 +# CT_BINUTILS_V_2_17_50_0_17 is not set
1.176 +# CT_BINUTILS_V_2_17_50_0_18 is not set
1.177 +CT_BINUTILS_V_2_18=y
1.178 +CT_BINUTILS_EXTRA_CONFIG=""
1.179 +
1.180 +#
1.181 +# C compiler
1.182 +#
1.183 +CT_CC_GCC=y
1.184 +CT_CC_VERSION="4.2.1"
1.185 +CT_CC="gcc"
1.186 +# CT_CC_V_2_95_3 is not set
1.187 +# CT_CC_V_3_2_3 is not set
1.188 +# CT_CC_V_3_3_6 is not set
1.189 +# CT_CC_V_3_4_6 is not set
1.190 +# CT_CC_V_4_0_0 is not set
1.191 +# CT_CC_V_4_0_1 is not set
1.192 +# CT_CC_V_4_0_2 is not set
1.193 +# CT_CC_V_4_0_3 is not set
1.194 +# CT_CC_V_4_0_4 is not set
1.195 +# CT_CC_V_4_1_0 is not set
1.196 +# CT_CC_V_4_1_1 is not set
1.197 +# CT_CC_V_4_1_2 is not set
1.198 +# CT_CC_V_4_2_0 is not set
1.199 +CT_CC_V_4_2_1=y
1.200 +CT_CC_CXA_ATEXIT=y
1.201 +CT_CC_CORE_EXTRA_CONFIG=""
1.202 +CT_CC_EXTRA_CONFIG=""
1.203 +CT_CC_SUPPORT_CXX=y
1.204 +CT_CC_SUPPORT_FORTRAN=y
1.205 +CT_CC_SUPPORT_JAVA=y
1.206 +CT_CC_SUPPORT_ADA=y
1.207 +CT_CC_SUPPORT_OBJC=y
1.208 +CT_CC_SUPPORT_OBJCXX=y
1.209 +
1.210 +#
1.211 +# Additionnal supported languages:
1.212 +#
1.213 +CT_CC_LANG_CXX=y
1.214 +# CT_CC_LANG_FORTRAN is not set
1.215 +# CT_CC_LANG_JAVA is not set
1.216 +# CT_CC_LANG_ADA is not set
1.217 +# CT_CC_LANG_OBJC is not set
1.218 +# CT_CC_LANG_OBJCXX is not set
1.219 +CT_CC_LANG_OTHERS=""
1.220 +
1.221 +#
1.222 +# C-library
1.223 +#
1.224 +# CT_LIBC_GLIBC is not set
1.225 +CT_LIBC_UCLIBC=y
1.226 +CT_LIBC_VERSION="0.9.29"
1.227 +CT_LIBC="uClibc"
1.228 +# CT_LIBC_SUPPORT_NPTL is not set
1.229 +CT_LIBC_SUPPORT_LINUXTHREADS=y
1.230 +# CT_LIBC_V_snapshot is not set
1.231 +# CT_LIBC_V_specific_date is not set
1.232 +# CT_LIBC_V_0_9_28 is not set
1.233 +# CT_LIBC_V_0_9_28_1 is not set
1.234 +# CT_LIBC_V_0_9_28_2 is not set
1.235 +# CT_LIBC_V_0_9_28_3 is not set
1.236 +CT_LIBC_V_0_9_29=y
1.237 +CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
1.238 +# CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
1.239 +# CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
1.240 +CT_LIBC_UCLIBC_DEBUG_LEVEL=0
1.241 +CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
1.242 +# CT_LIBC_UCLIBC_LOCALES is not set
1.243 +
1.244 +#
1.245 +# Tools facilities
1.246 +#
1.247 +# CT_SSTRIP is not set
1.248 +
1.249 +#
1.250 +# Debug facilities
1.251 +#
1.252 +# CT_DMALLOC is not set
1.253 +# CT_DUMA is not set
1.254 +# CT_GDB is not set
1.255 +# CT_STRACE is not set
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.29.config Sun Sep 16 17:59:18 2007 +0000
2.3 @@ -0,0 +1,214 @@
2.4 +#
2.5 +# Automatically generated make config: don't edit
2.6 +# Sun Sep 16 10:35:03 2007
2.7 +#
2.8 +# TARGET_alpha is not set
2.9 +TARGET_arm=y
2.10 +# TARGET_bfin is not set
2.11 +# TARGET_cris is not set
2.12 +# TARGET_e1 is not set
2.13 +# TARGET_frv is not set
2.14 +# TARGET_h8300 is not set
2.15 +# TARGET_hppa is not set
2.16 +# TARGET_i386 is not set
2.17 +# TARGET_i960 is not set
2.18 +# TARGET_ia64 is not set
2.19 +# TARGET_m68k is not set
2.20 +# TARGET_microblaze is not set
2.21 +# TARGET_mips is not set
2.22 +# TARGET_nios is not set
2.23 +# TARGET_nios2 is not set
2.24 +# TARGET_powerpc is not set
2.25 +# TARGET_sh is not set
2.26 +# TARGET_sh64 is not set
2.27 +# TARGET_sparc is not set
2.28 +# TARGET_v850 is not set
2.29 +# TARGET_vax is not set
2.30 +# TARGET_x86_64 is not set
2.31 +
2.32 +#
2.33 +# Target Architecture Features and Options
2.34 +#
2.35 +TARGET_ARCH="arm"
2.36 +FORCE_OPTIONS_FOR_ARCH=y
2.37 +# CONFIG_ARM_OABI is not set
2.38 +CONFIG_ARM_EABI=y
2.39 +USE_BX=y
2.40 +# CONFIG_GENERIC_ARM is not set
2.41 +# CONFIG_ARM610 is not set
2.42 +# CONFIG_ARM710 is not set
2.43 +# CONFIG_ARM7TDMI is not set
2.44 +# CONFIG_ARM720T is not set
2.45 +# CONFIG_ARM920T is not set
2.46 +# CONFIG_ARM922T is not set
2.47 +# CONFIG_ARM926T is not set
2.48 +# CONFIG_ARM10T is not set
2.49 +# CONFIG_ARM1136JF_S is not set
2.50 +# CONFIG_ARM1176JZ_S is not set
2.51 +# CONFIG_ARM1176JZF_S is not set
2.52 +# CONFIG_ARM_SA110 is not set
2.53 +# CONFIG_ARM_SA1100 is not set
2.54 +CONFIG_ARM_XSCALE=y
2.55 +# CONFIG_ARM_IWMMXT is not set
2.56 +TARGET_SUBARCH=""
2.57 +
2.58 +#
2.59 +# Using ELF file format
2.60 +#
2.61 +ARCH_ANY_ENDIAN=y
2.62 +ARCH_BIG_ENDIAN=y
2.63 +ARCH_WANTS_BIG_ENDIAN=y
2.64 +# ARCH_WANTS_LITTLE_ENDIAN is not set
2.65 +ARCH_HAS_MMU=y
2.66 +ARCH_USE_MMU=y
2.67 +UCLIBC_HAS_FLOATS=y
2.68 +# UCLIBC_HAS_FPU is not set
2.69 +UCLIBC_HAS_SOFT_FLOAT=y
2.70 +DO_C99_MATH=y
2.71 +KERNEL_HEADERS="/opt/x-tools/armeb-unknown-linux-uclibc/armeb-unknown-linux-uclibc/sys-root/usr/include"
2.72 +HAVE_DOT_CONFIG=y
2.73 +
2.74 +#
2.75 +# General Library Settings
2.76 +#
2.77 +# HAVE_NO_PIC is not set
2.78 +DOPIC=y
2.79 +# HAVE_NO_SHARED is not set
2.80 +# ARCH_HAS_NO_LDSO is not set
2.81 +HAVE_SHARED=y
2.82 +FORCE_SHAREABLE_TEXT_SEGMENTS=y
2.83 +LDSO_LDD_SUPPORT=y
2.84 +LDSO_CACHE_SUPPORT=y
2.85 +# LDSO_PRELOAD_FILE_SUPPORT is not set
2.86 +LDSO_BASE_FILENAME="ld.so"
2.87 +UCLIBC_STATIC_LDCONFIG=y
2.88 +# LDSO_RUNPATH is not set
2.89 +UCLIBC_CTOR_DTOR=y
2.90 +# HAS_NO_THREADS is not set
2.91 +UCLIBC_HAS_THREADS=y
2.92 +# PTHREADS_DEBUG_SUPPORT is not set
2.93 +LINUXTHREADS_OLD=y
2.94 +UCLIBC_HAS_LFS=y
2.95 +# MALLOC is not set
2.96 +# MALLOC_SIMPLE is not set
2.97 +MALLOC_STANDARD=y
2.98 +# MALLOC_GLIBC_COMPAT is not set
2.99 +UCLIBC_DYNAMIC_ATEXIT=y
2.100 +# COMPAT_ATEXIT is not set
2.101 +# UCLIBC_SUSV3_LEGACY is not set
2.102 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
2.103 +UCLIBC_HAS_SHADOW=y
2.104 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
2.105 +# UCLIBC_HAS___PROGNAME is not set
2.106 +UNIX98PTY_ONLY=y
2.107 +ASSUME_DEVPTS=y
2.108 +UCLIBC_HAS_TM_EXTENSIONS=y
2.109 +# UCLIBC_HAS_TZ_CACHING is not set
2.110 +UCLIBC_HAS_TZ_FILE=y
2.111 +# UCLIBC_HAS_TZ_FILE_READ_MANY is not set
2.112 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
2.113 +
2.114 +#
2.115 +# Advanced Library Settings
2.116 +#
2.117 +UCLIBC_PWD_BUFFER_SIZE=256
2.118 +UCLIBC_GRP_BUFFER_SIZE=256
2.119 +
2.120 +#
2.121 +# Networking Support
2.122 +#
2.123 +# UCLIBC_HAS_IPV6 is not set
2.124 +UCLIBC_HAS_RPC=y
2.125 +UCLIBC_HAS_FULL_RPC=y
2.126 +UCLIBC_HAS_REENTRANT_RPC=y
2.127 +UCLIBC_USE_NETLINK=y
2.128 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
2.129 +
2.130 +#
2.131 +# String and Stdio Support
2.132 +#
2.133 +UCLIBC_HAS_STRING_GENERIC_OPT=y
2.134 +UCLIBC_HAS_STRING_ARCH_OPT=y
2.135 +UCLIBC_HAS_CTYPE_TABLES=y
2.136 +UCLIBC_HAS_CTYPE_SIGNED=y
2.137 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
2.138 +# UCLIBC_HAS_CTYPE_CHECKED is not set
2.139 +UCLIBC_HAS_CTYPE_ENFORCED=y
2.140 +# UCLIBC_HAS_WCHAR is not set
2.141 +# UCLIBC_HAS_LOCALE is not set
2.142 +UCLIBC_HAS_HEXADECIMAL_FLOATS=y
2.143 +# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
2.144 +# USE_OLD_VFPRINTF is not set
2.145 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
2.146 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
2.147 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
2.148 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
2.149 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
2.150 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
2.151 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
2.152 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
2.153 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
2.154 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
2.155 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
2.156 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
2.157 +UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT=y
2.158 +UCLIBC_HAS_STDIO_GETC_MACRO=y
2.159 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
2.160 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
2.161 +UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
2.162 +UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
2.163 +UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
2.164 +UCLIBC_HAS_PRINTF_M_SPEC=y
2.165 +UCLIBC_HAS_ERRNO_MESSAGES=y
2.166 +# UCLIBC_HAS_SYS_ERRLIST is not set
2.167 +UCLIBC_HAS_SIGNUM_MESSAGES=y
2.168 +# UCLIBC_HAS_SYS_SIGLIST is not set
2.169 +UCLIBC_HAS_GNU_GETOPT=y
2.170 +# UCLIBC_HAS_GNU_GETSUBOPT is not set
2.171 +
2.172 +#
2.173 +# Big and Tall
2.174 +#
2.175 +UCLIBC_HAS_REGEX=y
2.176 +UCLIBC_HAS_REGEX_OLD=y
2.177 +UCLIBC_HAS_FNMATCH=y
2.178 +UCLIBC_HAS_FNMATCH_OLD=y
2.179 +UCLIBC_HAS_WORDEXP=y
2.180 +UCLIBC_HAS_FTW=y
2.181 +UCLIBC_HAS_GLOB=y
2.182 +# UCLIBC_HAS_GNU_GLOB is not set
2.183 +
2.184 +#
2.185 +# Library Installation Options
2.186 +#
2.187 +SHARED_LIB_LOADER_PREFIX="/lib/"
2.188 +RUNTIME_PREFIX="/"
2.189 +DEVEL_PREFIX="/usr/"
2.190 +
2.191 +#
2.192 +# Security options
2.193 +#
2.194 +UCLIBC_BUILD_PIE=y
2.195 +UCLIBC_HAS_ARC4RANDOM=y
2.196 +# HAVE_NO_SSP is not set
2.197 +# UCLIBC_HAS_SSP is not set
2.198 +# UCLIBC_BUILD_RELRO is not set
2.199 +# UCLIBC_BUILD_NOW is not set
2.200 +UCLIBC_BUILD_NOEXECSTACK=y
2.201 +
2.202 +#
2.203 +# uClibc development/debugging options
2.204 +#
2.205 +CROSS_COMPILER_PREFIX=""
2.206 +UCLIBC_EXTRA_CFLAGS=""
2.207 +# DODEBUG is not set
2.208 +# DODEBUG_PT is not set
2.209 +# DOSTRIP is not set
2.210 +# DOASSERTS is not set
2.211 +# SUPPORT_LD_DEBUG is not set
2.212 +# SUPPORT_LD_DEBUG_EARLY is not set
2.213 +# UCLIBC_MALLOC_DEBUGGING is not set
2.214 +WARNINGS="-Wall -pipe"
2.215 +# EXTRA_WARNINGS is not set
2.216 +# DOMULTI is not set
2.217 +# UCLIBC_MJN3_ONLY is not set
3.1 --- a/scripts/build/cc_gcc.sh Sun Sep 16 17:57:21 2007 +0000
3.2 +++ b/scripts/build/cc_gcc.sh Sun Sep 16 17:59:18 2007 +0000
3.3 @@ -231,7 +231,8 @@
3.4 # detection problem only matters for gcc-3.2.x and later, I think.
3.5 # --disable-nls to work around crash bug on ppc405, but also because
3.6 # embedded systems don't really need message catalogs...
3.7 - CFLAGS="${CT_CFLAGS_FOR_HOST}" \
3.8 + CFLAGS="${CT_CFLAGS_FOR_HOST}" \
3.9 + TARGET_CFLAGS="${CT_TARGET_CFLAGS}" \
3.10 "${CT_SRC_DIR}/${CT_CC_FILE}/configure" \
3.11 ${CT_CANADIAN_OPT} \
3.12 --target=${CT_TARGET} --host=${CT_HOST} \
4.1 --- a/scripts/build/libc_uClibc.sh Sun Sep 16 17:57:21 2007 +0000
4.2 +++ b/scripts/build/libc_uClibc.sh Sun Sep 16 17:59:18 2007 +0000
4.3 @@ -164,6 +164,20 @@
4.4 s/.*(DOSTRIP).*/# \\1 is not set/
4.5 ENDSED
4.6
4.7 + # Ah. We may one day need architecture-specific handler here...
4.8 + # Hack the ARM {E,O}ABI into the config file
4.9 + if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then
4.10 + cat >>"${munge_file}" <<-ENDSED
4.11 +s/.*(CONFIG_ARM_OABI).*/# \\1 is not set/
4.12 +s/.*(CONFIG_ARM_EABI).*/\\1=y/
4.13 +ENDSED
4.14 + else
4.15 + cat >>"${munge_file}" <<-ENDSED
4.16 +s/.*(CONFIG_ARM_OABI).*/\\1=y/
4.17 +s/.*(CONFIG_ARM_EABI).*/# \\1 is not set/
4.18 +ENDSED
4.19 + fi
4.20 +
4.21 # Accomodate for old and new uClibc versions, where the
4.22 # way to select between big/little endian has changed
4.23 case "${CT_ARCH_BE},${CT_ARCH_LE}" in
4.24 @@ -198,7 +212,7 @@
4.25 ;;
4.26 esac
4.27
4.28 - # Change paths to work with crosstool
4.29 + # Change paths to work with crosstool-NG
4.30 # From http://www.uclibc.org/cgi-bin/viewcvs.cgi?rev=16846&view=rev
4.31 # " we just want the kernel headers, not the whole kernel source ...
4.32 # " so people may need to update their paths slightly
5.1 --- a/scripts/crosstool.sh Sun Sep 16 17:57:21 2007 +0000
5.2 +++ b/scripts/crosstool.sh Sun Sep 16 17:59:18 2007 +0000
5.3 @@ -82,6 +82,10 @@
5.4 # then rescan the options file now:
5.5 . "${CT_TOP_DIR}/.config"
5.6
5.7 +# Second kludge: merge user-supplied target CFLAGS with architecture-provided
5.8 +# target CFLAGS
5.9 +CT_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_TARGET_CFLAGS}"
5.10 +
5.11 # Now, build up the variables from the user-configured options.
5.12 CT_KERNEL_FILE="${CT_KERNEL}-${CT_KERNEL_VERSION}"
5.13 CT_BINUTILS_FILE="binutils-${CT_BINUTILS_VERSION}"
5.14 @@ -212,7 +216,7 @@
5.15 ;;
5.16 esac
5.17
5.18 -# Setting up the rest of the environment only is not restarting
5.19 +# Setting up the rest of the environment only if not restarting
5.20 if [ -z "${CT_RESTART}" ]; then
5.21 # Determine build system if not set by the user
5.22 CT_Test "You did not specify the build system. That's OK, I can guess..." -z "${CT_BUILD}"
6.1 --- a/scripts/functions Sun Sep 16 17:57:21 2007 +0000
6.2 +++ b/scripts/functions Sun Sep 16 17:59:18 2007 +0000
6.3 @@ -529,12 +529,12 @@
6.4 CT_TARGET=`CT_DoConfigSub "${CT_TARGET_ARCH}-${CT_TARGET_VENDOR:-unknown}-${CT_TARGET_KERNEL}-${CT_TARGET_SYS}"`
6.5
6.6 # Prepare the target CFLAGS
6.7 - CT_TARGET_CFLAGS="${CT_TARGET_CFLAGS} ${CT_ARCH_ARCH_CFLAGS}"
6.8 - CT_TARGET_CFLAGS="${CT_TARGET_CFLAGS} ${CT_ARCH_ABI_CFLAGS}"
6.9 - CT_TARGET_CFLAGS="${CT_TARGET_CFLAGS} ${CT_ARCH_CPU_CFLAGS}"
6.10 - CT_TARGET_CFLAGS="${CT_TARGET_CFLAGS} ${CT_ARCH_TUNE_CFLAGS}"
6.11 - CT_TARGET_CFLAGS="${CT_TARGET_CFLAGS} ${CT_ARCH_FPU_CFLAGS}"
6.12 - CT_TARGET_CFLAGS="${CT_TARGET_CFLAGS} ${CT_ARCH_FLOAT_CFLAGS}"
6.13 + CT_ARCH_TARGET_CFLAGS="${CT_ARCH_ARCH_CFLAG}"
6.14 + CT_ARCH_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_ARCH_ABI_CFLAG}"
6.15 + CT_ARCH_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_ARCH_CPU_CFLAG}"
6.16 + CT_ARCH_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_ARCH_TUNE_CFLAG}"
6.17 + CT_ARCH_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_ARCH_FPU_CFLAG}"
6.18 + CT_ARCH_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_ARCH_FLOAT_CFLAG}"
6.19 }
6.20
6.21 # This function does pause the build until the user strikes "Return"