mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
Update the mips-unknown-linux-uclibc sample, now it is able to build both linux and busybox.
This commit is contained in:
parent
fa64078194
commit
8331b26c77
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# crosstool-NG version: 0.0.3-svn
|
||||
# Tue May 22 22:56:30 2007
|
||||
# crosstool-NG version: 0.1.2+svn
|
||||
# Thu Jul 5 21:22:30 2007
|
||||
#
|
||||
# CT_FOOBAR is not set
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#
|
||||
|
||||
#
|
||||
# Crosstool behavior
|
||||
# crosstool-NG behavior
|
||||
#
|
||||
# CT_EXPERIMENTAL is not set
|
||||
# CT_OBSOLETE is not set
|
||||
@ -35,6 +35,7 @@ CT_PREFIX_DIR="/opt/x-tools/${CT_TARGET}"
|
||||
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
|
||||
# CT_CUSTOM_PATCH is not set
|
||||
CT_REMOVE_DOCS=y
|
||||
# CT_INSTALL_DIR_RO is not set
|
||||
|
||||
#
|
||||
# Downloading
|
||||
@ -61,7 +62,7 @@ CT_LOG_LEVEL_MAX="EXTRA"
|
||||
# CT_LOG_SEE_TOOLS_WARN is not set
|
||||
CT_LOG_PROGRESS_BAR=y
|
||||
CT_LOG_TO_FILE=y
|
||||
CT_LOG_FILE="${CT_PREFIX_DIR}/${CT_TARGET}.log"
|
||||
CT_LOG_FILE_COMPRESS=y
|
||||
|
||||
#
|
||||
# Target options
|
||||
@ -75,8 +76,7 @@ CT_ARCH="mips"
|
||||
CT_ARCH_MIPS=y
|
||||
# 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_SUPPORTS_BOTH_ENDIAN=y
|
||||
CT_ARCH_BE=y
|
||||
# CT_ARCH_LE is not set
|
||||
|
||||
@ -102,6 +102,10 @@ CT_TARGET_CFLAGS=""
|
||||
#
|
||||
CT_USE_SYSROOT=y
|
||||
CT_SHARED_LIBS=y
|
||||
# CT_THREADS_NPTL is not set
|
||||
CT_THREADS_LINUXTHREADS=y
|
||||
# CT_THREADS_NONE is not set
|
||||
CT_THREADS="linuxthreads"
|
||||
# CT_TARGET_MULTILIB is not set
|
||||
CT_TARGET_VENDOR="unknown"
|
||||
CT_TARGET_ALIAS=""
|
||||
@ -121,7 +125,7 @@ CT_CC_NATIVE="gcc"
|
||||
# Kernel
|
||||
#
|
||||
CT_KERNEL_LINUX=y
|
||||
CT_KERNEL_VERSION="2.6.21.1"
|
||||
CT_KERNEL_VERSION="2.6.21.5"
|
||||
CT_KERNEL_LINUX_HEADERS_INSTALL=y
|
||||
# CT_KERNEL_LINUX_HEADERS_SANITISED is not set
|
||||
# CT_KERNEL_LINUX_HEADERS_COPY is not set
|
||||
@ -147,7 +151,12 @@ CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
|
||||
# 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_INSTALL_V_2_6_21_1 is not set
|
||||
# CT_KERNEL_INSTALL_V_2_6_21_2 is not set
|
||||
# CT_KERNEL_INSTALL_V_2_6_21_3 is not set
|
||||
# CT_KERNEL_INSTALL_V_2_6_21_4 is not set
|
||||
CT_KERNEL_INSTALL_V_2_6_21_5=y
|
||||
# CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK 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
|
||||
@ -157,7 +166,7 @@ CT_KERNEL_LINUX_VERBOSE_LEVEL=0
|
||||
#
|
||||
# binutils
|
||||
#
|
||||
CT_BINUTILS_VERSION="2.17.50.0.14"
|
||||
CT_BINUTILS_VERSION="2.17.50.0.17"
|
||||
# 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
|
||||
@ -182,9 +191,10 @@ CT_BINUTILS_VERSION="2.17.50.0.14"
|
||||
# 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_V_2_17_50_0_14 is not set
|
||||
# CT_BINUTILS_V_2_17_50_0_15 is not set
|
||||
# CT_BINUTILS_V_2_17_50_0_16 is not set
|
||||
CT_BINUTILS_V_2_17_50_0_17=y
|
||||
CT_BINUTILS_EXTRA_CONFIG=""
|
||||
|
||||
#
|
||||
@ -200,7 +210,7 @@ CT_BINUTILS_EXTRA_CONFIG=""
|
||||
# Final C compiler
|
||||
#
|
||||
CT_CC_GCC=y
|
||||
CT_CC_VERSION="4.0.4"
|
||||
CT_CC_VERSION="4.1.2"
|
||||
CT_CC="gcc"
|
||||
# CT_CC_V_2_95_3 is not set
|
||||
# CT_CC_V_3_2_3 is not set
|
||||
@ -222,12 +232,12 @@ CT_CC="gcc"
|
||||
# CT_CC_V_4_0_1 is not set
|
||||
# CT_CC_V_4_0_2 is not set
|
||||
# CT_CC_V_4_0_3 is not set
|
||||
CT_CC_V_4_0_4=y
|
||||
# CT_CC_V_4_0_4 is not set
|
||||
# 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_V_4_1_2=y
|
||||
# CT_CC_V_4_2_0 is not set
|
||||
# CT_CC_CXA_ATEXIT is not set
|
||||
CT_CC_CXA_ATEXIT=y
|
||||
CT_CC_EXTRA_CONFIG=""
|
||||
CT_CC_SUPPORT_CXX=y
|
||||
CT_CC_SUPPORT_FORTRAN=y
|
||||
@ -252,7 +262,7 @@ CT_CC_LANG_OTHERS=""
|
||||
#
|
||||
# CT_LIBC_GLIBC is not set
|
||||
CT_LIBC_UCLIBC=y
|
||||
CT_LIBC_VERSION="0.9.28.3"
|
||||
CT_LIBC_VERSION="0.9.29"
|
||||
CT_LIBC="uClibc"
|
||||
# CT_LIBC_SUPPORT_NPTL is not set
|
||||
CT_LIBC_SUPPORT_LINUXTHREADS=y
|
||||
@ -263,8 +273,8 @@ CT_LIBC_SUPPORT_LINUXTHREADS=y
|
||||
# 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=y
|
||||
# CT_LIBC_V_0_9_29 is not set
|
||||
# CT_LIBC_V_0_9_28_3 is not set
|
||||
CT_LIBC_V_0_9_29=y
|
||||
CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
|
||||
# CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
|
||||
# CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
|
||||
@ -272,8 +282,28 @@ CT_LIBC_UCLIBC_DEBUG_LEVEL=0
|
||||
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_TOP_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
|
||||
# CT_LIBC_UCLIBC_LOCALES is not set
|
||||
|
||||
#
|
||||
# Tools facilities
|
||||
#
|
||||
CT_SSTRIP=y
|
||||
# CT_SSTRIP_ELFKICKERS is not set
|
||||
CT_SSTRIP_BUILDROOT=y
|
||||
CT_SSTRIP_FROM="buildroot"
|
||||
|
||||
#
|
||||
# Debug facilities
|
||||
#
|
||||
# CT_DMALLOC is not set
|
||||
# CT_GDB is not set
|
||||
CT_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_GDB=y
|
||||
CT_GDB_CROSS=y
|
||||
CT_GDB_CROSS_STATIC_GDBSERVER=y
|
||||
# CT_GDB_V_snapshot is not set
|
||||
# CT_GDB_V_6_2_1 is not set
|
||||
# CT_GDB_V_6_3 is not set
|
||||
# CT_GDB_V_6_4 is not set
|
||||
# CT_GDB_V_6_5 is not set
|
||||
CT_GDB_V_6_6=y
|
||||
CT_GDB_VERSION="6.6"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Thu Jul 5 20:17:45 2007
|
||||
#
|
||||
# TARGET_alpha is not set
|
||||
# TARGET_arm is not set
|
||||
@ -8,8 +9,10 @@
|
||||
# TARGET_e1 is not set
|
||||
# TARGET_frv is not set
|
||||
# TARGET_h8300 is not set
|
||||
# TARGET_hppa is not set
|
||||
# TARGET_i386 is not set
|
||||
# TARGET_i960 is not set
|
||||
# TARGET_ia64 is not set
|
||||
# TARGET_m68k is not set
|
||||
# TARGET_microblaze is not set
|
||||
TARGET_mips=y
|
||||
@ -20,32 +23,59 @@ TARGET_mips=y
|
||||
# TARGET_sh64 is not set
|
||||
# TARGET_sparc is not set
|
||||
# TARGET_v850 is not set
|
||||
# TARGET_vax is not set
|
||||
# TARGET_x86_64 is not set
|
||||
|
||||
#
|
||||
# Target Architecture Features and Options
|
||||
#
|
||||
HAVE_ELF=y
|
||||
ARCH_SUPPORTS_LITTLE_ENDIAN=y
|
||||
TARGET_ARCH="mips"
|
||||
FORCE_OPTIONS_FOR_ARCH=y
|
||||
ARCH_CFLAGS="-mno-split-addresses"
|
||||
ARCH_SUPPORTS_BIG_ENDIAN=y
|
||||
# CONFIG_ARM_OABI is not set
|
||||
# CONFIG_ARM_EABI is not set
|
||||
# CONFIG_GENERIC_ARM is not set
|
||||
# CONFIG_ARM610 is not set
|
||||
# CONFIG_ARM710 is not set
|
||||
# CONFIG_ARM7TDMI is not set
|
||||
# CONFIG_ARM720T is not set
|
||||
# CONFIG_ARM920T is not set
|
||||
# CONFIG_ARM922T is not set
|
||||
# CONFIG_ARM926T is not set
|
||||
# CONFIG_ARM10T is not set
|
||||
# CONFIG_ARM1136JF_S is not set
|
||||
# CONFIG_ARM1176JZ_S is not set
|
||||
# CONFIG_ARM1176JZF_S is not set
|
||||
# CONFIG_ARM_SA110 is not set
|
||||
# CONFIG_ARM_SA1100 is not set
|
||||
# CONFIG_ARM_XSCALE is not set
|
||||
# CONFIG_ARM_IWMMXT is not set
|
||||
CONFIG_MIPS_O32_ABI=y
|
||||
# CONFIG_MIPS_N32_ABI is not set
|
||||
# CONFIG_MIPS_N64_ABI is not set
|
||||
CONFIG_MIPS_ISA_1=y
|
||||
# CONFIG_MIPS_ISA_2 is not set
|
||||
# CONFIG_MIPS_ISA_3 is not set
|
||||
# CONFIG_MIPS_ISA_4 is not set
|
||||
# CONFIG_MIPS_ISA_MIPS32=y
|
||||
# CONFIG_MIPS_ISA_MIPS32 is not set
|
||||
# CONFIG_MIPS_ISA_MIPS64 is not set
|
||||
# ARCH_LITTLE_ENDIAN is not set
|
||||
# CONFIG_MIPS_ISA_CUSTOM is not set
|
||||
TARGET_SUBARCH=""
|
||||
|
||||
#
|
||||
# Using ELF file format
|
||||
#
|
||||
ARCH_ANY_ENDIAN=y
|
||||
ARCH_BIG_ENDIAN=y
|
||||
# ARCH_HAS_NO_MMU is not set
|
||||
ARCH_WANTS_BIG_ENDIAN=y
|
||||
# ARCH_WANTS_LITTLE_ENDIAN is not set
|
||||
ARCH_HAS_MMU=y
|
||||
ARCH_USE_MMU=y
|
||||
UCLIBC_HAS_FLOATS=y
|
||||
# HAS_FPU is not set
|
||||
# UCLIBC_HAS_FPU is not set
|
||||
UCLIBC_HAS_SOFT_FLOAT=y
|
||||
DO_C99_MATH=y
|
||||
KERNEL_SOURCE="/usr/src/linux"
|
||||
C_SYMBOL_PREFIX=""
|
||||
KERNEL_HEADERS="/usr/include"
|
||||
HAVE_DOT_CONFIG=y
|
||||
|
||||
#
|
||||
@ -54,42 +84,55 @@ HAVE_DOT_CONFIG=y
|
||||
# HAVE_NO_PIC is not set
|
||||
DOPIC=y
|
||||
# HAVE_NO_SHARED is not set
|
||||
HAVE_SHARED=y
|
||||
# ARCH_HAS_NO_LDSO is not set
|
||||
BUILD_UCLIBC_LDSO=y
|
||||
# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
|
||||
HAVE_SHARED=y
|
||||
FORCE_SHAREABLE_TEXT_SEGMENTS=y
|
||||
LDSO_LDD_SUPPORT=y
|
||||
LDSO_CACHE_SUPPORT=y
|
||||
# LDSO_PRELOAD_FILE_SUPPORT is not set
|
||||
LDSO_BASE_FILENAME="ld.so"
|
||||
UCLIBC_STATIC_LDCONFIG=y
|
||||
# LDSO_RUNPATH is not set
|
||||
# DL_FINI_CRT_COMPAT is not set
|
||||
UCLIBC_CTOR_DTOR=y
|
||||
# HAS_NO_THREADS is not set
|
||||
UCLIBC_HAS_THREADS=y
|
||||
# PTHREADS_DEBUG_SUPPORT is not set
|
||||
LINUXTHREADS_OLD=y
|
||||
UCLIBC_HAS_LFS=y
|
||||
UCLIBC_STATIC_LDCONFIG=y
|
||||
# MALLOC is not set
|
||||
# MALLOC_SIMPLE is not set
|
||||
MALLOC_STANDARD=y
|
||||
# MALLOC_GLIBC_COMPAT is not set
|
||||
UCLIBC_DYNAMIC_ATEXIT=y
|
||||
HAS_SHADOW=y
|
||||
# COMPAT_ATEXIT is not set
|
||||
# UCLIBC_SUSV3_LEGACY is not set
|
||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
||||
UCLIBC_HAS_SHADOW=y
|
||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||
# UCLIBC_HAS___PROGNAME is not set
|
||||
UNIX98PTY_ONLY=y
|
||||
ASSUME_DEVPTS=y
|
||||
UCLIBC_HAS_TM_EXTENSIONS=y
|
||||
UCLIBC_HAS_TZ_CACHING=y
|
||||
# UCLIBC_HAS_TZ_CACHING is not set
|
||||
UCLIBC_HAS_TZ_FILE=y
|
||||
UCLIBC_HAS_TZ_FILE_READ_MANY=y
|
||||
# UCLIBC_HAS_TZ_FILE_READ_MANY is not set
|
||||
UCLIBC_TZ_FILE_PATH="/etc/TZ"
|
||||
|
||||
#
|
||||
# Advanced Library Settings
|
||||
#
|
||||
UCLIBC_PWD_BUFFER_SIZE=256
|
||||
UCLIBC_GRP_BUFFER_SIZE=256
|
||||
|
||||
#
|
||||
# Networking Support
|
||||
#
|
||||
# UCLIBC_HAS_IPV6 is not set
|
||||
UCLIBC_HAS_RPC=y
|
||||
UCLIBC_HAS_FULL_RPC=y
|
||||
UCLIBC_HAS_REENTRANT_RPC=y
|
||||
UCLIBC_USE_NETLINK=y
|
||||
# UCLIBC_HAS_BSD_RES_CLOSE is not set
|
||||
|
||||
#
|
||||
# String and Stdio Support
|
||||
@ -98,12 +141,12 @@ UCLIBC_HAS_STRING_GENERIC_OPT=y
|
||||
UCLIBC_HAS_STRING_ARCH_OPT=y
|
||||
UCLIBC_HAS_CTYPE_TABLES=y
|
||||
UCLIBC_HAS_CTYPE_SIGNED=y
|
||||
UCLIBC_HAS_CTYPE_UNSAFE=y
|
||||
# UCLIBC_HAS_CTYPE_UNSAFE is not set
|
||||
# UCLIBC_HAS_CTYPE_CHECKED is not set
|
||||
# UCLIBC_HAS_CTYPE_ENFORCED is not set
|
||||
UCLIBC_HAS_CTYPE_ENFORCED=y
|
||||
# UCLIBC_HAS_WCHAR is not set
|
||||
# UCLIBC_HAS_LOCALE is not set
|
||||
# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
|
||||
UCLIBC_HAS_HEXADECIMAL_FLOATS=y
|
||||
# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
|
||||
# USE_OLD_VFPRINTF is not set
|
||||
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
|
||||
@ -118,48 +161,64 @@ UCLIBC_HAS_STDIO_BUFSIZ_4096=y
|
||||
UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
|
||||
# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
|
||||
# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
|
||||
# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
|
||||
UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT=y
|
||||
UCLIBC_HAS_STDIO_GETC_MACRO=y
|
||||
UCLIBC_HAS_STDIO_PUTC_MACRO=y
|
||||
UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
|
||||
# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
|
||||
# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
|
||||
# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
|
||||
# UCLIBC_HAS_PRINTF_M_SPEC is not set
|
||||
UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
|
||||
UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
|
||||
UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
|
||||
UCLIBC_HAS_PRINTF_M_SPEC=y
|
||||
UCLIBC_HAS_ERRNO_MESSAGES=y
|
||||
# UCLIBC_HAS_SYS_ERRLIST is not set
|
||||
UCLIBC_HAS_SIGNUM_MESSAGES=y
|
||||
# UCLIBC_HAS_SYS_SIGLIST is not set
|
||||
UCLIBC_HAS_GNU_GETOPT=y
|
||||
# UCLIBC_HAS_GNU_GETSUBOPT is not set
|
||||
|
||||
#
|
||||
# Big and Tall
|
||||
#
|
||||
UCLIBC_HAS_REGEX=y
|
||||
UCLIBC_HAS_REGEX_OLD=y
|
||||
UCLIBC_HAS_FNMATCH=y
|
||||
UCLIBC_HAS_FNMATCH_OLD=y
|
||||
UCLIBC_HAS_WORDEXP=y
|
||||
UCLIBC_HAS_FTW=y
|
||||
UCLIBC_HAS_GLOB=y
|
||||
# UCLIBC_HAS_GNU_GLOB is not set
|
||||
|
||||
#
|
||||
# Library Installation Options
|
||||
#
|
||||
SHARED_LIB_LOADER_PREFIX="$(DEVEL_PREFIX)/lib"
|
||||
SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
|
||||
RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
|
||||
DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
|
||||
|
||||
#
|
||||
# uClibc security related options
|
||||
# Security options
|
||||
#
|
||||
# UCLIBC_SECURITY is not set
|
||||
UCLIBC_BUILD_PIE=y
|
||||
UCLIBC_HAS_ARC4RANDOM=y
|
||||
# HAVE_NO_SSP is not set
|
||||
# UCLIBC_HAS_SSP is not set
|
||||
# UCLIBC_BUILD_RELRO is not set
|
||||
# UCLIBC_BUILD_NOW is not set
|
||||
UCLIBC_BUILD_NOEXECSTACK=y
|
||||
|
||||
#
|
||||
# uClibc development/debugging options
|
||||
#
|
||||
CROSS_COMPILER_PREFIX=""
|
||||
UCLIBC_EXTRA_CFLAGS=""
|
||||
# DODEBUG is not set
|
||||
# DODEBUG_PT is not set
|
||||
# DOSTRIP is not set
|
||||
# DOASSERTS is not set
|
||||
# SUPPORT_LD_DEBUG is not set
|
||||
# SUPPORT_LD_DEBUG_EARLY is not set
|
||||
# UCLIBC_MALLOC_DEBUGGING is not set
|
||||
WARNINGS="-Wall"
|
||||
# EXTRA_WARNINGS is not set
|
||||
# DOMULTI is not set
|
||||
# UCLIBC_MJN3_ONLY is not set
|
Loading…
x
Reference in New Issue
Block a user