Ticket #4271: 0001-Add-uClibc-0.9.30.patch

File 0001-Add-uClibc-0.9.30.patch, 8.1 KB (added by luigi.mantellini@…, 7 years ago)

uClibc 0.9.30 support (config file only for mips)

  • toolchain/uClibc/Config.in

    From 21420891a421de3d4e47aa30bb2e564ef8374a90 Mon Sep 17 00:00:00 2001
    From: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
    Date: Sat, 17 Jan 2009 21:38:52 +0100
    Subject: [PATCH] Add uClibc 0.9.30
    
    ---
     toolchain/uClibc/Config.in          |    2 +
     toolchain/uClibc/Config.version     |    1 +
     toolchain/uClibc/Makefile           |   14 ++-
     toolchain/uClibc/config/0.9.30/mips |  233 +++++++++++++++++++++++++++++++++++
     4 files changed, 248 insertions(+), 2 deletions(-)
     create mode 100644 toolchain/uClibc/config/0.9.30/mips
    
    diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
    index 8e6ab37..def461e 100644
    a b choice 
    1717        config UCLIBC_VERSION_0_9_29 
    1818                bool "uClibc 0.9.29" 
    1919 
     20        config UCLIBC_VERSION_0_9_30 
     21                bool "uClibc 0.9.30" 
    2022endchoice 
    2123 
    2224config UCLIBC_EXTRA_VERSION 
  • toolchain/uClibc/Config.version

    diff --git a/toolchain/uClibc/Config.version b/toolchain/uClibc/Config.version
    index bdab737..18f84b9 100644
    a b config UCLIBC_VERSION 
    44        default ""           if UCLIBC_VERSION_snapshot 
    55        default "0.9.28"     if UCLIBC_VERSION_0_9_28 
    66        default "0.9.29"     if UCLIBC_VERSION_0_9_29 
     7        default "0.9.30"     if UCLIBC_VERSION_0_9_30 
    78        default "0.9.29" 
    89 
  • toolchain/uClibc/Makefile

    diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
    index 8c82d23..a552818 100644
    a b ifeq ($(PKG_VERSION),0.9.29) 
    3939  endif 
    4040endif 
    4141 
     42ifeq ($(PKG_VERSION),0.9.30) 
     43  ifeq ($(PKG_EXTRAVERSION),) 
     44    # currently the default version, no special sub-directory needed 
     45    PATCH_DIR:=./patches/$(PKG_VERSION)$(PKG_EXTRAVERSION) 
     46    CONFIG_DIR:=./config/$(PKG_VERSION)$(PKG_EXTRAVERSION) 
     47    PKG_MD5SUM:=e5766e2566e0297adebebbcc0aba1f2d 
     48  endif 
     49endif 
     50 
    4251ifeq ($(PKG_VERSION_SNAPSHOT),y) 
    4352  PATCH_DIR:= 
    4453  CONFIG_DIR:=./config 
    define Build/Prepare 
    131140                RUNTIME_PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \ 
    132141                HOSTCC="$(HOSTCC)" \ 
    133142                CPU_CFLAGS="$(TARGET_CFLAGS)" \ 
    134                 pregen install_dev; 
    135 endef 
     143                headers \ 
     144                $(if $(CONFIG_UCLIBC_VERSION_0_9_30),install_headers,install_dev) 
     145endef    
    136146 
    137147define Build/Configure 
    138148endef 
  • new file toolchain/uClibc/config/0.9.30/mips

    diff --git a/toolchain/uClibc/config/0.9.30/mips b/toolchain/uClibc/config/0.9.30/mips
    new file mode 100644
    index 0000000..0793fb7
    - +  
     1# 
     2# Automatically generated make config: don't edit 
     3# Version: 0.9.30 
     4# Sat Jan 17 20:02:59 2009 
     5# 
     6# TARGET_alpha is not set 
     7# TARGET_arm is not set 
     8# TARGET_avr32 is not set 
     9# TARGET_bfin is not set 
     10# TARGET_cris is not set 
     11# TARGET_e1 is not set 
     12# TARGET_frv is not set 
     13# TARGET_h8300 is not set 
     14# TARGET_hppa is not set 
     15# TARGET_i386 is not set 
     16# TARGET_i960 is not set 
     17# TARGET_ia64 is not set 
     18# TARGET_m68k is not set 
     19# TARGET_microblaze is not set 
     20TARGET_mips=y 
     21# TARGET_nios is not set 
     22# TARGET_nios2 is not set 
     23# TARGET_powerpc is not set 
     24# TARGET_sh is not set 
     25# TARGET_sh64 is not set 
     26# TARGET_sparc is not set 
     27# TARGET_v850 is not set 
     28# TARGET_vax is not set 
     29# TARGET_x86_64 is not set 
     30# TARGET_xtensa is not set 
     31 
     32# 
     33# Target Architecture Features and Options 
     34# 
     35TARGET_ARCH="mips" 
     36FORCE_OPTIONS_FOR_ARCH=y 
     37ARCH_CFLAGS="-mno-split-addresses" 
     38CONFIG_MIPS_O32_ABI=y 
     39# CONFIG_MIPS_N32_ABI is not set 
     40# CONFIG_MIPS_N64_ABI is not set 
     41# CONFIG_MIPS_ISA_1 is not set 
     42# CONFIG_MIPS_ISA_2 is not set 
     43# CONFIG_MIPS_ISA_3 is not set 
     44# CONFIG_MIPS_ISA_4 is not set 
     45CONFIG_MIPS_ISA_MIPS32=y 
     46# CONFIG_MIPS_ISA_MIPS32R2 is not set 
     47# CONFIG_MIPS_ISA_MIPS64 is not set 
     48TARGET_SUBARCH="" 
     49 
     50# 
     51# Using ELF file format 
     52# 
     53ARCH_ANY_ENDIAN=y 
     54ARCH_BIG_ENDIAN=y 
     55ARCH_WANTS_BIG_ENDIAN=y 
     56# ARCH_WANTS_LITTLE_ENDIAN is not set 
     57ARCH_HAS_MMU=y 
     58ARCH_USE_MMU=y 
     59UCLIBC_HAS_FLOATS=y 
     60UCLIBC_HAS_FPU=y 
     61DO_C99_MATH=y 
     62UCLIBC_HAS_FENV=y 
     63KERNEL_HEADERS="/mnt/devel/openwrt/openwrt.vanilla/build_dir/toolchain-mips_gcc-4.1.2_uClibc-0.9.30/linux/include" 
     64HAVE_DOT_CONFIG=y 
     65 
     66# 
     67# General Library Settings 
     68# 
     69# HAVE_NO_PIC is not set 
     70DOPIC=y 
     71# ARCH_HAS_NO_SHARED is not set 
     72# ARCH_HAS_NO_LDSO is not set 
     73HAVE_SHARED=y 
     74# FORCE_SHAREABLE_TEXT_SEGMENTS is not set 
     75LDSO_LDD_SUPPORT=y 
     76LDSO_CACHE_SUPPORT=y 
     77# LDSO_PRELOAD_FILE_SUPPORT is not set 
     78LDSO_BASE_FILENAME="ld.so" 
     79# UCLIBC_STATIC_LDCONFIG is not set 
     80LDSO_RUNPATH=y 
     81UCLIBC_CTOR_DTOR=y 
     82# LDSO_GNU_HASH_SUPPORT is not set 
     83# HAS_NO_THREADS is not set 
     84UCLIBC_HAS_THREADS=y 
     85# PTHREADS_DEBUG_SUPPORT is not set 
     86LINUXTHREADS_OLD=y 
     87UCLIBC_HAS_SYSLOG=y 
     88UCLIBC_HAS_LFS=y 
     89# MALLOC is not set 
     90# MALLOC_SIMPLE is not set 
     91MALLOC_STANDARD=y 
     92MALLOC_GLIBC_COMPAT=y 
     93UCLIBC_DYNAMIC_ATEXIT=y 
     94COMPAT_ATEXIT=y 
     95# UCLIBC_SUSV3_LEGACY is not set 
     96UCLIBC_SUSV3_LEGACY_MACROS=y 
     97# UCLIBC_HAS_STUBS is not set 
     98UCLIBC_HAS_SHADOW=y 
     99UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y 
     100UCLIBC_HAS___PROGNAME=y 
     101UCLIBC_HAS_PTY=y 
     102ASSUME_DEVPTS=y 
     103# UNIX98PTY_ONLY is not set 
     104UCLIBC_HAS_GETPT=y 
     105UCLIBC_HAS_TM_EXTENSIONS=y 
     106UCLIBC_HAS_TZ_CACHING=y 
     107UCLIBC_HAS_TZ_FILE=y 
     108UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     109UCLIBC_TZ_FILE_PATH="/etc/TZ" 
     110 
     111# 
     112# Advanced Library Settings 
     113# 
     114UCLIBC_PWD_BUFFER_SIZE=256 
     115UCLIBC_GRP_BUFFER_SIZE=256 
     116 
     117# 
     118# Support various families of functions 
     119# 
     120UCLIBC_LINUX_MODULE_24=y 
     121UCLIBC_LINUX_SPECIFIC=y 
     122UCLIBC_HAS_GNU_ERROR=y 
     123UCLIBC_BSD_SPECIFIC=y 
     124UCLIBC_HAS_BSD_ERR=y 
     125# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set 
     126# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set 
     127# UCLIBC_NTP_LEGACY is not set 
     128# UCLIBC_SV4_DEPRECATED is not set 
     129UCLIBC_HAS_REALTIME=y 
     130UCLIBC_HAS_ADVANCED_REALTIME=y 
     131UCLIBC_HAS_EPOLL=y 
     132UCLIBC_HAS_XATTR=y 
     133UCLIBC_HAS_PROFILING=y 
     134UCLIBC_HAS_CRYPT_IMPL=y 
     135UCLIBC_HAS_CRYPT=y 
     136UCLIBC_HAS_NETWORK_SUPPORT=y 
     137UCLIBC_HAS_SOCKET=y 
     138UCLIBC_HAS_IPV4=y 
     139UCLIBC_HAS_IPV6=y 
     140UCLIBC_HAS_RPC=y 
     141UCLIBC_HAS_FULL_RPC=y 
     142# UCLIBC_HAS_REENTRANT_RPC is not set 
     143UCLIBC_USE_NETLINK=y 
     144# UCLIBC_SUPPORT_AI_ADDRCONFIG is not set 
     145UCLIBC_HAS_BSD_RES_CLOSE=y 
     146 
     147# 
     148# String and Stdio Support 
     149# 
     150UCLIBC_HAS_STRING_GENERIC_OPT=y 
     151UCLIBC_HAS_STRING_ARCH_OPT=y 
     152UCLIBC_HAS_CTYPE_TABLES=y 
     153UCLIBC_HAS_CTYPE_SIGNED=y 
     154# UCLIBC_HAS_CTYPE_UNSAFE is not set 
     155UCLIBC_HAS_CTYPE_CHECKED=y 
     156# UCLIBC_HAS_CTYPE_ENFORCED is not set 
     157UCLIBC_HAS_WCHAR=y 
     158# UCLIBC_HAS_LOCALE is not set 
     159UCLIBC_HAS_HEXADECIMAL_FLOATS=y 
     160UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
     161UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
     162UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     163# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
     164# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     165# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set 
     166# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set 
     167# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set 
     168UCLIBC_HAS_STDIO_BUFSIZ_4096=y 
     169# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set 
     170UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y 
     171# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set 
     172# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set 
     173# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set 
     174UCLIBC_HAS_STDIO_GETC_MACRO=y 
     175UCLIBC_HAS_STDIO_PUTC_MACRO=y 
     176UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y 
     177# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set 
     178UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y 
     179UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y 
     180UCLIBC_HAS_PRINTF_M_SPEC=y 
     181UCLIBC_HAS_ERRNO_MESSAGES=y 
     182# UCLIBC_HAS_SYS_ERRLIST is not set 
     183UCLIBC_HAS_SIGNUM_MESSAGES=y 
     184# UCLIBC_HAS_SYS_SIGLIST is not set 
     185UCLIBC_HAS_GNU_GETOPT=y 
     186UCLIBC_HAS_GNU_GETSUBOPT=y 
     187 
     188# 
     189# Big and Tall 
     190# 
     191UCLIBC_HAS_REGEX=y 
     192UCLIBC_HAS_REGEX_OLD=y 
     193UCLIBC_HAS_FNMATCH=y 
     194UCLIBC_HAS_FNMATCH_OLD=y 
     195UCLIBC_HAS_WORDEXP=y 
     196UCLIBC_HAS_FTW=y 
     197UCLIBC_HAS_GLOB=y 
     198UCLIBC_HAS_GNU_GLOB=y 
     199 
     200# 
     201# Library Installation Options 
     202# 
     203SHARED_LIB_LOADER_PREFIX="/lib" 
     204RUNTIME_PREFIX="/" 
     205DEVEL_PREFIX="/usr/" 
     206 
     207# 
     208# Security options 
     209# 
     210# UCLIBC_BUILD_PIE is not set 
     211# UCLIBC_HAS_ARC4RANDOM is not set 
     212# HAVE_NO_SSP is not set 
     213# UCLIBC_HAS_SSP is not set 
     214UCLIBC_BUILD_RELRO=y 
     215# UCLIBC_BUILD_NOW is not set 
     216UCLIBC_BUILD_NOEXECSTACK=y 
     217 
     218# 
     219# uClibc development/debugging options 
     220# 
     221CROSS_COMPILER_PREFIX="" 
     222UCLIBC_EXTRA_CFLAGS="" 
     223# DODEBUG is not set 
     224# DODEBUG_PT is not set 
     225DOSTRIP=y 
     226# DOASSERTS is not set 
     227# SUPPORT_LD_DEBUG is not set 
     228# SUPPORT_LD_DEBUG_EARLY is not set 
     229# UCLIBC_MALLOC_DEBUGGING is not set 
     230WARNINGS="-Wall" 
     231# EXTRA_WARNINGS is not set 
     232# DOMULTI is not set 
     233# UCLIBC_MJN3_ONLY is not set