* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-01-28 15:48 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-01-28 15:48 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-28 15:48:52 +0000 (Wed, 28 Jan 2009)
New Revision: 25103
Log:
toolchain/uClibc: fix 0.9.30 build with linuxthreads on ARM
Patch by Will Wagner <will_wagner@carallon.com> - From uclibc svn r25099.
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-arm-fix-linuxthreads-sysdep.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-arm-fix-linuxthreads-sysdep.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-arm-fix-linuxthreads-sysdep.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-arm-fix-linuxthreads-sysdep.patch 2009-01-28 15:48:52 UTC (rev 25103)
@@ -0,0 +1,177 @@
+From 1b6e90090da7194a8f94277aa132873044f7e8e7 Mon Sep 17 00:00:00 2001
+From: carmelo <carmelo@69ca8d6d-28ef-0310-b511-8ec308f3f277>
+Date: Wed, 28 Jan 2009 15:23:51 +0000
+Subject: [PATCH] Added sysdep.h and sysdep-cancel.h for linuxthreads ARM
+
+Signed-off-by: Will Wagner <will_wagner@carallon.com>
+
+
+
+git-svn-id: svn+ssh://uclibc.org/svn/trunk/uClibc at 25099 69ca8d6d-28ef-0310-b511-8ec308f3f277
+---
+ .../linuxthreads/sysdeps/arm/sysdep-cancel.h | 8 +
+ libpthread/linuxthreads/sysdeps/arm/sysdep.h | 137 ++++++++++++++++++++
+ 2 files changed, 145 insertions(+), 0 deletions(-)
+ create mode 100644 libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
+ create mode 100644 libpthread/linuxthreads/sysdeps/arm/sysdep.h
+
+diff --git a/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h b/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
+new file mode 100644
+index 0000000..ba6a1e0
+--- /dev/null
++++ b/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
+@@ -0,0 +1,8 @@
++#include <sysdep.h>
++
++/* No multi-thread handling enabled. */
++#define SINGLE_THREAD_P (1)
++#define RTLD_SINGLE_THREAD_P (1)
++#define LIBC_CANCEL_ASYNC() 0 /* Just a dummy value. */
++#define LIBC_CANCEL_RESET(val) ((void)(val)) /* Nothing, but evaluate it. */
++#define LIBC_CANCEL_HANDLED() /* Nothing. */
+diff --git a/libpthread/linuxthreads/sysdeps/arm/sysdep.h b/libpthread/linuxthreads/sysdeps/arm/sysdep.h
+new file mode 100644
+index 0000000..15d951c
+--- /dev/null
++++ b/libpthread/linuxthreads/sysdeps/arm/sysdep.h
+@@ -0,0 +1,137 @@
++/* Generic asm macros used on many machines.
++ Copyright (C) 1991,92,93,96,98,2002,2003 Free Software Foundation, Inc.
++ This file is part of the GNU C Library.
++
++ The GNU C Library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License as published by the Free Software Foundation; either
++ version 2.1 of the License, or (at your option) any later version.
++
++ The GNU C Library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ Lesser General Public License for more details.
++
++ You should have received a copy of the GNU Lesser General Public
++ License along with the GNU C Library; if not, write to the Free
++ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
++ 02111-1307 USA. */
++
++#ifndef C_LABEL
++
++/* Define a macro we can use to construct the asm name for a C symbol. */
++#ifdef NO_UNDERSCORES
++#ifdef __STDC__
++#define C_LABEL(name) name##:
++#else
++#define C_LABEL(name) name/**/:
++#endif
++#else
++#ifdef __STDC__
++#define C_LABEL(name) _##name##:
++#else
++#define C_LABEL(name) _/**/name/**/:
++#endif
++#endif
++
++#endif
++
++#ifdef __ASSEMBLER__
++/* Mark the end of function named SYM. This is used on some platforms
++ to generate correct debugging information. */
++#ifndef END
++#define END(sym)
++#endif
++
++#ifndef JUMPTARGET
++#define JUMPTARGET(sym) sym
++#endif
++
++/* Makros to generate eh_frame unwind information. */
++# ifdef HAVE_ASM_CFI_DIRECTIVES
++# define cfi_startproc .cfi_startproc
++# define cfi_endproc .cfi_endproc
++# define cfi_def_cfa(reg, off) .cfi_def_cfa reg, off
++# define cfi_def_cfa_register(reg) .cfi_def_cfa_register reg
++# define cfi_def_cfa_offset(off) .cfi_def_cfa_offset off
++# define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
++# define cfi_offset(reg, off) .cfi_offset reg, off
++# define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
++# define cfi_register(r1, r2) .cfi_register r1, r2
++# define cfi_return_column(reg) .cfi_return_column reg
++# define cfi_restore(reg) .cfi_restore reg
++# define cfi_same_value(reg) .cfi_same_value reg
++# define cfi_undefined(reg) .cfi_undefined reg
++# define cfi_remember_state .cfi_remember_state
++# define cfi_restore_state .cfi_restore_state
++# define cfi_window_save .cfi_window_save
++# else
++# define cfi_startproc
++# define cfi_endproc
++# define cfi_def_cfa(reg, off)
++# define cfi_def_cfa_register(reg)
++# define cfi_def_cfa_offset(off)
++# define cfi_adjust_cfa_offset(off)
++# define cfi_offset(reg, off)
++# define cfi_rel_offset(reg, off)
++# define cfi_register(r1, r2)
++# define cfi_return_column(reg)
++# define cfi_restore(reg)
++# define cfi_same_value(reg)
++# define cfi_undefined(reg)
++# define cfi_remember_state
++# define cfi_restore_state
++# define cfi_window_save
++# endif
++
++#else /* ! ASSEMBLER */
++# ifdef HAVE_ASM_CFI_DIRECTIVES
++# define CFI_STRINGIFY(Name) CFI_STRINGIFY2 (Name)
++# define CFI_STRINGIFY2(Name) #Name
++# define CFI_STARTPROC ".cfi_startproc"
++# define CFI_ENDPROC ".cfi_endproc"
++# define CFI_DEF_CFA(reg, off) \
++ ".cfi_def_cfa " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
++# define CFI_DEF_CFA_REGISTER(reg) \
++ ".cfi_def_cfa_register " CFI_STRINGIFY(reg)
++# define CFI_DEF_CFA_OFFSET(off) \
++ ".cfi_def_cfa_offset " CFI_STRINGIFY(off)
++# define CFI_ADJUST_CFA_OFFSET(off) \
++ ".cfi_adjust_cfa_offset " CFI_STRINGIFY(off)
++# define CFI_OFFSET(reg, off) \
++ ".cfi_offset " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
++# define CFI_REL_OFFSET(reg, off) \
++ ".cfi_rel_offset " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
++# define CFI_REGISTER(r1, r2) \
++ ".cfi_register " CFI_STRINGIFY(r1) "," CFI_STRINGIFY(r2)
++# define CFI_RETURN_COLUMN(reg) \
++ ".cfi_return_column " CFI_STRINGIFY(reg)
++# define CFI_RESTORE(reg) \
++ ".cfi_restore " CFI_STRINGIFY(reg)
++# define CFI_UNDEFINED(reg) \
++ ".cfi_undefined " CFI_STRINGIFY(reg)
++# define CFI_REMEMBER_STATE \
++ ".cfi_remember_state"
++# define CFI_RESTORE_STATE \
++ ".cfi_restore_state"
++# define CFI_WINDOW_SAVE \
++ ".cfi_window_save"
++# else
++# define CFI_STARTPROC
++# define CFI_ENDPROC
++# define CFI_DEF_CFA(reg, off)
++# define CFI_DEF_CFA_REGISTER(reg)
++# define CFI_DEF_CFA_OFFSET(off)
++# define CFI_ADJUST_CFA_OFFSET(off)
++# define CFI_OFFSET(reg, off)
++# define CFI_REL_OFFSET(reg, off)
++# define CFI_REGISTER(r1, r2)
++# define CFI_RETURN_COLUMN(reg)
++# define CFI_RESTORE(reg)
++# define CFI_UNDEFINED(reg)
++# define CFI_REMEMBER_STATE
++# define CFI_RESTORE_STATE
++# define CFI_WINDOW_SAVE
++# endif
++
++#endif /* __ASSEMBLER__ */
+--
+1.5.6.5
+
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-03-05 12:11 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-03-05 12:11 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-03-05 12:11:26 +0000 (Thu, 05 Mar 2009)
New Revision: 25535
Log:
uclibc: 0.9.30.1 fix for ppc32 C99 math
From Bernhard.
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.1-c99-ldbl-math.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.1-c99-ldbl-math.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.1-c99-ldbl-math.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.1-c99-ldbl-math.patch 2009-03-05 12:11:26 UTC (rev 25535)
@@ -0,0 +1,45 @@
+Index: uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h
+===================================================================
+--- uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h (revision 25503)
++++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h (working copy)
+@@ -14,6 +14,6 @@
+ to the double functions. */
+ # define __LONG_DOUBLE_MATH_OPTIONAL 1
+ # ifndef __LONG_DOUBLE_128__
+-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
++# define __NO_LONG_DOUBLE_MATH 1
+ # endif
+ #endif
+Index: uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h
+===================================================================
+--- uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h (revision 25503)
++++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h (working copy)
+@@ -70,6 +70,8 @@ typedef double double_t;
+ /* Signal that we do not really have a `long double'. The disables the
+ declaration of all the `long double' function variants. */
+ # if __WORDSIZE == 32
+-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
++# define __NO_LONG_DOUBLE_MATH 1
++# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
++# define __NO_LONG_DOUBLE_MATH 1
+ # endif /* __WORDSIZE == 32 */
+ #endif /* __UCLIBC_HAS_LONG_DOUBLE_MATH__ */
+Index: uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathinline.h
+===================================================================
+--- uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathinline.h (revision 25503)
++++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathinline.h (working copy)
+@@ -107,6 +107,14 @@ __NTH (lrintf (float __x))
+ }
+ # endif
+
++/* __MATH_INLINE int
++__NTH (__finite (double __x))
++{
++ return (__extension__
++ (((union { double __d; int __i[2]; }) { __d: __x}.__i[1]
++ & 0x7fffffff) - 0x7ff00000) >> 31);
++}
++*/
+ __MATH_INLINE double fdim (double __x, double __y) __THROW;
+ __MATH_INLINE double
+ __NTH (fdim (double __x, double __y))
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-03-03 20:23 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-03-03 20:23 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-03-03 20:23:10 +0000 (Tue, 03 Mar 2009)
New Revision: 25510
Log:
uclibc: cleanup version handling
Based on 0171c72 in Bernhards' tree.
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2009-03-03 18:47:56 UTC (rev 25509)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2009-03-03 20:23:10 UTC (rev 25510)
@@ -41,6 +41,14 @@
help
Use latest snapshot or one from a specific date?
+config BR2_UCLIBC_VERSION_STRING
+ string
+ default 0.9.28.3 if BR2_UCLIBC_VERSION_0_9_28_3
+ default 0.9.29 if BR2_UCLIBC_VERSION_0_9_29
+ default 0.9.30 if BR2_UCLIBC_VERSION_0_9_30
+ default 0.9.30.1 if BR2_UCLIBC_VERSION_0_9_30_1
+ default $BR2_USE_UCLIBC_SNAPSHOT if BR2_UCLIBC_VERSION_SNAPSHOT
+
config BR2_UCLIBC_CONFIG
string "uClibc configuration file to use?"
default "toolchain/uClibc/uClibc-0.9.28.config" if BR2_UCLIBC_VERSION_0_9_28_3
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-03-03 18:47:56 UTC (rev 25509)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-03-03 20:23:10 UTC (rev 25510)
@@ -13,45 +13,29 @@
#")
endif
+UCLIBC_VER:=$(subst ",,$(BR2_UCLIBC_VERSION_STRING))
+#")
+
+UCLIBC_OFFICIAL_VERSION:=$(UCLIBC_VER)$(VENDOR_SUFFIX)$(VENDOR_UCLIBC_RELEASE)
+
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
-# Be aware that this changes daily....
-UCLIBC_VER:=0.9.30
-UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc
-UCLIBC_SOURCE:=uClibc-$(strip $(subst ",, $(BR2_USE_UCLIBC_SNAPSHOT))).tar.bz2
-#"))
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
-UCLIBC_PATCH_DIR:=toolchain/uClibc/
+UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc
else
-# releases
-ifeq ($(BR2_UCLIBC_VERSION_0_9_30_1),y)
-UCLIBC_VER:=0.9.30.1
-endif
-ifeq ($(BR2_UCLIBC_VERSION_0_9_30),y)
-UCLIBC_VER:=0.9.30
-endif
-ifeq ($(BR2_UCLIBC_VERSION_0_9_29),y)
-UCLIBC_VER:=0.9.29
-endif
-ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
-UCLIBC_VER:=0.9.28.3
-endif
+UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
UCLIBC_SITE:=http://www.uclibc.org/downloads
-
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y)
UCLIBC_SITE:=$(VENDOR_SITE)
endif
+endif
-UCLIBC_OFFICIAL_VERSION:=$(UCLIBC_VER)$(VENDOR_SUFFIX)$(VENDOR_UCLIBC_RELEASE)
-
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
UCLIBC_PATCH_DIR:=toolchain/uClibc/
else
UCLIBC_PATCH_DIR:=toolchain/uClibc/ext_source/$(VENDOR_PATCH_DIR)/$(UCLIBC_OFFICIAL_VERSION)
endif
-UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
UCLIBC_SOURCE:=uClibc-$(UCLIBC_OFFICIAL_VERSION).tar.bz2
-endif
UCLIBC_CAT:=$(BZCAT)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-02-03 14:29 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-02-03 14:29 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-02-03 14:29:36 +0000 (Tue, 03 Feb 2009)
New Revision: 25226
Log:
uClibc: remove unused 0.9.29 wchar defconfig
We add the wchar stuff at compile time using sed, so the default defconfig
works, the file hasn't seen any updates since it first got committed, and
there's no references to it in the tree.
Removed:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
Changeset:
Deleted: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config 2009-02-03 14:28:43 UTC (rev 25225)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config 2009-02-03 14:29:36 UTC (rev 25226)
@@ -1,215 +0,0 @@
-#
-# Automatically generated make config: don't edit
-# Tue Jul 17 02:34:41 2007
-#
-# TARGET_alpha is not set
-TARGET_arm=y
-# TARGET_bfin is not set
-# TARGET_cris is not set
-# 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 is not set
-# TARGET_nios is not set
-# TARGET_nios2 is not set
-# TARGET_powerpc is not set
-# TARGET_sh is not set
-# 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
-#
-TARGET_ARCH="arm"
-FORCE_OPTIONS_FOR_ARCH=y
-CONFIG_ARM_OABI=y
-# CONFIG_ARM_EABI is not set
-CONFIG_GENERIC_ARM=y
-# 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
-TARGET_SUBARCH=""
-
-#
-# Using ELF file format
-#
-ARCH_ANY_ENDIAN=y
-ARCH_LITTLE_ENDIAN=y
-# ARCH_WANTS_BIG_ENDIAN is not set
-ARCH_WANTS_LITTLE_ENDIAN=y
-ARCH_HAS_MMU=y
-ARCH_USE_MMU=y
-UCLIBC_HAS_FLOATS=y
-UCLIBC_HAS_FPU=y
-DO_C99_MATH=y
-KERNEL_HEADERS="/home/ulf/projects/Buildroot/20070712/buildroot/toolchain_build_arm/linux/include"
-HAVE_DOT_CONFIG=y
-
-#
-# General Library Settings
-#
-# HAVE_NO_PIC is not set
-DOPIC=y
-# HAVE_NO_SHARED is not set
-# ARCH_HAS_NO_LDSO is not set
-HAVE_SHARED=y
-# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
-LDSO_LDD_SUPPORT=y
-LDSO_CACHE_SUPPORT=y
-# LDSO_PRELOAD_FILE_SUPPORT is not set
-LDSO_BASE_FILENAME="ld.so"
-# UCLIBC_STATIC_LDCONFIG is not set
-LDSO_RUNPATH=y
-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
-# MALLOC is not set
-# MALLOC_SIMPLE is not set
-MALLOC_STANDARD=y
-MALLOC_GLIBC_COMPAT=y
-UCLIBC_DYNAMIC_ATEXIT=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=y
-# UNIX98PTY_ONLY is not set
-ASSUME_DEVPTS=y
-UCLIBC_HAS_TM_EXTENSIONS=y
-UCLIBC_HAS_TZ_CACHING=y
-UCLIBC_HAS_TZ_FILE=y
-UCLIBC_HAS_TZ_FILE_READ_MANY=y
-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
-#
-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 is not set
-UCLIBC_HAS_CTYPE_CHECKED=y
-# UCLIBC_HAS_CTYPE_ENFORCED is not set
-UCLIBC_HAS_WCHAR=y
-UCLIBC_HAS_LOCALE=y
-UCLIBC_PREGENERATED_LOCALE_DATA=y
-UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y
-# UCLIBC_HAS_XLOCALE is not set
-UCLIBC_HAS_HEXADECIMAL_FLOATS=y
-# UCLIBC_HAS_GLIBC_DIGIT_GROUPING is not set
-UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
-UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
-UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
-# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
-UCLIBC_HAS_STDIO_BUFSIZ_4096=y
-# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
-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_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=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=y
-
-#
-# Big and Tall
-#
-UCLIBC_HAS_REGEX=y
-UCLIBC_HAS_REGEX_OLD=y
-UCLIBC_HAS_FNMATCH=y
-UCLIBC_HAS_FNMATCH_OLD=y
-# UCLIBC_HAS_WORDEXP is not set
-UCLIBC_HAS_FTW=y
-UCLIBC_HAS_GLOB=y
-UCLIBC_HAS_GNU_GLOB=y
-
-#
-# Library Installation Options
-#
-SHARED_LIB_LOADER_PREFIX="/lib"
-RUNTIME_PREFIX="/"
-DEVEL_PREFIX="/usr/"
-
-#
-# Security options
-#
-# UCLIBC_BUILD_PIE is not set
-# UCLIBC_HAS_ARC4RANDOM is not set
-# HAVE_NO_SSP is not set
-# UCLIBC_HAS_SSP is not set
-UCLIBC_BUILD_RELRO=y
-UCLIBC_BUILD_NOW=y
-# UCLIBC_BUILD_NOEXECSTACK is not set
-
-#
-# uClibc development/debugging options
-#
-CROSS_COMPILER_PREFIX="/usr/local/arm/gcc-4.2.0-uclibc-20070714/usr/bin/arm-linux-uclibc-"
-UCLIBC_EXTRA_CFLAGS=""
-# DODEBUG is not set
-# DODEBUG_PT is not set
-DOSTRIP=y
-# 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
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-02-03 14:28 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-02-03 14:28 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-02-03 14:28:43 +0000 (Tue, 03 Feb 2009)
New Revision: 25225
Log:
uClibc: enable LDSO_RUNPATH in defconfigs (use ELF RPATH info)
Fixes mysql-client package (installs shared libraries into /usr/lib/mysql
and sets RPATH).
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2009-02-02 23:43:57 UTC (rev 25224)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2009-02-03 14:28:43 UTC (rev 25225)
@@ -75,7 +75,7 @@
LDSO_CACHE_SUPPORT=y
# LDSO_PRELOAD_FILE_SUPPORT is not set
LDSO_BASE_FILENAME="ld.so"
-# LDSO_RUNPATH is not set
+LDSO_RUNPATH=y
# DL_FINI_CRT_COMPAT is not set
UCLIBC_CTOR_DTOR=y
# HAS_NO_THREADS is not set
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config 2009-02-02 23:43:57 UTC (rev 25224)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config 2009-02-03 14:28:43 UTC (rev 25225)
@@ -80,7 +80,7 @@
# LDSO_PRELOAD_FILE_SUPPORT is not set
LDSO_BASE_FILENAME="ld.so"
# UCLIBC_STATIC_LDCONFIG is not set
-# LDSO_RUNPATH is not set
+LDSO_RUNPATH=y
UCLIBC_CTOR_DTOR=y
# HAS_NO_THREADS is not set
UCLIBC_HAS_THREADS=y
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2009-02-02 23:43:57 UTC (rev 25224)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2009-02-03 14:28:43 UTC (rev 25225)
@@ -64,7 +64,7 @@
# LDSO_PRELOAD_FILE_SUPPORT is not set
LDSO_BASE_FILENAME="ld.so"
# UCLIBC_STATIC_LDCONFIG is not set
-# LDSO_RUNPATH is not set
+LDSO_RUNPATH=y
# DL_FINI_CRT_COMPAT is not set
UCLIBC_CTOR_DTOR=y
# HAS_NO_THREADS is not set
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2009-02-02 23:43:57 UTC (rev 25224)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2009-02-03 14:28:43 UTC (rev 25225)
@@ -63,7 +63,7 @@
# LDSO_CACHE_SUPPORT is not set
# LDSO_PRELOAD_FILE_SUPPORT is not set
# UCLIBC_STATIC_LDCONFIG is not set
-# LDSO_RUNPATH is not set
+LDSO_RUNPATH=y
UCLIBC_CTOR_DTOR=y
# LDSO_GNU_HASH_SUPPORT is not set
# HAS_NO_THREADS is not set
Modified: trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config 2009-02-02 23:43:57 UTC (rev 25224)
+++ trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config 2009-02-03 14:28:43 UTC (rev 25225)
@@ -68,7 +68,7 @@
# LDSO_PRELOAD_FILE_SUPPORT is not set
LDSO_BASE_FILENAME="ld.so"
# UCLIBC_STATIC_LDCONFIG is not set
-# LDSO_RUNPATH is not set
+LDSO_RUNPATH=y
UCLIBC_CTOR_DTOR=y
# LDSO_GNU_HASH_SUPPORT is not set
# HAS_NO_THREADS is not set
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-01-24 6:44 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-01-24 6:44 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-24 06:44:17 +0000 (Sat, 24 Jan 2009)
New Revision: 24997
Log:
toolchain/uClibc: disable UCLIBC_SUPPORT_AI_ADDRCONFIG in 0.9.30 defconfig
UCLIBC_SUPPORT_AI_ADDRCONFIG seems to have issues in 0.9.30 and cause
segfaults on some architectures, so disable it.
Reported and tracked down by "QuickX" <quickx@hotmail.com>.
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2009-01-24 06:44:13 UTC (rev 24996)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2009-01-24 06:44:17 UTC (rev 24997)
@@ -128,7 +128,7 @@
# UCLIBC_HAS_FULL_RPC is not set
# UCLIBC_HAS_REENTRANT_RPC is not set
UCLIBC_USE_NETLINK=y
-UCLIBC_SUPPORT_AI_ADDRCONFIG=y
+# UCLIBC_SUPPORT_AI_ADDRCONFIG is not set
# UCLIBC_HAS_BSD_RES_CLOSE is not set
#
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-01-16 14:21 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-01-16 14:21 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-16 14:21:24 +0000 (Fri, 16 Jan 2009)
New Revision: 24882
Log:
toolchain/uClibc: mark 0.9.29 as recent
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2009-01-16 14:13:50 UTC (rev 24881)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2009-01-16 14:21:24 UTC (rev 24882)
@@ -15,6 +15,7 @@
depends on BR2_EXT_UCLIBC_VERSION_0_9_28_3
config BR2_UCLIBC_VERSION_0_9_29
+ depends on BR2_DEPRECATED || BR2_RECENT
bool "uClibc 0.9.29"
depends on BR2_EXT_UCLIBC_VERSION_0_9_29
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-01-12 15:57 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-01-12 15:57 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-12 15:57:28 +0000 (Mon, 12 Jan 2009)
New Revision: 24802
Log:
uclibc: 0.9.30-x86-2.6.28+headers-fix: add r24799 as well
Handle x86_84 as well. From uclibc r24799.
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch 2009-01-12 15:22:41 UTC (rev 24801)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch 2009-01-12 15:57:28 UTC (rev 24802)
@@ -4,8 +4,10 @@
Subject: [PATCH] These defines needs to be considered after recent linux kernel combined i386 and x86_64 into x86
git-svn-id: svn+ssh://uclibc.org/svn/trunk/uClibc at 24515 69ca8d6d-28ef-0310-b511-8ec308f3f277
+git-svn-id: svn+ssh://uclibc.org/svn/trunk/uClibc at 24799 69ca8d6d-28ef-0310-b511-8ec308f3f277
---
- libc/sysdeps/linux/i386/bits/kernel_types.h | 8 ++++++--
+ libc/sysdeps/linux/i386/bits/kernel_types.h | 8 ++++++--
+ libc/sysdeps/linux/x86_64/bits/kernel_types.h | 11 ++++++++++-
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/libc/sysdeps/linux/i386/bits/kernel_types.h b/libc/sysdeps/linux/i386/bits/kernel_types.h
@@ -29,6 +31,29 @@
typedef unsigned short __kernel_dev_t;
typedef unsigned long __kernel_ino_t;
typedef unsigned short __kernel_mode_t;
+diff --git a/libc/sysdeps/linux/x86_64/bits/kernel_types.h b/libc/sysdeps/linux/x86_64/bits/kernel_types.h
+index 73f6ffb..b2f7341 100644
+--- a/libc/sysdeps/linux/x86_64/bits/kernel_types.h
++++ b/libc/sysdeps/linux/x86_64/bits/kernel_types.h
+@@ -4,8 +4,17 @@
+ * our private content, and not the kernel header, will win.
+ * -Erik
+ */
+-#ifndef _ASM_X86_64_POSIX_TYPES_H
++
++/* a hack for compiling a 32 bit user space with 64 bit
++ * kernel on x86_64 */
++#if !defined(__ARCH_I386_POSIX_TYPES_H) && \
++ !defined(_ASM_X86_64_POSIX_TYPES_H) && \
++ !defined(_ASM_X86_POSIX_TYPES_32_H) && \
++ !defined(_ASM_X86_POSIX_TYPES_64_H)
+ #define _ASM_X86_64_POSIX_TYPES_H
++#define __ARCH_I386_POSIX_TYPES_H
++#define _ASM_X86_POSIX_TYPES_32_H
++#define _ASM_X86_POSIX_TYPES_64_H
+
+ typedef unsigned long __kernel_dev_t;
+ typedef unsigned long __kernel_ino_t;
--
1.5.6.5
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-01-12 15:01 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-01-12 15:01 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-12 15:01:28 +0000 (Mon, 12 Jan 2009)
New Revision: 24797
Log:
toolchain/uclibc: fix sparc SED handling of _V9 / _V9B
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-01-12 14:36:14 UTC (rev 24796)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-01-12 15:01:28 UTC (rev 24797)
@@ -262,7 +262,7 @@
$(UCLIBC_DIR)/.oldconfig
for i in V7 V8 V9 V9B; do echo "# CONFIG_SPARC_$$i is not set"; done \
>> $(UCLIBC_DIR)/.oldconfig
- $(SED) 's/^.*$(UCLIBC_SPARC_TYPE).*/$(UCLIBC_SPARC_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's/^.*$(UCLIBC_SPARC_TYPE)[^B].*/$(UCLIBC_SPARC_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(UCLIBC_TARGET_ARCH),powerpc)
ifeq ($(BR2_powerpc_8540),y)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-01-12 14:11 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2009-01-12 14:11 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-12 14:11:40 +0000 (Mon, 12 Jan 2009)
New Revision: 24795
Log:
toolchain/uclibc: propagate mips mips32r2 variant setting to uclibc
0.9.30 supports MIPS_ISA_MIPS32R2, so use it if mips32r2 variant is selected.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-01-12 12:54:30 UTC (rev 24794)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-01-12 14:11:40 UTC (rev 24795)
@@ -185,6 +185,7 @@
/bin/echo "# CONFIG_MIPS_ISA_3 is not set"; \
/bin/echo "# CONFIG_MIPS_ISA_4 is not set"; \
/bin/echo "# CONFIG_MIPS_ISA_MIPS32 is not set"; \
+ /bin/echo "# CONFIG_MIPS_ISA_MIPS32R2 is not set"; \
/bin/echo "# CONFIG_MIPS_ISA_MIPS64 is not set"; \
) >> $(UCLIBC_DIR)/.oldconfig
ifeq ($(BR2_MIPS_OABI),y)
@@ -209,10 +210,10 @@
$(SED) 's/.*\(CONFIG_MIPS_ISA_4\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_mips_32),y)
- $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32\)[^R].*/\1=y/' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_mips_32r2),y)
- $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32R2\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_mips_64),y)
$(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS64\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2009-01-02 8:30 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2009-01-02 8:30 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2009-01-02 08:30:44 +0000 (Fri, 02 Jan 2009)
New Revision: 24644
Log:
Remove whitespace damage in uclibc.mk
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-01-02 08:29:31 UTC (rev 24643)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2009-01-02 08:30:44 UTC (rev 24644)
@@ -440,7 +440,6 @@
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" headers \
$(if $(BR2_UCLIBC_VERSION_0_9_28_3),install_dev,install_headers)
-
# Install the kernel headers to the first stage gcc include dir
# if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-29 15:22 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-12-29 15:22 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-12-29 15:22:23 +0000 (Mon, 29 Dec 2008)
New Revision: 24605
Log:
toolchain/uclibc: fix 0.9.30 x86 build with 2.6.28 headers (from r24515)
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30-x86-2.6.28+-headers-fix.patch 2008-12-29 15:22:23 UTC (rev 24605)
@@ -0,0 +1,34 @@
+From df180f43dd9fc651ac760e7fe4a4dcf9e6dd42f1 Mon Sep 17 00:00:00 2001
+From: kraj <kraj@69ca8d6d-28ef-0310-b511-8ec308f3f277>
+Date: Tue, 23 Dec 2008 09:04:50 +0000
+Subject: [PATCH] These defines needs to be considered after recent linux kernel combined i386 and x86_64 into x86
+
+git-svn-id: svn+ssh://uclibc.org/svn/trunk/uClibc at 24515 69ca8d6d-28ef-0310-b511-8ec308f3f277
+---
+ libc/sysdeps/linux/i386/bits/kernel_types.h | 8 ++++++--
+ 1 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/libc/sysdeps/linux/i386/bits/kernel_types.h b/libc/sysdeps/linux/i386/bits/kernel_types.h
+index 6609dd3..8641a48 100644
+--- a/libc/sysdeps/linux/i386/bits/kernel_types.h
++++ b/libc/sysdeps/linux/i386/bits/kernel_types.h
+@@ -7,10 +7,14 @@
+
+ /* a hack for compiling a 32 bit user space with 64 bit
+ * kernel on x86_64 */
+-#if !defined(__ARCH_I386_POSIX_TYPES_H) && !defined(_ASM_X86_64_POSIX_TYPES_H)
++#if !defined(__ARCH_I386_POSIX_TYPES_H) && \
++ !defined(_ASM_X86_64_POSIX_TYPES_H) && \
++ !defined(_ASM_X86_POSIX_TYPES_32_H) && \
++ !defined(_ASM_X86_POSIX_TYPES_64_H)
+ #define _ASM_X86_64_POSIX_TYPES_H
+ #define __ARCH_I386_POSIX_TYPES_H
+-
++#define _ASM_X86_POSIX_TYPES_32_H
++#define _ASM_X86_POSIX_TYPES_64_H
+ typedef unsigned short __kernel_dev_t;
+ typedef unsigned long __kernel_ino_t;
+ typedef unsigned short __kernel_mode_t;
+--
+1.5.6.5
+
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-23 10:21 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-12-23 10:21 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-12-23 10:21:07 +0000 (Tue, 23 Dec 2008)
New Revision: 24518
Log:
toolchain/uclibc: fix typo
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-12-23 10:16:51 UTC (rev 24517)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-12-23 10:21:07 UTC (rev 24518)
@@ -125,7 +125,7 @@
toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
uClibc.\*.patch uClibc.\*.patch.$(ARCH)
endif
-ifneq ($(BR2_ENABLE_LOCALE_PREGENERATED)),)
+ifneq ($(BR2_ENABLE_LOCALE_PREGENERATED),)
cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
endif
touch $@
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-23 9:39 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-12-23 9:39 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-12-23 09:39:05 +0000 (Tue, 23 Dec 2008)
New Revision: 24516
Log:
toolchain/uclibc: Add BR2_ENABLE_LOCALE_PREGENERATED option
Add an option to either generate locales yourself or download the
pregenerated set.
Based on 4bdca9cc in Bernhard's tree.
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2008-12-23 09:04:50 UTC (rev 24515)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2008-12-23 09:39:05 UTC (rev 24516)
@@ -56,8 +56,18 @@
config BR2_ENABLE_LOCALE
bool "Enable locale/gettext/i18n support?"
help
- Enable locale/gettext/i18n support?
+ Enable locale/gettext/i18n support?
+config BR2_ENABLE_LOCALE_PREGENERATED
+ bool "Use pregenerated locale data?"
+ depends on BR2_ENABLE_LOCALE
+ help
+ Instead of generating the locale data locally you can optionally
+ download a pregenerated set of locales.
+
+ Say N here unless your buildhost lacks locale support and you
+ desparately want to use internationalization on your target.
+
choice
prompt "Thread library implementation"
default BR2_PTHREADS_OLD
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-12-23 09:04:50 UTC (rev 24515)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-12-23 09:39:05 UTC (rev 24516)
@@ -96,7 +96,7 @@
$(DL_DIR)/$(UCLIBC_SOURCE):
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
-ifneq ($(BR2_ENABLE_LOCALE),)
+ifneq ($(BR2_ENABLE_LOCALE_PREGENERATED),)
UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads
UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz
@@ -125,7 +125,7 @@
toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
uClibc.\*.patch uClibc.\*.patch.$(ARCH)
endif
-ifneq ($(BR2_ENABLE_LOCALE),)
+ifneq ($(BR2_ENABLE_LOCALE_PREGENERATED)),)
cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
endif
touch $@
@@ -346,11 +346,13 @@
echo "# PTHREADS_DEBUG_SUPPORT is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_ENABLE_LOCALE),y)
+ifeq ($(BR2_ENABLE_LOCALE_PREGENERATED),y)
$(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.oldconfig
- $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.oldconfig
else
+ $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=n\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=n\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.oldconfig
+endif
+else
$(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.oldconfig
- $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_USE_WCHAR),y)
$(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.oldconfig
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-07 21:22 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-12-07 21:22 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-12-07 13:22:51 -0800 (Sun, 07 Dec 2008)
New Revision: 24303
Log:
uclibc: add RPC config variables to 0.9.30
Add UCLIBC_HAS_{FULL,REENTRANT}_RPC config variables to the defconfig, so
the sed invocation in uclibc.mk can set them to the proper values.
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2008-12-07 21:22:48 UTC (rev 24302)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2008-12-07 21:22:51 UTC (rev 24303)
@@ -125,6 +125,8 @@
UCLIBC_HAS_IPV4=y
# UCLIBC_HAS_IPV6 is not set
# UCLIBC_HAS_RPC is not set
+# UCLIBC_HAS_FULL_RPC is not set
+# UCLIBC_HAS_REENTRANT_RPC is not set
UCLIBC_USE_NETLINK=y
UCLIBC_SUPPORT_AI_ADDRCONFIG=y
# UCLIBC_HAS_BSD_RES_CLOSE is not set
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-01 14:53 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-12-01 14:53 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-12-01 06:53:22 -0800 (Mon, 01 Dec 2008)
New Revision: 24218
Log:
uclibc 0.9.30: defconfig: enable UCLIBC_HAS_LONG_DOUBLE_MATH
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2008-12-01 14:23:57 UTC (rev 24217)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2008-12-01 14:53:22 UTC (rev 24218)
@@ -46,6 +46,7 @@
UCLIBC_HAS_FPU=y
DO_C99_MATH=y
# UCLIBC_HAS_FENV is not set
+UCLIBC_HAS_LONG_DOUBLE_MATH=y
KERNEL_HEADERS="/usr/src/linux/include"
HAVE_DOT_CONFIG=y
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-01 14:23 egtvedt at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: egtvedt at uclibc.org @ 2008-12-01 14:23 UTC (permalink / raw)
To: buildroot
Author: egtvedt
Date: 2008-12-01 06:23:57 -0800 (Mon, 01 Dec 2008)
New Revision: 24217
Log:
uClibc: set 0.9.30 as default
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2008-12-01 14:23:09 UTC (rev 24216)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2008-12-01 14:23:57 UTC (rev 24217)
@@ -5,7 +5,7 @@
choice
prompt "uClibc C library Version"
- default BR2_UCLIBC_VERSION_0_9_29
+ default BR2_UCLIBC_VERSION_0_9_30
help
Select the version of uClibc you wish to use.
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-01 14:23 egtvedt at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: egtvedt at uclibc.org @ 2008-12-01 14:23 UTC (permalink / raw)
To: buildroot
Author: egtvedt
Date: 2008-12-01 06:23:09 -0800 (Mon, 01 Dec 2008)
New Revision: 24216
Log:
uClibc: add a default config for 0.9.30
Courtesy Bernhard Reutner-Fischer GIT repository at
http://repo.or.cz/w/buildroot.git
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2008-12-01 13:49:23 UTC (rev 24215)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2008-12-01 14:23:09 UTC (rev 24216)
@@ -39,7 +39,7 @@
string "uClibc configuration file to use?"
default "toolchain/uClibc/uClibc-0.9.28.config" if BR2_UCLIBC_VERSION_0_9_28_3
default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_29
- default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_30
+ default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_UCLIBC_VERSION_0_9_30
default "toolchain/uClibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
help
Some people may wish to use their own modified uClibc configuration
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.30.config 2008-12-01 14:23:09 UTC (rev 24216)
@@ -0,0 +1,239 @@
+#
+# Automatically generated make config: don't edit
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_avr32 is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# 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 is not set
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+# TARGET_powerpc is not set
+# TARGET_sh is not set
+# 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_xtensa is not set
+
+#
+# Target Architecture Features and Options
+#
+TARGET_ARCH="none"
+FORCE_OPTIONS_FOR_ARCH=y
+# ARCH_LITTLE_ENDIAN is not set
+# ARCH_BIG_ENDIAN is not set
+# ARCH_WANTS_LITTLE_ENDIAN is not set
+# ARCH_WANTS_BIG_ENDIAN is not set
+
+#
+# Using Little Endian
+#
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+DO_C99_MATH=y
+# UCLIBC_HAS_FENV is not set
+KERNEL_HEADERS="/usr/src/linux/include"
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# ARCH_HAS_NO_SHARED is not set
+# ARCH_HAS_NO_LDSO is not set
+HAVE_SHARED=y
+FORCE_SHAREABLE_TEXT_SEGMENTS=y
+LDSO_LDD_SUPPORT=y
+# LDSO_CACHE_SUPPORT is not set
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+# UCLIBC_STATIC_LDCONFIG is not set
+# LDSO_RUNPATH is not set
+UCLIBC_CTOR_DTOR=y
+# LDSO_GNU_HASH_SUPPORT is not set
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS=y
+# PTHREADS_DEBUG_SUPPORT is not set
+LINUXTHREADS_OLD=y
+UCLIBC_HAS_SYSLOG=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+MALLOC_GLIBC_COMPAT=y
+UCLIBC_DYNAMIC_ATEXIT=y
+# COMPAT_ATEXIT is not set
+# UCLIBC_SUSV3_LEGACY is not set
+# UCLIBC_SUSV3_LEGACY_MACROS is not set
+# UCLIBC_HAS_STUBS is not set
+UCLIBC_HAS_SHADOW=y
+# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
+UCLIBC_HAS___PROGNAME=y
+UCLIBC_HAS_PTY=y
+ASSUME_DEVPTS=y
+UNIX98PTY_ONLY=y
+# UCLIBC_HAS_GETPT is not set
+UCLIBC_HAS_TM_EXTENSIONS=y
+UCLIBC_HAS_TZ_CACHING=y
+UCLIBC_HAS_TZ_FILE=y
+UCLIBC_HAS_TZ_FILE_READ_MANY=y
+UCLIBC_TZ_FILE_PATH="/etc/TZ"
+
+#
+# Advanced Library Settings
+#
+UCLIBC_PWD_BUFFER_SIZE=256
+UCLIBC_GRP_BUFFER_SIZE=256
+UCLIBC_HAS_NONREENTRANT=y
+
+#
+# Support various families of functions
+#
+UCLIBC_LINUX_MODULE_24=y
+UCLIBC_LINUX_SPECIFIC=y
+UCLIBC_HAS_GNU_ERROR=y
+UCLIBC_BSD_SPECIFIC=y
+UCLIBC_HAS_BSD_ERR=y
+# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
+# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
+# UCLIBC_NTP_LEGACY is not set
+# UCLIBC_SV4_DEPRECATED is not set
+UCLIBC_HAS_REALTIME=y
+UCLIBC_HAS_ADVANCED_REALTIME=y
+UCLIBC_HAS_EPOLL=y
+UCLIBC_HAS_XATTR=y
+UCLIBC_HAS_PROFILING=y
+UCLIBC_HAS_CRYPT_IMPL=y
+UCLIBC_HAS_CRYPT=y
+UCLIBC_HAS_NETWORK_SUPPORT=y
+UCLIBC_HAS_SOCKET=y
+UCLIBC_HAS_IPV4=y
+# UCLIBC_HAS_IPV6 is not set
+# UCLIBC_HAS_RPC is not set
+UCLIBC_USE_NETLINK=y
+UCLIBC_SUPPORT_AI_ADDRCONFIG=y
+# UCLIBC_HAS_BSD_RES_CLOSE is not set
+
+#
+# String and Stdio Support
+#
+# UCLIBC_HAS_STRING_GENERIC_OPT is not set
+# UCLIBC_HAS_STRING_ARCH_OPT is not set
+UCLIBC_HAS_CTYPE_TABLES=y
+UCLIBC_HAS_CTYPE_SIGNED=y
+# UCLIBC_HAS_CTYPE_UNSAFE is not set
+# UCLIBC_HAS_CTYPE_CHECKED is not set
+UCLIBC_HAS_CTYPE_ENFORCED=y
+# UCLIBC_HAS_WCHAR is not set
+# UCLIBC_HAS_LOCALE is not set
+UCLIBC_HAS_HEXADECIMAL_FLOATS=y
+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+# USE_OLD_VFPRINTF is not set
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+UCLIBC_HAS_STDIO_BUFSIZ_4096=y
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+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_GETC_MACRO is not set
+# UCLIBC_HAS_STDIO_PUTC_MACRO is not set
+UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
+# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
+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 is not set
+UCLIBC_HAS_FNMATCH=y
+# UCLIBC_HAS_FNMATCH_OLD is not set
+# UCLIBC_HAS_WORDEXP is not set
+UCLIBC_HAS_FTW=y
+UCLIBC_HAS_GLOB=y
+UCLIBC_HAS_GNU_GLOB=y
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="/lib"
+RUNTIME_PREFIX="/"
+DEVEL_PREFIX="/usr/"
+
+#
+# Security options
+#
+# UCLIBC_BUILD_PIE is not set
+UCLIBC_HAS_ARC4RANDOM=y
+# HAVE_NO_SSP is not set
+# UCLIBC_HAS_SSP is not set
+UCLIBC_BUILD_RELRO=y
+UCLIBC_BUILD_NOW=y
+# UCLIBC_BUILD_NOEXECSTACK is not set
+
+#
+# uClibc development/debugging options
+#
+CROSS_COMPILER_PREFIX=""
+UCLIBC_EXTRA_CFLAGS=""
+# DODEBUG is not set
+# DODEBUG_PT is not set
+DOSTRIP=y
+# 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
+
+# USE_BX 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_CORTEX_M3 is not set
+# CONFIG_ARM_CORTEX_M1 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
+
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-12-01 13:02 egtvedt at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: egtvedt at uclibc.org @ 2008-12-01 13:02 UTC (permalink / raw)
To: buildroot
Author: egtvedt
Date: 2008-12-01 05:02:22 -0800 (Mon, 01 Dec 2008)
New Revision: 24211
Log:
uClibc: add uClibc 0.9.30 to kconfig and Makefile
This patch adds uClibc versino 0.9.30 to the list of selectable versions. The
version identification for snapshot is also updated to reflect 0.9.30.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2008-12-01 12:53:09 UTC (rev 24210)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2008-12-01 13:02:22 UTC (rev 24211)
@@ -18,6 +18,10 @@
bool "uClibc 0.9.29"
depends on BR2_EXT_UCLIBC_VERSION_0_9_29
+ config BR2_UCLIBC_VERSION_0_9_30
+ bool "uClibc 0.9.30"
+ depends on BR2_EXT_UCLIBC_VERSION_0_9_30
+
config BR2_UCLIBC_VERSION_SNAPSHOT
bool "daily snapshot"
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-12-01 12:53:09 UTC (rev 24210)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-12-01 13:02:22 UTC (rev 24211)
@@ -15,7 +15,7 @@
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
# Be aware that this changes daily....
-UCLIBC_VER:=0.9.29
+UCLIBC_VER:=0.9.30
UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc
UCLIBC_SOURCE:=uClibc-$(strip $(subst ",, $(BR2_USE_UCLIBC_SNAPSHOT))).tar.bz2
#"))
@@ -23,6 +23,9 @@
UCLIBC_PATCH_DIR:=toolchain/uClibc/
else
# releases
+ifeq ($(BR2_UCLIBC_VERSION_0_9_30),y)
+UCLIBC_VER:=0.9.30
+endif
ifeq ($(BR2_UCLIBC_VERSION_0_9_29),y)
UCLIBC_VER:=0.9.29
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-10-20 18:55 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-10-20 18:55 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-10-20 11:55:26 -0700 (Mon, 20 Oct 2008)
New Revision: 23747
Log:
toolchain/uclibc: brown paper bag fix for r23746
So much for doing one more "obvious" fix before going home -
Sorry everyone.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-20 15:23:50 UTC (rev 23746)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-20 18:55:26 UTC (rev 23747)
@@ -433,12 +433,9 @@
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
- HOSTCC="$(HOSTCC)" \
-ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
- headers install_dev
-else
- headers install_headers
-endif
+ HOSTCC="$(HOSTCC)" headers \
+ $(if $(BR2_UCLIBC_VERSION_0_9_28_3),install_dev,install_headers)
+
# Install the kernel headers to the first stage gcc include dir
# if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-10-20 15:23 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-10-20 15:23 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-10-20 08:23:50 -0700 (Mon, 20 Oct 2008)
New Revision: 23746
Log:
toolchain/uclibc: only use make install_headers for 0.9.29+
0.9.28.3 doesn't have install_headers, so use install_dev there.
Got broken by r23561.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-20 13:57:30 UTC (rev 23745)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-20 15:23:50 UTC (rev 23746)
@@ -434,7 +434,11 @@
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" \
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
+ headers install_dev
+else
headers install_headers
+endif
# Install the kernel headers to the first stage gcc include dir
# if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-10-07 7:32 egtvedt at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: egtvedt at uclibc.org @ 2008-10-07 7:32 UTC (permalink / raw)
To: buildroot
Author: egtvedt
Date: 2008-10-07 00:32:40 -0700 (Tue, 07 Oct 2008)
New Revision: 23615
Log:
uclibc: fix path to ARCH_CFLAGS when compiling the test suite
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-07 07:24:41 UTC (rev 23614)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-07 07:32:40 UTC (rev 23615)
@@ -585,7 +585,7 @@
$(UCLIBC_DIR)/test/unistd/errno:
$(MAKE) -C $(UCLIBC_DIR)/test \
- ARCH_CFLAGS=-I$(STAGING_DIR)/include \
+ ARCH_CFLAGS=-I$(STAGING_DIR)/usr/include \
UCLIBC_ONLY=1 TEST_INSTALLED_UCLIBC=1 compile
$(TARGET_DIR)/root/uClibc/test/unistd/errno: $(UCLIBC_DIR)/test/unistd/errno
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-10-07 7:20 egtvedt at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: egtvedt at uclibc.org @ 2008-10-07 7:20 UTC (permalink / raw)
To: buildroot
Author: egtvedt
Date: 2008-10-07 00:20:32 -0700 (Tue, 07 Oct 2008)
New Revision: 23613
Log:
uclibc: add kconfig option and make stuff for installing the uClibc test suite
This patch adds the possibility to install the uClibc test suite to the target
file system. This is useful if you need to debug or test your uClibc.
The option is defaulted to no, and is not needed for a normal running Linux
system. The test suite is installed to /root/uClibc
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2008-10-07 07:11:15 UTC (rev 23612)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2008-10-07 07:20:32 UTC (rev 23613)
@@ -83,3 +83,21 @@
program_invocation_short_name strings. Some GNU packages
(like tar and coreutils) utilize these for extra useful
output, but in general are not required.
+
+config BR2_UCLIBC_INSTALL_TEST_SUITE
+ bool "Compile and install uClibc tests"
+ default n
+ select BR2_PACKAGE_MAKE
+ help
+ Enabling this option will compile and install the uClibc test suite.
+ This is useful if you want to check if the uClibc library is working
+ for your architecture and/or help developing uClibc.
+
+ The test suite will be installed into /root/uClibc directory. To run
+ the test suite enter the /root/uClibc/test directory and type
+ "make UCLIBC_ONLY=1 CC=/bin/true check".
+
+ See the /root/uClibc/test/README for additional information.
+
+ This is not needed at all for normal builds, so you can safely say no
+ if you do not plan to dig into your C library.
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-07 07:11:15 UTC (rev 23612)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-10-07 07:20:32 UTC (rev 23613)
@@ -549,7 +549,10 @@
touch -c $@
UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
+ifeq ($(BR2_UCLIBC_INSTALL_TEST_SUITE),y)
+UCLIBC_TARGETS+=uclibc-test
endif
+endif
uclibc: $(cross_compiler) $(STAGING_DIR)/usr/lib/libc.a $(UCLIBC_TARGETS)
@@ -568,11 +571,11 @@
uclibc-configured-source: uclibc-source
-uclibc-clean:
+uclibc-clean: uclibc-test-clean
-$(MAKE1) -C $(UCLIBC_DIR) clean
rm -f $(UCLIBC_DIR)/.config
-uclibc-dirclean:
+uclibc-dirclean: uclibc-test-dirclean
rm -rf $(UCLIBC_DIR)
uclibc-target-utils:
@@ -580,6 +583,28 @@
uclibc-target-utils-source: $(DL_DIR)/$(UCLIBC_SOURCE)
+$(UCLIBC_DIR)/test/unistd/errno:
+ $(MAKE) -C $(UCLIBC_DIR)/test \
+ ARCH_CFLAGS=-I$(STAGING_DIR)/include \
+ UCLIBC_ONLY=1 TEST_INSTALLED_UCLIBC=1 compile
+
+$(TARGET_DIR)/root/uClibc/test/unistd/errno: $(UCLIBC_DIR)/test/unistd/errno
+ mkdir -p $(TARGET_DIR)/root/uClibc
+ cp -rdpf $(UCLIBC_DIR)/test $(TARGET_DIR)/root/uClibc
+ $(INSTALL) $(UCLIBC_DIR)/Rules.mak $(TARGET_DIR)/root/uClibc
+ $(INSTALL) $(UCLIBC_DIR)/.config $(TARGET_DIR)/root/uClibc
+
+uclibc-test: uclibc $(TARGET_DIR)/root/uClibc/test/unistd/errno
+
+uclibc-test-source: uclibc-source
+
+uclibc-test-clean:
+ -$(MAKE) -C $(UCLIBC_DIR)/test clean
+ rm -rf $(TARGET_DIR)/root/uClibc
+
+uclibc-test-dirclean:
+ rm -rf $(TARGET_DIR)/root/uClibc
+
#############################################################
#
# uClibc for the target just needs its header files
@@ -615,11 +640,11 @@
uclibc_target: cross_compiler uclibc $(TARGET_DIR)/usr/lib/libc.a $(TARGET_DIR)/usr/bin/ldd
-uclibc_target-clean:
+uclibc_target-clean: uclibc-test-clean
rm -rf $(TARGET_DIR)/usr/include \
$(TARGET_DIR)/usr/lib/libc.a $(TARGET_DIR)/usr/bin/ldd
-uclibc_target-dirclean:
+uclibc_target-dirclean: uclibc-test-dirclean
rm -rf $(TARGET_DIR)/usr/include
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-09-30 7:29 egtvedt at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: egtvedt at uclibc.org @ 2008-09-30 7:29 UTC (permalink / raw)
To: buildroot
Author: egtvedt
Date: 2008-09-30 00:29:35 -0700 (Tue, 30 Sep 2008)
New Revision: 23561
Log:
uclibc: install headers after building headers in configure part
This patch will run "make headers install_headers" instead of the old "make
headers install_dev". The latter requires a cross compiler available in uClibc
versions > 0.9.29, and the cross compiler is not available at the configuration
time of uClibc.
Spotted and fixed by Bernhard Fischer.
Tested-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-09-30 01:22:25 UTC (rev 23560)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-09-30 07:29:35 UTC (rev 23561)
@@ -434,7 +434,7 @@
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" \
- headers install_dev
+ headers install_headers
# Install the kernel headers to the first stage gcc include dir
# if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-08-04 19:07 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-08-04 19:07 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-08-04 12:07:33 -0700 (Mon, 04 Aug 2008)
New Revision: 23022
Log:
uClibc-0.9.29: remove double ARM subarch selection from defconfig
uclibc.mk unconditionally adds the ARM subarch config entries to the
config so remove them from the defconfig.
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2008-08-04 19:07:29 UTC (rev 23021)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2008-08-04 19:07:33 UTC (rev 23022)
@@ -200,20 +200,4 @@
# UCLIBC_MJN3_ONLY is not set
# USE_BX 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
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-06-18 8:51 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-06-18 8:51 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-06-18 01:51:10 -0700 (Wed, 18 Jun 2008)
New Revision: 22409
Log:
uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUG
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-06-18 08:51:00 UTC (rev 22408)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-06-18 08:51:10 UTC (rev 22409)
@@ -524,7 +524,11 @@
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
install_runtime
- $(STRIPCMD) $(@D)/lib*.so*
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
+ifneq ($(BR2_PTHREAD_DEBUG),y)
+ -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(@D)/libpthread*.so*
+endif
+endif
touch -c $@
$(TARGET_DIR)/usr/bin/ldd: $(cross_compiler)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-06-18 8:51 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-06-18 8:51 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-06-18 01:51:00 -0700 (Wed, 18 Jun 2008)
New Revision: 22408
Log:
uclibc: remove obsolete uclibc 0.9.28 handling
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-06-18 08:45:23 UTC (rev 22407)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-06-18 08:51:00 UTC (rev 22408)
@@ -29,9 +29,6 @@
ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
UCLIBC_VER:=0.9.28.3
endif
-ifeq ($(BR2_UCLIBC_VERSION_0_9_28),y)
-UCLIBC_VER:=0.9.28
-endif
UCLIBC_SITE:=http://www.uclibc.org/downloads
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-06-17 13:30 jacmet at uclibc.org
2008-06-17 15:53 ` Bernhard Fischer
0 siblings, 1 reply; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17 13:30 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008)
New Revision: 22401
Log:
toolchain/uclibc: strip libpthread
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-06-17 13:28:37 UTC (rev 22400)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-06-17 13:30:35 UTC (rev 22401)
@@ -527,6 +527,7 @@
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
install_runtime
+ $(STRIPCMD) $(@D)/lib*.so*
touch -c $@
$(TARGET_DIR)/usr/bin/ldd: $(cross_compiler)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2008-06-17 13:30 jacmet at uclibc.org
@ 2008-06-17 15:53 ` Bernhard Fischer
2008-06-17 18:44 ` Peter Korsgaard
0 siblings, 1 reply; 134+ messages in thread
From: Bernhard Fischer @ 2008-06-17 15:53 UTC (permalink / raw)
To: buildroot
On Tue, Jun 17, 2008 at 06:30:35AM -0700, jacmet at uclibc.org wrote:
>Author: jacmet
>Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008)
>New Revision: 22401
>
>Log:
>toolchain/uclibc: strip libpthread
Those are options in uclibc-menuconfig.
By unconditionally stripping it (and not even using the flags!) you
foobar'ed somebody's setup who wanted to retain just uClibc/lib/lib*so's
debug symbols.
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2008-06-17 15:53 ` Bernhard Fischer
@ 2008-06-17 18:44 ` Peter Korsgaard
2008-06-18 7:10 ` Bernhard Fischer
0 siblings, 1 reply; 134+ messages in thread
From: Peter Korsgaard @ 2008-06-17 18:44 UTC (permalink / raw)
To: buildroot
>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop@gmail.com> writes:
Bernhard> On Tue, Jun 17, 2008 at 06:30:35AM -0700, jacmet at uclibc.org wrote:
>> Author: jacmet
>> Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008)
>> New Revision: 22401
>>
>> Log:
>> toolchain/uclibc: strip libpthread
Bernhard> Those are options in uclibc-menuconfig.
Sorry, I don't see it. Do you mean CONFIG_PTHREADS_DEBUG_SUPPORT?
uclibc (0.9.28.3) doesn't seem to strip libpthread even with that
option disabled.
Bernhard> By unconditionally stripping it (and not even using the
Bernhard> flags!) you foobar'ed somebody's setup who wanted to retain
Bernhard> just uClibc/lib/lib*so's debug symbols.
Notice that I'm stripping the ones in TARGET_DIR, not STAGING_DIR, but
yes - It should probably depend on !CONFIG_BR2_PTHREAD_DEBUG.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2008-06-17 18:44 ` Peter Korsgaard
@ 2008-06-18 7:10 ` Bernhard Fischer
2008-06-18 7:38 ` Peter Korsgaard
0 siblings, 1 reply; 134+ messages in thread
From: Bernhard Fischer @ 2008-06-18 7:10 UTC (permalink / raw)
To: buildroot
On Tue, Jun 17, 2008 at 08:44:09PM +0200, Peter Korsgaard wrote:
>>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop@gmail.com> writes:
>
> Bernhard> On Tue, Jun 17, 2008 at 06:30:35AM -0700, jacmet at uclibc.org wrote:
> >> Author: jacmet
> >> Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008)
> >> New Revision: 22401
> >>
> >> Log:
> >> toolchain/uclibc: strip libpthread
>
> Bernhard> Those are options in uclibc-menuconfig.
>
>Sorry, I don't see it. Do you mean CONFIG_PTHREADS_DEBUG_SUPPORT?
no. DOSTRIP
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2008-06-18 7:10 ` Bernhard Fischer
@ 2008-06-18 7:38 ` Peter Korsgaard
2008-06-18 8:29 ` Bernhard Fischer
0 siblings, 1 reply; 134+ messages in thread
From: Peter Korsgaard @ 2008-06-18 7:38 UTC (permalink / raw)
To: buildroot
>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop@gmail.com> writes:
Bernhard> On Tue, Jun 17, 2008 at 08:44:09PM +0200, Peter Korsgaard wrote:
>>>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop@gmail.com> writes:
>>
Bernhard> On Tue, Jun 17, 2008 at 06:30:35AM -0700, jacmet at uclibc.org wrote:
>> >> Author: jacmet
>> >> Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008)
>> >> New Revision: 22401
>> >>
>> >> Log:
>> >> toolchain/uclibc: strip libpthread
>>
Bernhard> Those are options in uclibc-menuconfig.
>>
>> Sorry, I don't see it. Do you mean CONFIG_PTHREADS_DEBUG_SUPPORT?
Bernhard> no. DOSTRIP
That doesn't exist in 0.9.28.3 (I'm back at 0.9.28.3 while debugging a
threading/mutex issue with 0.9.29 and avahi). I'll change the strip to
only apply when using 0.9.28.3.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-05-31 7:28 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-05-31 7:28 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-05-31 00:28:09 -0700 (Sat, 31 May 2008)
New Revision: 22138
Log:
uclibc-0.9.28.3: correct arch list (avr32 missing, stuff only in 0.9.29+)
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2008-05-31 07:28:04 UTC (rev 22137)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2008-05-31 07:28:09 UTC (rev 22138)
@@ -3,6 +3,7 @@
#
# TARGET_alpha is not set
# TARGET_arm is not set
+# TARGET_avr32 is not set
# TARGET_bfin is not set
# TARGET_cris is not set
# TARGET_e1 is not set
@@ -10,7 +11,6 @@
# TARGET_h8300 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 is not set
@@ -21,7 +21,6 @@
# 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
#
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-05-31 7:28 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-05-31 7:28 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-05-31 00:28:00 -0700 (Sat, 31 May 2008)
New Revision: 22136
Log:
uclibc-0.9.28.3: fix config so oldconfig doesn't ask questions
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2008-05-31 07:27:58 UTC (rev 22135)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2008-05-31 07:28:00 UTC (rev 22136)
@@ -8,7 +8,6 @@
# 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
@@ -120,6 +119,7 @@
# UCLIBC_HAS_LOCALE is not set
UCLIBC_HAS_HEXADECIMAL_FLOATS=y
UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+# USE_OLD_VFPRINTF is not set
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-05-31 7:27 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-05-31 7:27 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-05-31 00:27:58 -0700 (Sat, 31 May 2008)
New Revision: 22135
Log:
uclibc-0.9.29: handle powerpc subarch selection
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-05-31 07:27:52 UTC (rev 22134)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-05-31 07:27:58 UTC (rev 22135)
@@ -257,6 +257,15 @@
>> $(UCLIBC_DIR)/.oldconfig
$(SED) 's/^.*$(UCLIBC_SPARC_TYPE).*/$(UCLIBC_SPARC_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
endif
+ifeq ($(UCLIBC_TARGET_ARCH),powerpc)
+ifeq ($(BR2_powerpc_8540),y)
+ /bin/echo "# CONFIG_CLASSIC is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "CONFIG_E500=y" >> $(UCLIBC_DIR)/.oldconfig
+else
+ /bin/echo "CONFIG_CLASSIC=y" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_E500 is not set" >> $(UCLIBC_DIR)/.oldconfig
+endif
+endif
ifneq ($(UCLIBC_TARGET_ENDIAN),)
# The above doesn't work for me, so redo
$(SED) 's/.*\(ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-04-24 9:03 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-04-24 9:03 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-04-24 02:03:12 -0700 (Thu, 24 Apr 2008)
New Revision: 21821
Log:
uClibc: use .patch.$ARCH naming convention
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-arch.patch.avr32
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-string-ops.patch.powerpc
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-arch.patch.avr32
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-sa_onstack.patch.avr32
Removed:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-avr32.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-ppc-string-ops.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-002-atmel.1.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-avr32-fix-sa_onstack.patch
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Sorry, the patch is too large to include (22633 lines).
Please use ViewCVS to see it!
http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=21821
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-04-17 13:25 nkukard at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: nkukard at uclibc.org @ 2008-04-17 13:25 UTC (permalink / raw)
To: buildroot
Author: nkukard
Date: 2008-04-17 06:25:47 -0700 (Thu, 17 Apr 2008)
New Revision: 21755
Log:
* Added uclibc snapshot config, differes from the stable and kept asking questions for config
* Added ARM config options to makefile just like the other arch's
Added:
trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2008-04-17 13:23:20 UTC (rev 21754)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2008-04-17 13:25:47 UTC (rev 21755)
@@ -36,7 +36,7 @@
default "toolchain/uClibc/uClibc-0.9.28.config" if BR2_UCLIBC_VERSION_0_9_28_3
default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_29
default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_30
- default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_SNAPSHOT
+ default "toolchain/uClibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
help
Some people may wish to use their own modified uClibc configuration
file and will specify their config file location with this option.
Added: trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-snapshot.config 2008-04-17 13:25:47 UTC (rev 21755)
@@ -0,0 +1,201 @@
+#
+# Automatically generated make config: don't edit
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_avr32 is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# 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 is not set
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+# TARGET_powerpc is not set
+# TARGET_sh is not set
+# 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_xtensa is not set
+TARGET_SUBARCH=""
+
+#
+# Target Architecture Features and Options
+#
+TARGET_ARCH="none"
+FORCE_OPTIONS_FOR_ARCH=y
+
+#
+# Using ELF file format
+#
+# ARCH_LITTLE_ENDIAN is not set
+# ARCH_BIG_ENDIAN is not set
+# ARCH_WANTS_LITTLE_ENDIAN is not set
+# ARCH_WANTS_BIG_ENDIAN is not set
+
+#
+# Using Little Endian
+#
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+DO_C99_MATH=y
+# UCLIBC_HAS_FENV is not set
+KERNEL_HEADERS="/usr/src/linux/include"
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# HAVE_NO_SHARED is not set
+# ARCH_HAS_NO_LDSO is not set
+HAVE_SHARED=y
+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
+LDSO_LDD_SUPPORT=y
+LDSO_CACHE_SUPPORT=y
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+LDSO_BASE_FILENAME="ld.so"
+# UCLIBC_STATIC_LDCONFIG is not set
+# LDSO_RUNPATH is not set
+UCLIBC_CTOR_DTOR=y
+# LDSO_GNU_HASH_SUPPORT is not set
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS=y
+# PTHREADS_DEBUG_SUPPORT is not set
+LINUXTHREADS_OLD=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+MALLOC_GLIBC_COMPAT=y
+UCLIBC_DYNAMIC_ATEXIT=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
+# UNIX98PTY_ONLY is not set
+ASSUME_DEVPTS=y
+UCLIBC_HAS_TM_EXTENSIONS=y
+UCLIBC_HAS_TZ_CACHING=y
+UCLIBC_HAS_TZ_FILE=y
+UCLIBC_HAS_TZ_FILE_READ_MANY=y
+UCLIBC_TZ_FILE_PATH="/etc/TZ"
+
+#
+# Advanced Library Settings
+#
+UCLIBC_PWD_BUFFER_SIZE=256
+UCLIBC_GRP_BUFFER_SIZE=256
+
+#
+# Networking Support
+#
+UCLIBC_HAS_IPV6=y
+UCLIBC_HAS_RPC=y
+UCLIBC_HAS_FULL_RPC=y
+UCLIBC_HAS_REENTRANT_RPC=y
+# UCLIBC_USE_NETLINK is not set
+# UCLIBC_HAS_BSD_RES_CLOSE is not set
+
+#
+# String and Stdio Support
+#
+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 is not set
+UCLIBC_HAS_CTYPE_CHECKED=y
+# UCLIBC_HAS_CTYPE_ENFORCED is not set
+# UCLIBC_HAS_WCHAR is not set
+# UCLIBC_HAS_LOCALE is not set
+UCLIBC_HAS_HEXADECIMAL_FLOATS=y
+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+# USE_OLD_VFPRINTF is not set
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+UCLIBC_HAS_STDIO_BUFSIZ_4096=y
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+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_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=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=y
+
+#
+# Big and Tall
+#
+UCLIBC_HAS_REGEX=y
+UCLIBC_HAS_REGEX_OLD=y
+UCLIBC_HAS_FNMATCH=y
+UCLIBC_HAS_FNMATCH_OLD=y
+# UCLIBC_HAS_WORDEXP is not set
+UCLIBC_HAS_FTW=y
+UCLIBC_HAS_GLOB=y
+UCLIBC_HAS_GNU_GLOB=y
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="/lib"
+RUNTIME_PREFIX="/"
+DEVEL_PREFIX="/usr/"
+
+#
+# Security options
+#
+# UCLIBC_BUILD_PIE is not set
+# UCLIBC_HAS_ARC4RANDOM is not set
+# HAVE_NO_SSP is not set
+# UCLIBC_HAS_SSP is not set
+UCLIBC_BUILD_RELRO=y
+UCLIBC_BUILD_NOW=y
+# UCLIBC_BUILD_NOEXECSTACK is not set
+
+#
+# uClibc development/debugging options
+#
+CROSS_COMPILER_PREFIX=""
+UCLIBC_EXTRA_CFLAGS=""
+# DODEBUG is not set
+# DODEBUG_PT is not set
+DOSTRIP=y
+# 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
+
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-04-17 13:23:20 UTC (rev 21754)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-04-17 13:25:47 UTC (rev 21755)
@@ -135,6 +135,23 @@
-e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
$(UCLIBC_DIR)/.oldconfig
ifeq ($(UCLIBC_TARGET_ARCH),arm)
+ (/bin/echo "# CONFIG_GENERIC_ARM is not set"; \
+ /bin/echo "# CONFIG_ARM610 is not set"; \
+ /bin/echo "# CONFIG_ARM710 is not set"; \
+ /bin/echo "# CONFIG_ARM7TDMI is not set"; \
+ /bin/echo "# CONFIG_ARM720T is not set"; \
+ /bin/echo "# CONFIG_ARM920T is not set"; \
+ /bin/echo "# CONFIG_ARM922T is not set"; \
+ /bin/echo "# CONFIG_ARM926T is not set"; \
+ /bin/echo "# CONFIG_ARM10T is not set"; \
+ /bin/echo "# CONFIG_ARM1136JF_S is not set"; \
+ /bin/echo "# CONFIG_ARM1176JZ_S is not set"; \
+ /bin/echo "# CONFIG_ARM1176JZF_S is not set"; \
+ /bin/echo "# CONFIG_ARM_SA110 is not set"; \
+ /bin/echo "# CONFIG_ARM_SA1100 is not set"; \
+ /bin/echo "# CONFIG_ARM_XSCALE is not set"; \
+ /bin/echo "# CONFIG_ARM_IWMMXT is not set"; \
+ ) >> $(UCLIBC_DIR)/.oldconfig
$(SED) 's/^\(CONFIG_[^_]*[_]*ARM[^=]*\)=.*/# \1 is not set/g' \
$(UCLIBC_DIR)/.oldconfig
$(SED) 's/^.*$(UCLIBC_ARM_TYPE).*/$(UCLIBC_ARM_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-03-29 17:34 nkukard at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: nkukard at uclibc.org @ 2008-03-29 17:34 UTC (permalink / raw)
To: buildroot
Author: nkukard
Date: 2008-03-29 10:34:23 -0700 (Sat, 29 Mar 2008)
New Revision: 21560
Log:
PentiumPro is not Pentium4 but i686
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-03-29 17:26:10 UTC (rev 21559)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-03-29 17:34:23 UTC (rev 21560)
@@ -357,6 +357,12 @@
ifeq ($(BR2_x86_pentium_mmx),y)
$(SED) 's,# CONFIG_586MMX is not set,CONFIG_586MMX=y,g' $(UCLIBC_DIR)/.oldconfig
endif
+ifeq ($(BR2_x86_i686),y)
+ $(SED) 's,# CONFIG_686 is not set,CONFIG_686=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_pentiumpro),y)
+ $(SED) 's,# CONFIG_686 is not set,CONFIG_686=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
ifeq ($(BR2_x86_pentium2),y)
$(SED) 's,# CONFIG_PENTIUMII is not set,CONFIG_PENTIUMII=y,g' $(UCLIBC_DIR)/.oldconfig
endif
@@ -369,19 +375,13 @@
ifeq ($(BR2_x86_pentium_m),y)
$(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
endif
-ifeq ($(BR2_x86_pentiumpro),y)
- $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
-endif
ifeq ($(BR2_x86_nocona),y)
$(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_x86_core2),y)
$(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
endif
-ifeq ($(BR2_x86_i686),y)
- $(SED) 's,# CONFIG_686 is not set,CONFIG_686=y,g' $(UCLIBC_DIR)/.oldconfig
endif
-endif
$(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.oldconfig
cp -f $(UCLIBC_DIR)/.oldconfig $(UCLIBC_DIR)/.config
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-03-29 16:23 nkukard at uclibc.org
2008-03-29 16:56 ` Peter Korsgaard
0 siblings, 1 reply; 134+ messages in thread
From: nkukard at uclibc.org @ 2008-03-29 16:23 UTC (permalink / raw)
To: buildroot
Author: nkukard
Date: 2008-03-29 09:23:16 -0700 (Sat, 29 Mar 2008)
New Revision: 21558
Log:
* Fixed uClibc sub-x86 arch selection
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-03-29 16:07:46 UTC (rev 21557)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-03-29 16:23:16 UTC (rev 21558)
@@ -353,7 +353,31 @@
endif
ifeq ($(BR2_x86_i586),y)
$(SED) 's,# CONFIG_586 is not set,CONFIG_586=y,g' $(UCLIBC_DIR)/.oldconfig
-endif
+endif
+ifeq ($(BR2_x86_pentium_mmx),y)
+ $(SED) 's,# CONFIG_586MMX is not set,CONFIG_586MMX=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_pentium2),y)
+ $(SED) 's,# CONFIG_PENTIUMII is not set,CONFIG_PENTIUMII=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_pentium3),y)
+ $(SED) 's,# CONFIG_PENTIUMIII is not set,CONFIG_PENTIUMIII=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_pentium4),y)
+ $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_pentium_m),y)
+ $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_pentiumpro),y)
+ $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_nocona),y)
+ $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_x86_core2),y)
+ $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
ifeq ($(BR2_x86_i686),y)
$(SED) 's,# CONFIG_686 is not set,CONFIG_686=y,g' $(UCLIBC_DIR)/.oldconfig
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2008-03-29 16:23 nkukard at uclibc.org
@ 2008-03-29 16:56 ` Peter Korsgaard
2008-03-29 17:20 ` Nigel Kukard
0 siblings, 1 reply; 134+ messages in thread
From: Peter Korsgaard @ 2008-03-29 16:56 UTC (permalink / raw)
To: buildroot
>>>>> "nkukard" == nkukard <nkukard@uclibc.org> writes:
nkukard> Author: nkukard
nkukard> Date: 2008-03-29 09:23:16 -0700 (Sat, 29 Mar 2008)
nkukard> New Revision: 21558
nkukard> Log:
nkukard> * Fixed uClibc sub-x86 arch selection
nkukard> Modified:
nkukard> trunk/buildroot/toolchain/uClibc/uclibc.mk
nkukard> Changeset:
nkukard> Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
nkukard> ===================================================================
nkukard> --- trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-03-29 16:07:46 UTC (rev 21557)
nkukard> +++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2008-03-29 16:23:16 UTC (rev 21558)
nkukard> @@ -353,7 +353,31 @@
nkukard> endif
nkukard> ifeq ($(BR2_x86_i586),y)
nkukard> $(SED) 's,# CONFIG_586 is not set,CONFIG_586=y,g' $(UCLIBC_DIR)/.oldconfig
nkukard> -endif
nkukard> +endif
nkukard> +ifeq ($(BR2_x86_pentium_mmx),y)
nkukard> + $(SED) 's,# CONFIG_586MMX is not set,CONFIG_586MMX=y,g' $(UCLIBC_DIR)/.oldconfig
nkukard> +endif
nkukard> +ifeq ($(BR2_x86_pentium2),y)
nkukard> + $(SED) 's,# CONFIG_PENTIUMII is not set,CONFIG_PENTIUMII=y,g' $(UCLIBC_DIR)/.oldconfig
nkukard> +endif
nkukard> +ifeq ($(BR2_x86_pentium3),y)
nkukard> + $(SED) 's,# CONFIG_PENTIUMIII is not set,CONFIG_PENTIUMIII=y,g' $(UCLIBC_DIR)/.oldconfig
nkukard> +endif
nkukard> +ifeq ($(BR2_x86_pentium4),y)
nkukard> + $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
nkukard> +endif
nkukard> +ifeq ($(BR2_x86_pentium_m),y)
nkukard> + $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
nkukard> +endif
nkukard> +ifeq ($(BR2_x86_pentiumpro),y)
nkukard> + $(SED) 's,# CONFIG_PENTIUM4 is not set,CONFIG_PENTIUM4=y,g' $(UCLIBC_DIR)/.oldconfig
That seems wrong. Should probably be CONFIG_PENTIUMII instead.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-03-27 10:23 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-03-27 10:23 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-03-27 03:23:13 -0700 (Thu, 27 Mar 2008)
New Revision: 21513
Log:
uClibc 0.9.28.3: use optimized string ops on ppc
Use optimized string ops instead of dummy generic ones on PPC.
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-ppc-string-ops.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-ppc-string-ops.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-ppc-string-ops.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-ppc-string-ops.patch 2008-03-27 10:23:13 UTC (rev 21513)
@@ -0,0 +1,56 @@
+diff -urpN uClibc-0.9.28.3/libc/string/powerpc/string.c uClibc-0.9.28.3-patched/libc/string/powerpc/string.c
+--- uClibc-0.9.28.3/libc/string/powerpc/string.c 2005-06-21 16:03:15.000000000 +0200
++++ uClibc-0.9.28.3-patched/libc/string/powerpc/string.c 2008-03-27 00:22:16.000000000 +0100
+@@ -32,7 +32,7 @@
+ #include <locale.h> /* for __LOCALE_C_ONLY */
+
+ #ifdef L_memcpy
+-void attribute_hidden *__memcpy(void *to, const void *from, size_t n)
++void *memcpy(void *to, const void *from, size_t n)
+ /* PPC can do pre increment and load/store, but not post increment and load/store.
+ Therefore use *++ptr instead of *ptr++. */
+ {
+@@ -87,11 +87,10 @@ void attribute_hidden *__memcpy(void *to
+ goto copy_chunks;
+ goto lessthan8;
+ }
+-strong_alias(__memcpy, memcpy);
+ #endif
+
+ #ifdef L_memmove
+-void attribute_hidden *__memmove(void *to, const void *from, size_t n)
++void *memmove(void *to, const void *from, size_t n)
+ {
+ unsigned long rem, chunks, tmp1, tmp2;
+ unsigned char *tmp_to;
+@@ -142,7 +141,6 @@ void attribute_hidden *__memmove(void *t
+ goto copy_chunks;
+ goto lessthan8;
+ }
+-strong_alias(__memmove, memmove);
+ #endif
+
+ #ifdef L_memset
+@@ -156,7 +154,7 @@ static inline int expand_byte_word(int c
+ : "=r" (c) : "0" (c));
+ return c;
+ }
+-void attribute_hidden *__memset(void *to, int c, size_t n)
++void *memset(void *to, int c, size_t n)
+ {
+ unsigned long rem, chunks;
+ unsigned char *tmp_to;
+@@ -202,12 +200,10 @@ void attribute_hidden *__memset(void *to
+ goto copy_chunks;
+ goto lessthan8;
+ }
+-strong_alias(__memset, memset);
+ #endif
+
+ #ifdef L_bzero
+-weak_alias(__bzero,bzero);
+-void __bzero(void *s, size_t n)
++void bzero(void *s, size_t n)
+ {
+ (void)memset(s, 0, n);
+ }
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-03-27 10:23 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2008-03-27 10:23 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-03-27 03:23:03 -0700 (Thu, 27 Mar 2008)
New Revision: 21512
Log:
uclibc: remove unused legacy patches
Removed:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-100-fix_includes.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-200-host-ldconfig.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-300-ldso.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-400-math-endianness.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-500-mutex-cancel.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-600-new_dst_rules.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-700-rm-whitespace.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-800-avr32-1.patch
Changeset:
Sorry, the patch is too large to include (19697 lines).
Please use ViewCVS to see it!
http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=21512
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2008-03-06 18:50 ninevoltz at uclibc.org
2008-03-06 21:54 ` Peter Korsgaard
0 siblings, 1 reply; 134+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-06 18:50 UTC (permalink / raw)
To: buildroot
Author: ninevoltz
Date: 2008-03-06 10:50:01 -0800 (Thu, 06 Mar 2008)
New Revision: 21251
Log:
added and removed uclibc patches
Added:
trunk/buildroot/toolchain/uClibc/Glibc_vs_uClibc_Differences.txt
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-100-fix_includes.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-200-host-ldconfig.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-300-ldso.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-400-math-endianness.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-500-mutex-cancel.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-600-new_dst_rules.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-700-rm-whitespace.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-800-avr32-1.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.3-avr32.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-002-atmel.1.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-avr32-fix-sa_onstack.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-linuxthreads.patch
Removed:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-fix_includes.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-host-ldconfig.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-ldso.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-math-endianness.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-mutex-cancel.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-new_dst_rules.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-rm-whitespace.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-avr32.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-resolve-in-etc-hosts.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-load-got-pointer-at-the-beginning-of-init-and-fini.patch
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Sorry, the patch is too large to include (50340 lines).
Please use ViewCVS to see it!
http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=21251
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2008-03-06 18:50 ninevoltz at uclibc.org
@ 2008-03-06 21:54 ` Peter Korsgaard
0 siblings, 0 replies; 134+ messages in thread
From: Peter Korsgaard @ 2008-03-06 21:54 UTC (permalink / raw)
To: buildroot
>>>>> "ninevoltz" == ninevoltz <ninevoltz@uclibc.org> writes:
ninevoltz> Author: ninevoltz
ninevoltz> Date: 2008-03-06 10:50:01 -0800 (Thu, 06 Mar 2008)
ninevoltz> New Revision: 21251
ninevoltz> Log:
ninevoltz> added and removed uclibc patches
Why?
ninevoltz> Added:
ninevoltz> trunk/buildroot/toolchain/uClibc/Glibc_vs_uClibc_Differences.txt
Who is this for? Why here?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-11-15 15:44 vanokuten at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: vanokuten at uclibc.org @ 2007-11-15 15:44 UTC (permalink / raw)
To: buildroot
Author: vanokuten
Date: 2007-11-15 07:44:15 -0800 (Thu, 15 Nov 2007)
New Revision: 20428
Log:
update uClibc config for nios2
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-11-15 10:16:55 UTC (rev 20427)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-11-15 15:44:15 UTC (rev 20428)
@@ -192,6 +192,12 @@
$(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS64\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
endif
endif
+ifeq ($(UCLIBC_TARGET_ARCH),nios2)
+ /bin/echo "# UCLIBC_FORMAT_FDPIC_ELF is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "UCLIBC_FORMAT_FLAT=y" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_FLAT_SEP_DATA is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_SHARED_FLAT is not set" >> $(UCLIBC_DIR)/.oldconfig
+endif
ifeq ($(UCLIBC_TARGET_ARCH),sh)
/bin/echo "# CONFIG_SH2A is not set" >> $(UCLIBC_DIR)/.oldconfig
/bin/echo "# CONFIG_SH2 is not set" >> $(UCLIBC_DIR)/.oldconfig
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-11-15 10:16 vanokuten at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: vanokuten at uclibc.org @ 2007-11-15 10:16 UTC (permalink / raw)
To: buildroot
Author: vanokuten
Date: 2007-11-15 02:16:55 -0800 (Thu, 15 Nov 2007)
New Revision: 20427
Log:
install ldconfig stuff only if it was built, fix for systems without shared libraries support (nios2)
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-11-15 09:02:12 UTC (rev 20426)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-11-15 10:16:55 UTC (rev 20427)
@@ -450,11 +450,15 @@
PREFIX=$(STAGING_DIR) \
HOSTCC="$(HOSTCC)" \
hostutils
- install -c $(UCLIBC_DIR)/utils/ldd.host $(STAGING_DIR)/usr/bin/ldd
- ln -sf ldd $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldd
- install -c $(UCLIBC_DIR)/utils/ldconfig.host $(STAGING_DIR)/usr/bin/ldconfig
- ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldconfig
- ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldconfig
+ if [ -f $(UCLIBC_DIR)/utils/ldd.host ]; then \
+ install -c $(UCLIBC_DIR)/utils/ldd.host $(STAGING_DIR)/usr/bin/ldd; \
+ ln -sf ldd $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldd; \
+ fi
+ if [ -f $(UCLIBC_DIR)/utils/ldconfig.host ]; then \
+ install -c $(UCLIBC_DIR)/utils/ldconfig.host $(STAGING_DIR)/usr/bin/ldconfig; \
+ ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-ldconfig; \
+ ln -sf ldconfig $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-ldconfig; \
+ fi
touch -c $@
ifneq ($(TARGET_DIR),)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-10-12 15:12 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-10-12 15:12 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-10-12 08:12:55 -0700 (Fri, 12 Oct 2007)
New Revision: 20232
Log:
Add AVR32 support for uclibc-0-9-29
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-avr32.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-resolve-in-etc-hosts.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-load-got-pointer-at-the-beginning-of-init-and-fini.patch
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Sorry, the patch is too large to include (3757 lines).
Please use ViewCVS to see it!
http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=20232
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-30 12:43 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-09-30 12:43 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-09-30 05:42:59 -0700 (Sun, 30 Sep 2007)
New Revision: 20140
Log:
- propagate mips ISA down to uClibc
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-30 12:42:11 UTC (rev 20139)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-30 12:42:59 UTC (rev 20140)
@@ -150,9 +150,16 @@
endif
ifeq ($(UCLIBC_TARGET_ARCH),mips)
$(SED) '/CONFIG_MIPS_[NO].._ABI/d' $(UCLIBC_DIR)/.oldconfig
+ $(SED) '/CONFIG_MIPS_ISA_.*/d' $(UCLIBC_DIR)/.oldconfig
(/bin/echo "# CONFIG_MIPS_O32_ABI is not set"; \
/bin/echo "# CONFIG_MIPS_N32_ABI is not set"; \
/bin/echo "# CONFIG_MIPS_N64_ABI is not set"; \
+ /bin/echo "# CONFIG_MIPS_ISA_1 is not set"; \
+ /bin/echo "# CONFIG_MIPS_ISA_2 is not set"; \
+ /bin/echo "# CONFIG_MIPS_ISA_3 is not set"; \
+ /bin/echo "# CONFIG_MIPS_ISA_4 is not set"; \
+ /bin/echo "# CONFIG_MIPS_ISA_MIPS32 is not set"; \
+ /bin/echo "# CONFIG_MIPS_ISA_MIPS64 is not set"; \
) >> $(UCLIBC_DIR)/.oldconfig
ifeq ($(BR2_MIPS_OABI),y)
$(SED) 's/.*\(CONFIG_MIPS_O32_ABI\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
@@ -163,7 +170,28 @@
ifeq ($(BR2_MIPS_ABI64),y)
$(SED) 's/.*\(CONFIG_MIPS_N64_ABI\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
endif
+ifeq ($(BR2_mips_1),y)
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_1\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
endif
+ifeq ($(BR2_mips_2),y)
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_2\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_mips_3),y)
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_3\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_mips_4),y)
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_4\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_mips_32),y)
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_mips_32r2),y)
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS32\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_mips_64),y)
+ $(SED) 's/.*\(CONFIG_MIPS_ISA_MIPS64\).*/\1=y/' $(UCLIBC_DIR)/.oldconfig
+endif
+endif
ifeq ($(UCLIBC_TARGET_ARCH),sh)
/bin/echo "# CONFIG_SH2A is not set" >> $(UCLIBC_DIR)/.oldconfig
/bin/echo "# CONFIG_SH2 is not set" >> $(UCLIBC_DIR)/.oldconfig
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-28 22:16 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-09-28 22:16 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-09-28 15:16:47 -0700 (Fri, 28 Sep 2007)
New Revision: 20106
Log:
Removed uclibc source dependency on host-sed
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-28 22:15:19 UTC (rev 20105)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-28 22:16:47 UTC (rev 20106)
@@ -108,7 +108,7 @@
UCLIBC_LOCALE_DATA=
endif
-$(UCLIBC_DIR)/.unpacked: host-sed $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
+$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
mkdir -p $(TOOL_BUILD_DIR)
rm -rf $(UCLIBC_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-28 21:44 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-09-28 21:44 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-09-28 14:44:35 -0700 (Fri, 28 Sep 2007)
New Revision: 20100
Log:
No reliance on dirs in uClibc
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-28 21:17:53 UTC (rev 20099)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-28 21:44:35 UTC (rev 20100)
@@ -108,7 +108,7 @@
UCLIBC_LOCALE_DATA=
endif
-$(UCLIBC_DIR)/.unpacked: dirs host-sed $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
+$(UCLIBC_DIR)/.unpacked: host-sed $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
mkdir -p $(TOOL_BUILD_DIR)
rm -rf $(UCLIBC_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-27 23:54 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-09-27 23:54 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-09-27 16:54:45 -0700 (Thu, 27 Sep 2007)
New Revision: 20077
Log:
Remove softfp patch from uClibc, ARM softfloat, did not complete anyway
Removed:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch
Changeset:
Sorry, the patch is too large to include (9154 lines).
Please use ViewCVS to see it!
http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=20077
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-27 21:51 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-09-27 21:51 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-09-27 14:51:21 -0700 (Thu, 27 Sep 2007)
New Revision: 20074
Log:
- fix ARM ABI propagation
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-27 21:32:50 UTC (rev 20073)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-27 21:51:21 UTC (rev 20074)
@@ -139,6 +139,7 @@
$(SED) 's/^\(CONFIG_[^_]*[_]*ARM[^=]*\)=.*/# \1 is not set/g' \
$(UCLIBC_DIR)/.oldconfig
$(SED) 's/^.*$(UCLIBC_ARM_TYPE).*/$(UCLIBC_ARM_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
+ $(SED) '/CONFIG_ARM_.ABI/d' $(UCLIBC_DIR)/.oldconfig
ifeq ($(BR2_ARM_EABI),y)
/bin/echo "# CONFIG_ARM_OABI is not set" >> $(UCLIBC_DIR)/.oldconfig
/bin/echo "CONFIG_ARM_EABI=y" >> $(UCLIBC_DIR)/.oldconfig
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-27 0:18 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-09-27 0:18 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-09-26 17:18:52 -0700 (Wed, 26 Sep 2007)
New Revision: 20052
Log:
Additional management of uclibc
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-27 00:15:46 UTC (rev 20051)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-09-27 00:18:52 UTC (rev 20052)
@@ -445,6 +445,9 @@
uclibc-oldconfig: host-sed $(UCLIBC_DIR)/.oldconfig
+uclibc-update:
+ cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE)
+
uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
uclibc-configured-source: uclibc-source
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-26 9:09 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-09-26 9:09 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-09-26 02:09:55 -0700 (Wed, 26 Sep 2007)
New Revision: 20033
Log:
Ensure soft-fp patch is truly local
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch 2007-09-26 06:32:42 UTC (rev 20032)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch 2007-09-26 09:09:55 UTC (rev 20033)
@@ -4388,7 +4388,7 @@
+
+# SOFT_FLOAT functions
+ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
-+CSRC := \
++SOFT_FP_SRC := \
+ adddf3.c addsf3.c addtf3.c \
+ divdf3.c divsf3.c divtf3.c \
+ eqdf2.c eqsf2.c eqtf2.c \
@@ -4410,8 +4410,8 @@
+SOFT_FP_DIR := $(top_srcdir)libc/soft-fp
+SOFT_FP_OUT := $(top_builddir)libc/soft-fp
+
-+SOFT_FP_SRC := $(patsubst %.c,$(SOFT_FP_DIR)/%.c,$(CSRC))
-+SOFT_FP_OBJ := $(patsubst %.c,$(SOFT_FP_OUT)/%.o,$(CSRC))
++SOFT_FP_SRC := $(patsubst %.c,$(SOFT_FP_DIR)/%.c,$(SOFT_FP_SRC))
++SOFT_FP_OBJ := $(patsubst %.c,$(SOFT_FP_OUT)/%.o,$(SOFT_FP_SRC))
+
+libc-y += $(SOFT_FP_OBJ)
+
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-25 14:13 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-09-25 14:13 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-09-25 07:13:21 -0700 (Tue, 25 Sep 2007)
New Revision: 20020
Log:
Remove -lgcc, did no good anyway
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch 2007-09-25 13:37:20 UTC (rev 20019)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch 2007-09-25 14:13:21 UTC (rev 20020)
@@ -9145,14 +9145,5 @@
+
+ return r;
+}
-diff -urN uClibc-0.9.29-0rig/Rules.mak uClibc-0.9.29/Rules.mak
---- uClibc-0.9.29-0rig/Rules.mak 2007-04-17 15:34:11.000000000 +0200
-+++ uClibc-0.9.29/Rules.mak 2007-09-25 07:26:39.000000000 +0200
-@@ -385,6 +385,7 @@
- # No longer needed with current toolchains, but leave it here for now.
- # If anyone is actually still using gcc 2.95 (say), they can uncomment it.
- # LDADD_LIBFLOAT=-lfloat
-+CPU_LDFLAGS-y+=-lgcc
- endif
- endif
+
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-25 13:37 ulf at uclibc.org
2007-09-25 16:06 ` vano
0 siblings, 1 reply; 134+ messages in thread
From: ulf at uclibc.org @ 2007-09-25 13:37 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-09-25 06:37:20 -0700 (Tue, 25 Sep 2007)
New Revision: 20019
Log:
Add soft-fp part of gcclib to uClibc to allow ARM softfloat to complete
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-soft-fp.patch
Changeset:
Sorry, the patch is too large to include (9163 lines).
Please use ViewCVS to see it!
http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=20019
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2007-09-25 13:37 ulf at uclibc.org
@ 2007-09-25 16:06 ` vano
2007-09-25 14:30 ` Ulf Samuelsson
0 siblings, 1 reply; 134+ messages in thread
From: vano @ 2007-09-25 16:06 UTC (permalink / raw)
To: buildroot
ulf at uclibc.org wrote:
> Author: ulf
> Date: 2007-09-25 06:37:20 -0700 (Tue, 25 Sep 2007)
> New Revision: 20019
>
> Log:
> Add soft-fp part of gcclib to uClibc to allow ARM softfloat to complete
>
Ulf, after svn up:
make[2]: Leaving directory
`/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-initial/gcc'
make[1]: Leaving directory
`/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-initial'
#rm -f /home/buildroot/build_arm/staging_dir/usr/bin/gccbug
/home/buildroot/build_arm/staging_dir/usr/bin/gcov
#rm -rf /home/buildroot/build_arm/staging_dir/usr/info
/home/buildroot/build_arm/staging_dir/usr/man
/home/buildroot/build_arm/staging_dir/usr/share/doc
/home/buildroot/build_arm/staging_dir/usr/share/locale
touch /home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-initial/.installed
/usr/bin/make MAKE="/usr/bin/make -j1" -C
/home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29 \
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
HOSTCC="/usr/bin/gcc" \
all
make[1]: Entering directory
`/home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29'
make[2]: `conf' is up to date.
/usr/bin/make -j1 locale_headers
make[3]: `conf' is up to date.
CC ldso/ldso/ldso.oS
AS ldso/ldso/arm/resolve.oS
STRIP -x -R .note -R .comment ldso/ldso/ld-uClibc_so.a
AR cr ldso/ldso/ld-uClibc_so.a
LD ld-uClibc-0.9.29.so
/home/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ld:
cannot find -lgcc
make[1]: *** [lib/ld-uClibc.so] Error 1
make[1]: Leaving directory
`/home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29'
make: ***
[/home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29/lib/libc.a] Error 2
--------
please confirm that your arm softfloat build with patch is successful.
Best regards,
Ivan
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2007-09-25 16:06 ` vano
@ 2007-09-25 14:30 ` Ulf Samuelsson
2007-09-25 16:47 ` vano
0 siblings, 1 reply; 134+ messages in thread
From: Ulf Samuelsson @ 2007-09-25 14:30 UTC (permalink / raw)
To: buildroot
tis 2007-09-25 klockan 15:06 -0100 skrev vano:
>
> ulf at uclibc.org wrote:
> > Author: ulf
> > Date: 2007-09-25 06:37:20 -0700 (Tue, 25 Sep 2007)
> > New Revision: 20019
> >
> > Log:
> > Add soft-fp part of gcclib to uClibc to allow ARM softfloat to complete
> >
>
> Ulf, after svn up:
>
> make[2]: Leaving directory
> `/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-initial/gcc'
> make[1]: Leaving directory
> `/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-initial'
> #rm -f /home/buildroot/build_arm/staging_dir/usr/bin/gccbug
> /home/buildroot/build_arm/staging_dir/usr/bin/gcov
> #rm -rf /home/buildroot/build_arm/staging_dir/usr/info
> /home/buildroot/build_arm/staging_dir/usr/man
> /home/buildroot/build_arm/staging_dir/usr/share/doc
> /home/buildroot/build_arm/staging_dir/usr/share/locale
> touch /home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-initial/.installed
> /usr/bin/make MAKE="/usr/bin/make -j1" -C
> /home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29 \
> PREFIX= \
> DEVEL_PREFIX=/ \
> RUNTIME_PREFIX=/ \
> HOSTCC="/usr/bin/gcc" \
> all
> make[1]: Entering directory
> `/home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29'
> make[2]: `conf' is up to date.
> /usr/bin/make -j1 locale_headers
> make[3]: `conf' is up to date.
> CC ldso/ldso/ldso.oS
> AS ldso/ldso/arm/resolve.oS
> STRIP -x -R .note -R .comment ldso/ldso/ld-uClibc_so.a
> AR cr ldso/ldso/ld-uClibc_so.a
> LD ld-uClibc-0.9.29.so
> /home/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ld:
> cannot find -lgcc
> make[1]: *** [lib/ld-uClibc.so] Error 1
> make[1]: Leaving directory
> `/home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29'
> make: ***
> [/home/buildroot/toolchain_build_arm_nofpu/uClibc-0.9.29/lib/libc.a] Error 2
>
It worked for me since I manually copied libgcc.a to another location.
I reran the build again after submitting, and discovered this
so I have already removed the part causing the problem from the patch
svn update to fix.
I still have a problem which pop up from time to time with libstdc++v3.
which fails, but at least the build goes a lot further.
>
> --------
>
> please confirm that your arm softfloat build with patch is successful.
>
> Best regards,
> Ivan
>
>
>
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2007-09-25 14:30 ` Ulf Samuelsson
@ 2007-09-25 16:47 ` vano
2007-09-25 16:14 ` Ulf Samuelsson
0 siblings, 1 reply; 134+ messages in thread
From: vano @ 2007-09-25 16:47 UTC (permalink / raw)
To: buildroot
Ulf Samuelsson wrote:
>
> It worked for me since I manually copied libgcc.a to another location.
> I reran the build again after submitting, and discovered this
> so I have already removed the part causing the problem from the patch
> svn update to fix.
>
> I still have a problem which pop up from time to time with libstdc++v3.
> which fails, but at least the build goes a lot further.
>
I have non CPP config , yeah build is going further and stopping in
configure step of arm-linux-uclibc/libmudflap:
make[3]: Leaving directory
`/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/gcc'
Checking multilib configuration for libmudflap...
mkdir -p -- arm-linux-uclibc/libmudflap
Configuring in arm-linux-uclibc/libmudflap
configure: creating cache ./config.cache
checking build system type... i386-pc-linux-gnu
checking host system type... arm-unknown-linux-uclibc
checking target system type... arm-unknown-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether /usr/bin/make sets $(MAKE)... yes
checking for arm-linux-uclibc-strip...
/home/buildroot/build_arm/staging_dir/usr/arm-linux-uclibc/bin/strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-uclibc-gcc...
/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/./gcc/xgcc
-B/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/./gcc/
-B/usr/arm-linux-uclibc/bin/ -B/usr/arm-linux-uclibc/lib/ -isystem
/usr/arm-linux-uclibc/include -isystem /usr/arm-linux-uclibc/sys-include
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-target-libmudflap] Error 1
make[2]: Leaving directory
`/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final'
make: ***
[/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/.compiled]
Error 2
BR,
Ivan
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2007-09-25 16:47 ` vano
@ 2007-09-25 16:14 ` Ulf Samuelsson
0 siblings, 0 replies; 134+ messages in thread
From: Ulf Samuelsson @ 2007-09-25 16:14 UTC (permalink / raw)
To: buildroot
tis 2007-09-25 klockan 15:47 -0100 skrev vano:
> Ulf Samuelsson wrote:
> >
> > It worked for me since I manually copied libgcc.a to another location.
> > I reran the build again after submitting, and discovered this
> > so I have already removed the part causing the problem from the patch
> > svn update to fix.
> >
> > I still have a problem which pop up from time to time with libstdc++v3.
> > which fails, but at least the build goes a lot further.
> >
>
> I have non CPP config , yeah build is going further and stopping in
> configure step of arm-linux-uclibc/libmudflap:
>
>
> make[3]: Leaving directory
> `/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/gcc'
> Checking multilib configuration for libmudflap...
> mkdir -p -- arm-linux-uclibc/libmudflap
> Configuring in arm-linux-uclibc/libmudflap
> configure: creating cache ./config.cache
> checking build system type... i386-pc-linux-gnu
> checking host system type... arm-unknown-linux-uclibc
> checking target system type... arm-unknown-linux-uclibc
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether /usr/bin/make sets $(MAKE)... yes
> checking for arm-linux-uclibc-strip...
> /home/buildroot/build_arm/staging_dir/usr/arm-linux-uclibc/bin/strip
> checking for --enable-version-specific-runtime-libs... no
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for arm-linux-uclibc-gcc...
> /home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/./gcc/xgcc
> -B/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/./gcc/
> -B/usr/arm-linux-uclibc/bin/ -B/usr/arm-linux-uclibc/lib/ -isystem
> /usr/arm-linux-uclibc/include -isystem /usr/arm-linux-uclibc/sys-include
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> make[2]: *** [configure-target-libmudflap] Error 1
> make[2]: Leaving directory
> `/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final'
> make: ***
> [/home/buildroot/toolchain_build_arm_nofpu/gcc-4.2.1-final/.compiled]
> Error 2
>
I think it is two sides of the same problem.
"configure" expects the arm-linux-uclibc-ld to create a good target,
but it doesn't.
It tries to link with crt1.o, which does not exist, and therefore the
build fails.
>
> BR,
> Ivan
>
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-24 12:19 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-09-24 12:19 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-09-24 05:19:41 -0700 (Mon, 24 Sep 2007)
New Revision: 19987
Log:
- do not enable LEGACY stuff in the *sample* config
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config 2007-09-24 10:41:30 UTC (rev 19986)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config 2007-09-24 12:19:41 UTC (rev 19987)
@@ -94,7 +94,7 @@
UCLIBC_DYNAMIC_ATEXIT=y
# COMPAT_ATEXIT is not set
# UCLIBC_SUSV3_LEGACY is not set
-UCLIBC_SUSV3_LEGACY_MACROS=y
+# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_HAS_SHADOW=y
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
UCLIBC_HAS___PROGNAME=y
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-09-24 10:41:30 UTC (rev 19986)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-09-24 12:19:41 UTC (rev 19987)
@@ -80,7 +80,7 @@
# COMPAT_ATEXIT is not set
HAS_SHADOW=y
# UCLIBC_SUSV3_LEGACY is not set
-UCLIBC_SUSV3_LEGACY_MACROS=y
+# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_HAS_SHADOW=y
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
UCLIBC_HAS___PROGNAME=y
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-09-22 16:40 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-09-22 16:40 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-09-22 09:40:08 -0700 (Sat, 22 Sep 2007)
New Revision: 19942
Log:
- default to 0.9.29
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-09-22 16:37:00 UTC (rev 19941)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-09-22 16:40:08 UTC (rev 19942)
@@ -5,7 +5,7 @@
choice
prompt "uClibc C library Version"
- default BR2_UCLIBC_VERSION_SNAPSHOT
+ default BR2_UCLIBC_VERSION_0_9_29
help
Select the version of uClibc you wish to use.
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-29 18:05 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-08-29 18:05 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-08-29 11:05:46 -0700 (Wed, 29 Aug 2007)
New Revision: 19733
Log:
- uclibc-configured has to depend on kernel-headers
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-29 15:54:33 UTC (rev 19732)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-29 18:05:46 UTC (rev 19733)
@@ -313,7 +313,7 @@
oldconfig
touch $@
-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
+$(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured $(UCLIBC_DIR)/.config
set -x && $(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-26 20:55 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-08-26 20:55 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-08-26 13:55:02 -0700 (Sun, 26 Aug 2007)
New Revision: 19703
Log:
- improve handling of sh (fgretief) for bug #1446
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-26 20:47:18 UTC (rev 19702)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-26 20:55:02 UTC (rev 19703)
@@ -73,7 +73,7 @@
-e 's/arm/LITTLE/' \
-e 's/mipsel/LITTLE/' \
-e 's/mips/BIG/' \
- -e 's/sh[234]eb/BIG/' \
+ -e 's/sh[234].*eb/BIG/' \
-e 's/sh[234]/LITTLE/' \
")
@@ -146,6 +146,38 @@
/bin/echo "# CONFIG_ARM_EABI is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
endif
+ifeq ($(UCLIBC_TARGET_ARCH),sh)
+ /bin/echo "# CONFIG_SH2A is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_SH2 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_SH3 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_SH4 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ifeq ($(BR2_sh2a_nofpueb),y)
+ $(SED) 's,# CONFIG_SH2A is not set,CONFIG_SH2A=y,g' $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_FDPIC_ELF is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_FLAT is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_FLAT_SEP_DATA is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_SHARED_FLAT is not set" >> $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_sh2eb),y)
+ $(SED) 's,# CONFIG_SH2 is not set,CONFIG_SH2=y,g' $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_FDPIC_ELF is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_FLAT is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_FLAT_SEP_DATA is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# UCLIBC_FORMAT_SHARED_FLAT is not set" >> $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_sh3eb),y)
+ $(SED) 's,# CONFIG_SH3 is not set,CONFIG_SH3=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_sh3),y)
+ $(SED) 's,# CONFIG_SH3 is not set,CONFIG_SH3=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_sh4eb),y)
+ $(SED) 's,# CONFIG_SH4 is not set,CONFIG_SH4=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+ifeq ($(BR2_sh4),y)
+ $(SED) 's,# CONFIG_SH4 is not set,CONFIG_SH4=y,g' $(UCLIBC_DIR)/.oldconfig
+endif
+endif
ifneq ($(UCLIBC_TARGET_ENDIAN),)
# The above doesn't work for me, so redo
$(SED) 's/.*\(ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-26 20:40 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-08-26 20:40 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-08-26 13:40:31 -0700 (Sun, 26 Aug 2007)
New Revision: 19701
Log:
- use the correct type (__u_long is correct, __ulong_t is not typed)
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-08-26 18:23:13 UTC (rev 19700)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-08-26 20:40:31 UTC (rev 19701)
@@ -84,7 +84,7 @@
+ fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
+#else
+ return __syscall_mmap2(addr, len, prot, flags,
-+ fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT));
++ fd,((__u_long)offset >> MMAP2_PAGE_SHIFT));
+#endif
}
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-21 8:05 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 8:05 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-08-21 01:05:40 -0700 (Tue, 21 Aug 2007)
New Revision: 19599
Log:
- SH endian setting (fgretief in bug #1446)
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-21 01:53:57 UTC (rev 19598)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-21 08:05:40 UTC (rev 19599)
@@ -73,6 +73,8 @@
-e 's/arm/LITTLE/' \
-e 's/mipsel/LITTLE/' \
-e 's/mips/BIG/' \
+ -e 's/sh[234]eb/BIG/' \
+ -e 's/sh[234]/LITTLE/' \
")
ifneq ($(UCLIBC_TARGET_ENDIAN),LITTLE)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-16 5:01 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-08-16 5:01 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-15 22:01:43 -0700 (Wed, 15 Aug 2007)
New Revision: 19522
Log:
Use SED instead of ECHO when config 'program_invocation_name'
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-15 22:35:26 UTC (rev 19521)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-16 05:01:43 UTC (rev 19522)
@@ -230,9 +230,9 @@
$(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_UCLIBC_PROGRAM_INVOCATION),y)
- echo "UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y" >> $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's,^.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*,UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y,g' $(UCLIBC_DIR)/.oldconfig
else
- echo "# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set" >> $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's,^.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*,UCLIBC_HAS_PROGRAM_INVOCATION_NAME=n,g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ("$(KERNEL_ARCH)","i386")
/bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-14 7:07 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-08-14 7:07 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-14 00:07:13 -0700 (Tue, 14 Aug 2007)
New Revision: 19500
Log:
Fix continous remake's of uClibc, Save .config to .oldconfig before 'conf', cleanup ARM config to avoid stop during build
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-14 06:28:01 UTC (rev 19499)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-14 07:07:13 UTC (rev 19500)
@@ -86,6 +86,9 @@
UCLIBC_NOT_TARGET_ENDIAN:=LITTLE
endif
+ARM_CONFIG:=CONFIG_$(strip $(subst ",, $(BR2_ARM_TYPE)))
+#"))
+
$(DL_DIR)/$(UCLIBC_SOURCE):
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
@@ -117,8 +120,8 @@
touch $@
# Some targets may wish to provide their own UCLIBC_CONFIG_FILE...
-$(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.unpacked $(UCLIBC_CONFIG_FILE)
- cp -f $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.config
+$(UCLIBC_DIR)/.oldconfig: $(UCLIBC_DIR)/.unpacked $(UCLIBC_CONFIG_FILE)
+ cp -f $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.oldconfig
$(SED) 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="$(TARGET_CROSS)",g' \
-e 's,# TARGET_$(UCLIBC_TARGET_ARCH) is not set,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \
-e 's,^TARGET_ARCH="none",TARGET_ARCH=\"$(UCLIBC_TARGET_ARCH)\",g' \
@@ -127,143 +130,139 @@
-e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \
-e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
-e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
- $(UCLIBC_DIR)/.config
+ $(UCLIBC_DIR)/.oldconfig
ifeq ($(UCLIBC_TARGET_ARCH),arm)
$(SED) 's/^\(CONFIG_[^_]*[_]*ARM[^=]*\)=.*/# \1 is not set/g' \
- $(UCLIBC_DIR)/.config
- /bin/echo "CONFIG_$(BR2_ARM_TYPE)=y" >> \
- $(UCLIBC_DIR)/.config
+ $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's/^.*$(ARM_CONFIG).*/$(ARM_CONFIG)=y/g' $(UCLIBC_DIR)/.oldconfig
ifeq ($(BR2_ARM_EABI),y)
- /bin/echo "# CONFIG_ARM_OABI is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "CONFIG_ARM_EABI=y" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_ARM_OABI is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "CONFIG_ARM_EABI=y" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_ARM_OABI),y)
- /bin/echo "CONFIG_ARM_OABI=y" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_ARM_EABI is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "CONFIG_ARM_OABI=y" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_ARM_EABI is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
-ifeq ($(BR2_generic_arm),y)
- $(SED) 's,^.*CONFIG_GENERIC_ARM.*,CONFIG_GENERIC_ARM=y,g' $(UCLIBC_DIR)/.config
-else
- $(SED) 's,^.*CONFIG_GENERIC_ARM.*,# CONFIG_GENERIC_ARM is not set,g' $(UCLIBC_DIR)/.config
endif
-endif
ifneq ($(UCLIBC_TARGET_ENDIAN),)
# The above doesn't work for me, so redo
$(SED) 's/.*\(ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
-e 's/.*\(ARCH_WANTS_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
-e 's/.*\(ARCH_$(UCLIBC_TARGET_ENDIAN)_ENDIAN\).*/\1=y/g' \
-e 's/.*\(ARCH_WANTS_$(UCLIBC_TARGET_ENDIAN)_ENDIAN\).*/\1=y/g' \
- $(UCLIBC_DIR)/.config
+ $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_LARGEFILE),y)
- $(SED) 's,.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' $(UCLIBC_DIR)/.oldconfig
else
- $(SED) 's,.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=n,g' $(UCLIBC_DIR)/.config
- $(SED) '/.*UCLIBC_HAS_FOPEN_LARGEFILE_MODE.*/d' $(UCLIBC_DIR)/.config
- echo "# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set" >> $(UCLIBC_DIR)/.config
+ $(SED) 's,.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=n,g' $(UCLIBC_DIR)/.oldconfig
+ $(SED) '/.*UCLIBC_HAS_FOPEN_LARGEFILE_MODE.*/d' $(UCLIBC_DIR)/.oldconfig
+ echo "# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_INET_IPV6),y)
- $(SED) 's,^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=y,g' $(UCLIBC_DIR)/.oldconfig
else
- $(SED) 's,^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=n,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=n,g' $(UCLIBC_DIR)/.oldconfig
endif
-ifeq ($(BR2_USE_WCHAR),y)
- $(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
-else
- $(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.config
-endif
-
ifeq ($(BR2_INET_RPC),y)
$(SED) 's,^.*UCLIBC_HAS_RPC.*,UCLIBC_HAS_RPC=y,g' \
-e 's,^.*UCLIBC_HAS_FULL_RPC.*,UCLIBC_HAS_FULL_RPC=y,g' \
-e 's,^.*UCLIBC_HAS_REENTRANT_RPC.*,UCLIBC_HAS_REENTRANT_RPC=y,g' \
- $(UCLIBC_DIR)/.config
+ $(UCLIBC_DIR)/.oldconfig
else
$(SED) 's,^.*UCLIBC_HAS_RPC.*,UCLIBC_HAS_RPC=n,g' \
-e 's,^.*UCLIBC_HAS_FULL_RPC.*,UCLIBC_HAS_FULL_RPC=n,g' \
-e 's,^.*UCLIBC_HAS_REENTRANT_RPC.*,UCLIBC_HAS_REENTRANT_RPC=n,g' \
- $(UCLIBC_DIR)/.config
+ $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_SOFT_FLOAT),y)
$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n,g' \
-e 's,^[^_]*HAS_FPU.*,HAS_FPU=n,g' \
-e 's,.*UCLIBC_HAS_FLOATS.*,UCLIBC_HAS_FLOATS=y,g' \
-e 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' \
- $(UCLIBC_DIR)/.config
- #$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n\nHAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config
+ $(UCLIBC_DIR)/.oldconfig
+ #$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n\nHAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.oldconfig
else
$(SED) '/UCLIBC_HAS_FLOATS/d' \
-e 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=y\nHAS_FPU=y\nUCLIBC_HAS_FLOATS=y\n,g' \
- $(UCLIBC_DIR)/.config
+ $(UCLIBC_DIR)/.oldconfig
endif
- $(SED) '/UCLIBC_HAS_THREADS/d' $(UCLIBC_DIR)/.config
- $(SED) '/LINUXTHREADS/d' $(UCLIBC_DIR)/.config
- $(SED) '/LINUXTHREADS_OLD/d' $(UCLIBC_DIR)/.config
- $(SED) '/PTHREADS_DEBUG_SUPPORT/d' $(UCLIBC_DIR)/.config
- $(SED) '/UCLIBC_HAS_THREADS_NATIVE/d' $(UCLIBC_DIR)/.config
+ $(SED) '/UCLIBC_HAS_THREADS/d' $(UCLIBC_DIR)/.oldconfig
+ $(SED) '/LINUXTHREADS/d' $(UCLIBC_DIR)/.oldconfig
+ $(SED) '/LINUXTHREADS_OLD/d' $(UCLIBC_DIR)/.oldconfig
+ $(SED) '/PTHREADS_DEBUG_SUPPORT/d' $(UCLIBC_DIR)/.oldconfig
+ $(SED) '/UCLIBC_HAS_THREADS_NATIVE/d' $(UCLIBC_DIR)/.oldconfig
ifeq ($(BR2_PTHREADS_NONE),y)
- echo "# UCLIBC_HAS_THREADS is not set" >> $(UCLIBC_DIR)/.config
+ echo "# UCLIBC_HAS_THREADS is not set" >> $(UCLIBC_DIR)/.oldconfig
else
- echo "UCLIBC_HAS_THREADS=y" >> $(UCLIBC_DIR)/.config
+ echo "UCLIBC_HAS_THREADS=y" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_PTHREADS),y)
- echo "LINUXTHREADS=y" >> $(UCLIBC_DIR)/.config
+ echo "LINUXTHREADS=y" >> $(UCLIBC_DIR)/.oldconfig
else
- echo "# LINUXTHREADS is not set" >> $(UCLIBC_DIR)/.config
+ echo "# LINUXTHREADS is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_PTHREADS_OLD),y)
- echo "LINUXTHREADS_OLD=y" >> $(UCLIBC_DIR)/.config
+ echo "LINUXTHREADS_OLD=y" >> $(UCLIBC_DIR)/.oldconfig
else
- echo "# LINUXTHREADS_OLD is not set" >> $(UCLIBC_DIR)/.config
+ echo "# LINUXTHREADS_OLD is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_PTHREADS_NATIVE),y)
- echo "UCLIBC_HAS_THREADS_NATIVE=y" >> $(UCLIBC_DIR)/.config
+ echo "UCLIBC_HAS_THREADS_NATIVE=y" >> $(UCLIBC_DIR)/.oldconfig
else
- echo "# UCLIBC_HAS_THREADS_NATIVE is not set" >> $(UCLIBC_DIR)/.config
+ echo "# UCLIBC_HAS_THREADS_NATIVE is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_PTHREAD_DEBUG),y)
- echo "PTHREADS_DEBUG_SUPPORT=y" >> $(UCLIBC_DIR)/.config
+ echo "PTHREADS_DEBUG_SUPPORT=y" >> $(UCLIBC_DIR)/.oldconfig
else
- echo "# PTHREADS_DEBUG_SUPPORT is not set" >> $(UCLIBC_DIR)/.config
+ echo "# PTHREADS_DEBUG_SUPPORT is not set" >> $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_ENABLE_LOCALE),y)
- $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config
- $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.oldconfig
else
- $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.config
- $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.oldconfig
+ $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.oldconfig
endif
+ifeq ($(BR2_USE_WCHAR),y)
+ $(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.oldconfig
+else
+ $(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.oldconfig
+endif
ifeq ("$(KERNEL_ARCH)","i386")
- /bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_486 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_586 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_586MMX is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_686 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_PENTIUMII is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_PENTIUMIII is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_PENTIUM4 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_K6 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_K7 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_ELAN is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_CRUSOE is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_WINCHIPC6 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_WINCHIP2 is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_CYRIXIII is not set" >> $(UCLIBC_DIR)/.config
- /bin/echo "# CONFIG_NEHEMIAH is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_486 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_586 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_586MMX is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_686 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_PENTIUMII is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_PENTIUMIII is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_PENTIUM4 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_K6 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_K7 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_ELAN is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_CRUSOE is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_WINCHIPC6 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_WINCHIP2 is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_CYRIXIII is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_NEHEMIAH is not set" >> $(UCLIBC_DIR)/.oldconfig
ifeq ($(BR2_x86_i386),y)
- $(SED) 's,# CONFIG_386 is not set,CONFIG_386=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,# CONFIG_386 is not set,CONFIG_386=y,g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_x86_i486),y)
- $(SED) 's,# CONFIG_486 is not set,CONFIG_486=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,# CONFIG_486 is not set,CONFIG_486=y,g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_x86_i586),y)
- $(SED) 's,# CONFIG_586 is not set,CONFIG_586=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,# CONFIG_586 is not set,CONFIG_586=y,g' $(UCLIBC_DIR)/.oldconfig
endif
ifeq ($(BR2_x86_i686),y)
- $(SED) 's,# CONFIG_686 is not set,CONFIG_686=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,# CONFIG_686 is not set,CONFIG_686=y,g' $(UCLIBC_DIR)/.oldconfig
endif
endif
+
+$(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.oldconfig
+ cp -f $(UCLIBC_DIR)/.oldconfig $(UCLIBC_DIR)/.config
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
@@ -371,7 +370,7 @@
install_runtime
touch -c $@
-$(TARGET_DIR)/usr/bin/ldd: gcc
+$(TARGET_DIR)/usr/bin/ldd: $(TARGET_CROSS)gcc
$(MAKE1) -C $(UCLIBC_DIR) CC=$(TARGET_CROSS)gcc \
CPP=$(TARGET_CROSS)cpp LD=$(TARGET_CROSS)ld \
PREFIX=$(TARGET_DIR) utils install_utils
@@ -389,8 +388,10 @@
uclibc-source: $(DL_DIR)/$(UCLIBC_SOURCE)
-uclibc-config: $(UCLIBC_DIR)/.config
+uclibc-config: host-sed $(UCLIBC_DIR)/.config
+uclibc-oldconfig: host-sed $(UCLIBC_DIR)/.oldconfig
+
uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
uclibc-configured-source: uclibc-source
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-12 12:37 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-08-12 12:37 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-12 05:37:51 -0700 (Sun, 12 Aug 2007)
New Revision: 19460
Log:
Whitespace cleanup of uclibc, remove debug aid
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-12 12:05:55 UTC (rev 19459)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-12 12:37:51 UTC (rev 19460)
@@ -34,14 +34,14 @@
endif
UCLIBC_SITE:=http://www.uclibc.org/downloads
-ifeq ($(BR2_TOOLCHAIN_NORMAL),)
+ifeq ($(BR2_TOOLCHAIN_NORMAL),)
UCLIBC_SITE:=$(VENDOR_SITE)
endif
UCLIBC_OFFICIAL_VERSION:=$(UCLIBC_VER)$(VENDOR_SUFFIX)$(VENDOR_UCLIBC_RELEASE)
-ifeq ($(BR2_TOOLCHAIN_NORMAL),y)
+ifeq ($(BR2_TOOLCHAIN_NORMAL),y)
UCLIBC_PATCH_DIR:=toolchain/uClibc/
else
UCLIBC_PATCH_DIR:=$(VENDOR_PATCH_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
@@ -53,7 +53,8 @@
UCLIBC_CAT:=$(BZCAT)
-UCLIBC_TARGET_ARCH:=$(shell $(SHELL) -c "echo $(ARCH) | sed -e s'/-.*//' \
+UCLIBC_TARGET_ARCH:=$(shell $(SHELL) -c "echo $(ARCH) | sed \
+ -e 's/-.*//' \
-e 's/i.86/i386/' \
-e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/g' \
@@ -140,7 +141,12 @@
/bin/echo "CONFIG_ARM_OABI=y" >> $(UCLIBC_DIR)/.config
/bin/echo "# CONFIG_ARM_EABI is not set" >> $(UCLIBC_DIR)/.config
endif
+ifeq ($(BR2_generic_arm),y)
+ $(SED) 's,^.*CONFIG_GENERIC_ARM.*,CONFIG_GENERIC_ARM=y,g' $(UCLIBC_DIR)/.config
+else
+ $(SED) 's,^.*CONFIG_GENERIC_ARM.*,# CONFIG_GENERIC_ARM is not set,g' $(UCLIBC_DIR)/.config
endif
+endif
ifneq ($(UCLIBC_TARGET_ENDIAN),)
# The above doesn't work for me, so redo
$(SED) 's/.*\(ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
@@ -261,9 +267,6 @@
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
- touch $@
-
-$(UCLIBC_DIR)/.oldconfig: $(UCLIBC_DIR)/.config
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
@@ -272,7 +275,7 @@
oldconfig
touch $@
-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.oldconfig
+$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
set -x && $(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
@@ -388,8 +391,6 @@
uclibc-config: $(UCLIBC_DIR)/.config
-uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
-
uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
uclibc-configured-source: uclibc-source
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-01 19:13 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-08-01 19:13 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-01 12:13:18 -0700 (Wed, 01 Aug 2007)
New Revision: 19392
Log:
Avoid stopping asking questions, when gettext is selected
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-08-01 15:52:57 UTC (rev 19391)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-08-01 19:13:18 UTC (rev 19392)
@@ -148,6 +148,7 @@
UCLIBC_HAS_SIGNUM_MESSAGES=y
# UCLIBC_HAS_SYS_SIGLIST is not set
UCLIBC_HAS_GNU_GETOPT=y
+# UCLIBC_HAS_GETTEXT_AWARENESS is not set
UCLIBC_HAS_GNU_GETSUBOPT=y
#
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-08-01 12:11 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-08-01 12:11 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-01 05:11:44 -0700 (Wed, 01 Aug 2007)
New Revision: 19390
Log:
Sort uclibc artificial targets in execution order
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-01 11:54:47 UTC (rev 19389)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-08-01 12:11:44 UTC (rev 19390)
@@ -382,17 +382,16 @@
UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
endif
-uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
+uclibc: $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc $(STAGING_DIR)/usr/lib/libc.a $(UCLIBC_TARGETS)
+uclibc-source: $(DL_DIR)/$(UCLIBC_SOURCE)
+
uclibc-config: $(UCLIBC_DIR)/.config
uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
+uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
-uclibc: $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc $(STAGING_DIR)/usr/lib/libc.a $(UCLIBC_TARGETS)
-
-uclibc-source: $(DL_DIR)/$(UCLIBC_SOURCE)
-
uclibc-configured-source: uclibc-source
uclibc-clean:
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-30 18:23 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-07-30 18:23 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-30 11:23:47 -0700 (Mon, 30 Jul 2007)
New Revision: 19349
Log:
Revert bad commit, sorry about that\!
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-30 18:17:13 UTC (rev 19348)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-30 18:23:47 UTC (rev 19349)
@@ -252,7 +252,6 @@
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
-
touch $@
$(UCLIBC_DIR)/.oldconfig: $(UCLIBC_DIR)/.config
@@ -374,7 +373,7 @@
UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
endif
-uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured
+uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
uclibc-config: $(UCLIBC_DIR)/.config
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-29 17:47 ulf at uclibc.org
2007-07-30 7:36 ` Bernhard Fischer
0 siblings, 1 reply; 134+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:47 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-29 10:47:27 -0700 (Sun, 29 Jul 2007)
New Revision: 19333
Log:
Add AVR32 support to uClibc
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-29 17:43:50 UTC (rev 19332)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-29 17:47:27 UTC (rev 19333)
@@ -31,12 +31,17 @@
ifeq ($(BR2_UCLIBC_VERSION_0_9_28),y)
UCLIBC_VER:=0.9.28
endif
+UCLIBC_SITE:=http://www.uclibc.org/downloads
-UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)
-UCLIBC_SOURCE:=uClibc-$(UCLIBC_VER).tar.bz2
-UCLIBC_SITE:=http://www.uclibc.org/downloads
+ifeq ($(BR2_avr32),y)
+VENDOR_SUFFIX:=-avr32
+UCLIBC_SITE:=$(BR2_ATMEL_MIRROR)/Source
endif
+UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)$(VENDOR_SUFFIX)
+UCLIBC_SOURCE:=uClibc-$(UCLIBC_VER)$(VENDOR_SUFFIX).tar.bz2
+endif
+
UCLIBC_CAT:=$(BZCAT)
UCLIBC_TARGET_ARCH:=$(shell $(SHELL) -c "echo $(ARCH) | sed -e s'/-.*//' \
@@ -92,7 +97,7 @@
rm -rf $(UCLIBC_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
- toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)-\*.patch
+ toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)$(VENDOR_SUFFIX)-\*.patch
else
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc.\*.patch
endif
@@ -147,6 +152,12 @@
else
$(SED) 's,^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=n,g' $(UCLIBC_DIR)/.config
endif
+ifeq ($(BR2_USE_WCHAR),y)
+ $(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
+else
+ $(SED) 's,^.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=n,g' $(UCLIBC_DIR)/.config
+endif
+
ifeq ($(BR2_INET_RPC),y)
$(SED) 's,^.*UCLIBC_HAS_RPC.*,UCLIBC_HAS_RPC=y,g' \
-e 's,^.*UCLIBC_HAS_FULL_RPC.*,UCLIBC_HAS_FULL_RPC=y,g' \
@@ -241,15 +252,19 @@
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
+
+ touch $@
+
+$(UCLIBC_DIR)/.oldconfig: $(UCLIBC_DIR)/.config
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" \
oldconfig
- touch -c $@
+ touch $@
-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
+$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.oldconfig
set -x && $(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
@@ -359,9 +374,13 @@
UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
endif
-uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
+uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured
+uclibc-config: $(UCLIBC_DIR)/.config
+uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
+
+
uclibc: $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc $(STAGING_DIR)/usr/lib/libc.a $(UCLIBC_TARGETS)
uclibc-source: $(DL_DIR)/$(UCLIBC_SOURCE)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2007-07-29 17:47 ulf at uclibc.org
@ 2007-07-30 7:36 ` Bernhard Fischer
2007-07-30 14:34 ` Ulf Samuelsson
0 siblings, 1 reply; 134+ messages in thread
From: Bernhard Fischer @ 2007-07-30 7:36 UTC (permalink / raw)
To: buildroot
On Sun, Jul 29, 2007 at 10:47:28AM -0700, ulf at uclibc.org wrote:
>Author: ulf
>Date: 2007-07-29 10:47:27 -0700 (Sun, 29 Jul 2007)
>New Revision: 19333
>
>Log:
>Add AVR32 support to uClibc
>
>Modified:
> trunk/buildroot/toolchain/uClibc/uclibc.mk
>
>
>Changeset:
>Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
>===================================================================
>--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-29 17:43:50 UTC (rev 19332)
>+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-29 17:47:27 UTC (rev 19333)
[snip utterly ugly VENDOR specific stuff]
>@@ -241,15 +252,19 @@
> mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
> mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
> mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
>+
>+ touch $@
>+
Please explain the need for the empty line above (and remove it).
>+$(UCLIBC_DIR)/.oldconfig: $(UCLIBC_DIR)/.config
> $(MAKE1) -C $(UCLIBC_DIR) \
> PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
> DEVEL_PREFIX=/usr/ \
> RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
> HOSTCC="$(HOSTCC)" \
> oldconfig
>- touch -c $@
>+ touch $@
>
>-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
>+$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.oldconfig
> set -x && $(MAKE1) -C $(UCLIBC_DIR) \
> PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
> DEVEL_PREFIX=/usr/ \
>@@ -359,9 +374,13 @@
> UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
> endif
>
>-uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
>+uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured
NO! I removed this "dependencies" on purpose. Ulf, you keep reverting
fixes. Please explain in detail why you did this.
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2007-07-30 7:36 ` Bernhard Fischer
@ 2007-07-30 14:34 ` Ulf Samuelsson
0 siblings, 0 replies; 134+ messages in thread
From: Ulf Samuelsson @ 2007-07-30 14:34 UTC (permalink / raw)
To: buildroot
----- Original Message -----
From: "Bernhard Fischer" <rep.dot.nop@gmail.com>
To: <buildroot@uclibc.org>
Cc: <ulf@atmel.com>
Sent: Monday, July 30, 2007 9:36 AM
Subject: Re: [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
> On Sun, Jul 29, 2007 at 10:47:28AM -0700, ulf at uclibc.org wrote:
>>Author: ulf
>>Date: 2007-07-29 10:47:27 -0700 (Sun, 29 Jul 2007)
>>New Revision: 19333
>>
>>Log:
>>Add AVR32 support to uClibc
>>
>>Modified:
>> trunk/buildroot/toolchain/uClibc/uclibc.mk
>>
>>
>>Changeset:
>>Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
>>===================================================================
>>--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-29 17:43:50 UTC (rev 19332)
>>+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-29 17:47:27 UTC (rev 19333)
>
> [snip utterly ugly VENDOR specific stuff]
>
>>@@ -241,15 +252,19 @@
>> mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
>> mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
>> mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
>>+
>>+ touch $@
>>+
>
> Please explain the need for the empty line above (and remove it).
>
>>+$(UCLIBC_DIR)/.oldconfig: $(UCLIBC_DIR)/.config
>> $(MAKE1) -C $(UCLIBC_DIR) \
>> PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
>> DEVEL_PREFIX=/usr/ \
>> RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
>> HOSTCC="$(HOSTCC)" \
>> oldconfig
>>- touch -c $@
>>+ touch $@
>>
>>-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
>>+$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.oldconfig
>> set -x && $(MAKE1) -C $(UCLIBC_DIR) \
>> PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
>> DEVEL_PREFIX=/usr/ \
>>@@ -359,9 +374,13 @@
>> UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
>> endif
>>
>>-uclibc-configured: kernel-headers $(UCLIBC_DIR)/.configured
>>+uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured
>
> NO! I removed this "dependencies" on purpose. Ulf, you keep reverting
> fixes. Please explain in detail why you did this.
>
Sorry about that.
I am trying to migrate an AVR32 specific buildroot to mainstream.
I did not do that so I am not 100% sure of all the differences.
Where there are differences, I could sometimes see that this
is due to old stuff, but some stuff looked to be additions
by the AVR32 team.
Obvsiously that has introduced some mistakes which I will remove ASAP.
BTW: If you are still interested in an AVR32 Gateway, I now have one spare.
Pls resend your address if that is the case.
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-29 17:40 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:40 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-29 10:40:42 -0700 (Sun, 29 Jul 2007)
New Revision: 19331
Log:
uClibc config for AVR32
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-07-29 17:36:45 UTC (rev 19330)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-07-29 17:40:42 UTC (rev 19331)
@@ -14,13 +14,15 @@
bool "uClibc 0.9.28"
config BR2_UCLIBC_VERSION_0_9_28_3
- depends BR2_DEPRECATED
+ depends BR2_avr32 || BR2_DEPRECATED
bool "uClibc 0.9.28.3"
config BR2_UCLIBC_VERSION_0_9_29
+ depends !BR2_avr32
bool "uClibc 0.9.29"
config BR2_UCLIBC_VERSION_SNAPSHOT
+ depends !BR2_avr32
bool "daily snapshot"
endchoice
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-29 17:32 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:32 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-29 10:32:21 -0700 (Sun, 29 Jul 2007)
New Revision: 19328
Log:
Add AVR32 needs to uClibc def config
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-29 14:59:06 UTC (rev 19327)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-29 17:32:21 UTC (rev 19328)
@@ -3,6 +3,7 @@
#
# TARGET_alpha is not set
# TARGET_arm is not set
+# TARGET_avr32 is not set
# TARGET_bfin is not set
# TARGET_cris is not set
# TARGET_e1 is not set
@@ -52,8 +53,10 @@
#
# HAVE_NO_PIC is not set
DOPIC=y
+# LINKRELAX is not set
# HAVE_NO_SHARED is not set
# ARCH_HAS_NO_LDSO is not set
+BUILD_UCLIBC_LDSO=y
HAVE_SHARED=y
# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
LDSO_LDD_SUPPORT=y
@@ -62,6 +65,7 @@
LDSO_BASE_FILENAME="ld.so"
# UCLIBC_STATIC_LDCONFIG is not set
# 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
@@ -74,6 +78,7 @@
MALLOC_GLIBC_COMPAT=y
UCLIBC_DYNAMIC_ATEXIT=y
# COMPAT_ATEXIT is not set
+HAS_SHADOW=y
# UCLIBC_SUSV3_LEGACY is not set
UCLIBC_SUSV3_LEGACY_MACROS=y
UCLIBC_HAS_SHADOW=y
@@ -165,8 +170,9 @@
DEVEL_PREFIX="/usr/"
#
-# Security options
+# uClibc security related options
#
+# UCLIBC_SECURITY is not set
# UCLIBC_BUILD_PIE is not set
# UCLIBC_HAS_ARC4RANDOM is not set
# HAVE_NO_SSP is not set
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-23 11:32 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-07-23 11:32 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-07-23 04:32:09 -0700 (Mon, 23 Jul 2007)
New Revision: 19217
Log:
- add missing dependency
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-23 11:29:38 UTC (rev 19216)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-23 11:32:09 UTC (rev 19217)
@@ -345,7 +345,7 @@
install_runtime
touch -c $@
-$(TARGET_DIR)/usr/bin/ldd:
+$(TARGET_DIR)/usr/bin/ldd: gcc
$(MAKE1) -C $(UCLIBC_DIR) CC=$(TARGET_CROSS)gcc \
CPP=$(TARGET_CROSS)cpp LD=$(TARGET_CROSS)ld \
PREFIX=$(TARGET_DIR) utils install_utils
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-20 10:49 ulf at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: ulf at uclibc.org @ 2007-07-20 10:49 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-20 03:49:46 -0700 (Fri, 20 Jul 2007)
New Revision: 19174
Log:
Add uclibc wchar default configuration
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-wchar.config 2007-07-20 10:49:46 UTC (rev 19174)
@@ -0,0 +1,215 @@
+#
+# Automatically generated make config: don't edit
+# Tue Jul 17 02:34:41 2007
+#
+# TARGET_alpha is not set
+TARGET_arm=y
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# 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 is not set
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+# TARGET_powerpc is not set
+# TARGET_sh is not set
+# 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
+#
+TARGET_ARCH="arm"
+FORCE_OPTIONS_FOR_ARCH=y
+CONFIG_ARM_OABI=y
+# CONFIG_ARM_EABI is not set
+CONFIG_GENERIC_ARM=y
+# 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
+TARGET_SUBARCH=""
+
+#
+# Using ELF file format
+#
+ARCH_ANY_ENDIAN=y
+ARCH_LITTLE_ENDIAN=y
+# ARCH_WANTS_BIG_ENDIAN is not set
+ARCH_WANTS_LITTLE_ENDIAN=y
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+UCLIBC_HAS_FLOATS=y
+UCLIBC_HAS_FPU=y
+DO_C99_MATH=y
+KERNEL_HEADERS="/home/ulf/projects/Buildroot/20070712/buildroot/toolchain_build_arm/linux/include"
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# HAVE_NO_SHARED is not set
+# ARCH_HAS_NO_LDSO is not set
+HAVE_SHARED=y
+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
+LDSO_LDD_SUPPORT=y
+LDSO_CACHE_SUPPORT=y
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+LDSO_BASE_FILENAME="ld.so"
+# UCLIBC_STATIC_LDCONFIG is not set
+# LDSO_RUNPATH 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
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+MALLOC_GLIBC_COMPAT=y
+UCLIBC_DYNAMIC_ATEXIT=y
+# COMPAT_ATEXIT is not set
+# UCLIBC_SUSV3_LEGACY is not set
+UCLIBC_SUSV3_LEGACY_MACROS=y
+UCLIBC_HAS_SHADOW=y
+# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
+UCLIBC_HAS___PROGNAME=y
+# UNIX98PTY_ONLY is not set
+ASSUME_DEVPTS=y
+UCLIBC_HAS_TM_EXTENSIONS=y
+UCLIBC_HAS_TZ_CACHING=y
+UCLIBC_HAS_TZ_FILE=y
+UCLIBC_HAS_TZ_FILE_READ_MANY=y
+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
+#
+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 is not set
+UCLIBC_HAS_CTYPE_CHECKED=y
+# UCLIBC_HAS_CTYPE_ENFORCED is not set
+UCLIBC_HAS_WCHAR=y
+UCLIBC_HAS_LOCALE=y
+UCLIBC_PREGENERATED_LOCALE_DATA=y
+UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y
+# UCLIBC_HAS_XLOCALE is not set
+UCLIBC_HAS_HEXADECIMAL_FLOATS=y
+# UCLIBC_HAS_GLIBC_DIGIT_GROUPING is not set
+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+UCLIBC_HAS_STDIO_BUFSIZ_4096=y
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+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_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=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=y
+
+#
+# Big and Tall
+#
+UCLIBC_HAS_REGEX=y
+UCLIBC_HAS_REGEX_OLD=y
+UCLIBC_HAS_FNMATCH=y
+UCLIBC_HAS_FNMATCH_OLD=y
+# UCLIBC_HAS_WORDEXP is not set
+UCLIBC_HAS_FTW=y
+UCLIBC_HAS_GLOB=y
+UCLIBC_HAS_GNU_GLOB=y
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="/lib"
+RUNTIME_PREFIX="/"
+DEVEL_PREFIX="/usr/"
+
+#
+# Security options
+#
+# UCLIBC_BUILD_PIE is not set
+# UCLIBC_HAS_ARC4RANDOM is not set
+# HAVE_NO_SSP is not set
+# UCLIBC_HAS_SSP is not set
+UCLIBC_BUILD_RELRO=y
+UCLIBC_BUILD_NOW=y
+# UCLIBC_BUILD_NOEXECSTACK is not set
+
+#
+# uClibc development/debugging options
+#
+CROSS_COMPILER_PREFIX="/usr/local/arm/gcc-4.2.0-uclibc-20070714/usr/bin/arm-linux-uclibc-"
+UCLIBC_EXTRA_CFLAGS=""
+# DODEBUG is not set
+# DODEBUG_PT is not set
+DOSTRIP=y
+# 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
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-08 12:05 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 12:05 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-07-08 05:05:03 -0700 (Sun, 08 Jul 2007)
New Revision: 19031
Log:
- provide default for vfprintf
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-08 12:04:34 UTC (rev 19030)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-08 12:05:03 UTC (rev 19031)
@@ -117,6 +117,7 @@
# UCLIBC_HAS_LOCALE is not set
UCLIBC_HAS_HEXADECIMAL_FLOATS=y
UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+# USE_OLD_VFPRINTF is not set
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-07 23:54 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-07-07 23:54 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-07-07 16:54:33 -0700 (Sat, 07 Jul 2007)
New Revision: 19023
Log:
- forgot to adjust the path
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-07-07 18:17:41 UTC (rev 19022)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-07-07 23:54:33 UTC (rev 19023)
@@ -1,7 +1,5 @@
-Index: test/mmap/mmap2.c
-===================================================================
---- test/mmap/mmap2.c (revision 0)
-+++ test/mmap/mmap2.c (revision 18616)
+--- uClibc-0.9.29.oorig/test/mmap/mmap2.c (revision 0)
++++ uClibc-0.9.29/test/mmap/mmap2.c (revision 18616)
@@ -0,0 +1,41 @@
+/* When trying to map /dev/mem with offset 0xFFFFF000 on the ARM platform, mmap
+ * returns -EOVERFLOW.
@@ -44,10 +42,8 @@
+ close(fd);
+ return 0;
+}
-Index: libc/sysdeps/linux/arm/mmap.c
-===================================================================
---- libc/sysdeps/linux/arm/mmap.c (revision 18615)
-+++ libc/sysdeps/linux/arm/mmap.c (revision 18616)
+--- uClibc-0.9.29.oorig/libc/sysdeps/linux/arm/mmap.c (revision 18615)
++++ uClibc-0.9.29/libc/sysdeps/linux/arm/mmap.c (revision 18616)
@@ -27,7 +27,6 @@ __ptr_t mmap(__ptr_t addr, size_t len, i
#elif defined (__NR_mmap2)
@@ -75,10 +71,8 @@
}
#elif defined (__NR_mmap)
# define __NR__mmap __NR_mmap
-Index: libc/sysdeps/linux/common/mmap64.c
-===================================================================
---- libc/sysdeps/linux/common/mmap64.c (revision 18615)
-+++ libc/sysdeps/linux/common/mmap64.c (revision 18616)
+--- uClibc-0.9.29.oorig/libc/sysdeps/linux/common/mmap64.c (revision 18615)
++++ uClibc-0.9.29/libc/sysdeps/linux/common/mmap64.c (revision 18616)
@@ -58,8 +58,13 @@ __ptr_t mmap64(__ptr_t addr, size_t len,
__set_errno(EINVAL);
return MAP_FAILED;
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-07 10:39 aldot at uclibc.org
2007-07-07 16:40 ` BuraphaLinux Server
0 siblings, 1 reply; 134+ messages in thread
From: aldot at uclibc.org @ 2007-07-07 10:39 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-07-07 03:39:13 -0700 (Sat, 07 Jul 2007)
New Revision: 19018
Log:
- pull in missing hunks from the arm-mmap fix.
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-07-07 10:14:30 UTC (rev 19017)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-07-07 10:39:13 UTC (rev 19018)
@@ -1,22 +1,97 @@
---- uClibc-0.9.29/libc/sysdeps/linux/arm/mmap.c 2007-03-08 19:00:42.000000000 +0100
-+++ uClibc/libc/sysdeps/linux/arm/mmap.c 2007-05-16 12:53:23.000000000 +0200
-@@ -39,9 +39,17 @@
+Index: test/mmap/mmap2.c
+===================================================================
+--- test/mmap/mmap2.c (revision 0)
++++ test/mmap/mmap2.c (revision 18616)
+@@ -0,0 +1,41 @@
++/* When trying to map /dev/mem with offset 0xFFFFF000 on the ARM platform, mmap
++ * returns -EOVERFLOW.
++ *
++ * Since off_t is defined as a long int and the sign bit is set in the address,
++ * the shift operation shifts in ones instead of zeroes
++ * from the left. This results the offset sent to the kernel function becomes
++ * 0xFFFFFFFF instead of 0x000FFFFF with MMAP2_PAGE_SHIFT set to 12.
++ */
++
++#include <unistd.h>
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <errno.h>
++#include <fcntl.h>
++#include <sys/mman.h>
++
++#define FATAL do { fprintf(stderr, "Error at line %d, file %s (%d) [%s]\n", \
++ __LINE__, __FILE__, errno, strerror(errno)); exit(1); } while(0)
++
++#define MAP_SIZE 4096UL
++#define MAP_MASK (MAP_SIZE - 1)
++
++int main(int argc, char **argv) {
++ void* map_base = 0;
++ int fd;
++ off_t target = 0xfffff000;
++ if((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) FATAL;
++ printf("/dev/mem opened.\n");
++ fflush(stdout);
++
++ /* Map one page */
++ map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED,
++ fd, target & ~MAP_MASK);
++ if(map_base == (void *) -1) FATAL;
++ printf("Memory mapped at address %p.\n", map_base);
++ fflush(stdout);
++ if(munmap(map_base, MAP_SIZE) == -1) FATAL;
++ close(fd);
++ return 0;
++}
+Index: libc/sysdeps/linux/arm/mmap.c
+===================================================================
+--- libc/sysdeps/linux/arm/mmap.c (revision 18615)
++++ libc/sysdeps/linux/arm/mmap.c (revision 18616)
+@@ -27,7 +27,6 @@ __ptr_t mmap(__ptr_t addr, size_t len, i
+
+ #elif defined (__NR_mmap2)
+ #define __NR__mmap __NR_mmap2
+-
+ #ifndef MMAP2_PAGE_SHIFT
+ # define MMAP2_PAGE_SHIFT 12
+ #endif
+@@ -39,9 +38,17 @@ __ptr_t mmap(__ptr_t addr, size_t len, i
{
/* check if offset is page aligned */
if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1))
+ {
+ __set_errno(EINVAL);
return MAP_FAILED;
-- return (__ptr_t) _mmap (addr, len, prot, flags,
-- fd,(off_t) (offset >> MMAP2_PAGE_SHIFT));
+ }
+#ifdef __USE_FILE_OFFSET64
-+ return (__ptr_t) _mmap (addr, len, prot, flags,
-+ fd, ((__u_quad_t) offset >> MMAP2_PAGE_SHIFT));
++ return (__ptr_t) _mmap (addr, len, prot, flags,
++ fd,((__u_quad_t) offset >> MMAP2_PAGE_SHIFT));
+#else
-+ return (__ptr_t) _mmap (addr, len, prot, flags,
-+ fd, ((__u_long) offset >> MMAP2_PAGE_SHIFT));
+ return (__ptr_t) _mmap (addr, len, prot, flags,
+- fd,(off_t) (offset >> MMAP2_PAGE_SHIFT));
++ fd,((__u_long) offset >> MMAP2_PAGE_SHIFT));
+#endif
}
#elif defined (__NR_mmap)
# define __NR__mmap __NR_mmap
+Index: libc/sysdeps/linux/common/mmap64.c
+===================================================================
+--- libc/sysdeps/linux/common/mmap64.c (revision 18615)
++++ libc/sysdeps/linux/common/mmap64.c (revision 18616)
+@@ -58,8 +58,13 @@ __ptr_t mmap64(__ptr_t addr, size_t len,
+ __set_errno(EINVAL);
+ return MAP_FAILED;
+ }
+-
+- return __syscall_mmap2(addr, len, prot, flags, fd, (off_t) (offset >> MMAP2_PAGE_SHIFT));
++#ifdef __USE_FILE_OFFSET64
++ return __syscall_mmap2(addr, len, prot, flags,
++ fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
++#else
++ return __syscall_mmap2(addr, len, prot, flags,
++ fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT));
++#endif
+ }
+
+ # endif
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-07 10:14:30 UTC (rev 19017)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-07 10:39:13 UTC (rev 19018)
@@ -113,7 +113,7 @@
# UCLIBC_HAS_CTYPE_UNSAFE is not set
UCLIBC_HAS_CTYPE_CHECKED=y
# UCLIBC_HAS_CTYPE_ENFORCED is not set
-UCLIBC_HAS_WCHAR=y
+# UCLIBC_HAS_WCHAR is not set
# UCLIBC_HAS_LOCALE is not set
UCLIBC_HAS_HEXADECIMAL_FLOATS=y
UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2007-07-07 10:39 aldot at uclibc.org
@ 2007-07-07 16:40 ` BuraphaLinux Server
0 siblings, 0 replies; 134+ messages in thread
From: BuraphaLinux Server @ 2007-07-07 16:40 UTC (permalink / raw)
To: buildroot
I get this (sorry if gmail wraps lines) with subversion version 19021:
Applying uClibc-0.9.29-001-fix-mmap.patch using plaintext:
patching file mmap/mmap2.c
can't find file to patch at input line 51
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libc/sysdeps/linux/arm/mmap.c
|===================================================================
|--- libc/sysdeps/linux/arm/mmap.c (revision 18615)
|+++ libc/sysdeps/linux/arm/mmap.c (revision 18616)
--------------------------
File to patch:
On 7/7/07, aldot at uclibc.org <aldot@uclibc.org> wrote:
> Author: aldot
> Date: 2007-07-07 03:39:13 -0700 (Sat, 07 Jul 2007)
> New Revision: 19018
>
> Log:
> - pull in missing hunks from the arm-mmap fix.
>
>
> Modified:
> trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
> trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
>
>
> Changeset:
> Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
> ===================================================================
> ---
> trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-07-07
> 10:14:30 UTC (rev 19017)
> +++
> trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-07-07
> 10:39:13 UTC (rev 19018)
> @@ -1,22 +1,97 @@
> ---- uClibc-0.9.29/libc/sysdeps/linux/arm/mmap.c 2007-03-08
> 19:00:42.000000000 +0100
> -+++ uClibc/libc/sysdeps/linux/arm/mmap.c 2007-05-16 12:53:23.000000000
> +0200
> -@@ -39,9 +39,17 @@
> +Index: test/mmap/mmap2.c
> +===================================================================
> +--- test/mmap/mmap2.c (revision 0)
> ++++ test/mmap/mmap2.c (revision 18616)
> +@@ -0,0 +1,41 @@
> ++/* When trying to map /dev/mem with offset 0xFFFFF000 on the ARM platform,
> mmap
> ++ * returns -EOVERFLOW.
> ++ *
> ++ * Since off_t is defined as a long int and the sign bit is set in the
> address,
> ++ * the shift operation shifts in ones instead of zeroes
> ++ * from the left. This results the offset sent to the kernel function
> becomes
> ++ * 0xFFFFFFFF instead of 0x000FFFFF with MMAP2_PAGE_SHIFT set to 12.
> ++ */
> ++
> ++#include <unistd.h>
> ++#include <stdio.h>
> ++#include <stdlib.h>
> ++#include <string.h>
> ++#include <errno.h>
> ++#include <fcntl.h>
> ++#include <sys/mman.h>
> ++
> ++#define FATAL do { fprintf(stderr, "Error at line %d, file %s (%d)
> [%s]\n", \
> ++ __LINE__, __FILE__, errno, strerror(errno)); exit(1); } while(0)
> ++
> ++#define MAP_SIZE 4096UL
> ++#define MAP_MASK (MAP_SIZE - 1)
> ++
> ++int main(int argc, char **argv) {
> ++ void* map_base = 0;
> ++ int fd;
> ++ off_t target = 0xfffff000;
> ++ if((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) FATAL;
> ++ printf("/dev/mem opened.\n");
> ++ fflush(stdout);
> ++
> ++ /* Map one page */
> ++ map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED,
> ++ fd, target & ~MAP_MASK);
> ++ if(map_base == (void *) -1) FATAL;
> ++ printf("Memory mapped at address %p.\n", map_base);
> ++ fflush(stdout);
> ++ if(munmap(map_base, MAP_SIZE) == -1) FATAL;
> ++ close(fd);
> ++ return 0;
> ++}
> +Index: libc/sysdeps/linux/arm/mmap.c
> +===================================================================
> +--- libc/sysdeps/linux/arm/mmap.c (revision 18615)
> ++++ libc/sysdeps/linux/arm/mmap.c (revision 18616)
> +@@ -27,7 +27,6 @@ __ptr_t mmap(__ptr_t addr, size_t len, i
> +
> + #elif defined (__NR_mmap2)
> + #define __NR__mmap __NR_mmap2
> +-
> + #ifndef MMAP2_PAGE_SHIFT
> + # define MMAP2_PAGE_SHIFT 12
> + #endif
> +@@ -39,9 +38,17 @@ __ptr_t mmap(__ptr_t addr, size_t len, i
> {
> /* check if offset is page aligned */
> if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1))
> + {
> + __set_errno(EINVAL);
> return MAP_FAILED;
> -- return (__ptr_t) _mmap (addr, len, prot, flags,
> -- fd,(off_t) (offset >> MMAP2_PAGE_SHIFT));
> + }
> +#ifdef __USE_FILE_OFFSET64
> -+ return (__ptr_t) _mmap (addr, len, prot, flags,
> -+ fd, ((__u_quad_t) offset >>
> MMAP2_PAGE_SHIFT));
> ++ return (__ptr_t) _mmap (addr, len, prot, flags,
> ++ fd,((__u_quad_t) offset >> MMAP2_PAGE_SHIFT));
> +#else
> -+ return (__ptr_t) _mmap (addr, len, prot, flags,
> -+ fd, ((__u_long) offset >> MMAP2_PAGE_SHIFT));
> + return (__ptr_t) _mmap (addr, len, prot, flags,
> +- fd,(off_t) (offset >> MMAP2_PAGE_SHIFT));
> ++ fd,((__u_long) offset >> MMAP2_PAGE_SHIFT));
> +#endif
> }
> #elif defined (__NR_mmap)
> # define __NR__mmap __NR_mmap
> +Index: libc/sysdeps/linux/common/mmap64.c
> +===================================================================
> +--- libc/sysdeps/linux/common/mmap64.c (revision 18615)
> ++++ libc/sysdeps/linux/common/mmap64.c (revision 18616)
> +@@ -58,8 +58,13 @@ __ptr_t mmap64(__ptr_t addr, size_t len,
> + __set_errno(EINVAL);
> + return MAP_FAILED;
> + }
> +-
> +- return __syscall_mmap2(addr, len, prot, flags, fd, (off_t) (offset >>
> MMAP2_PAGE_SHIFT));
> ++#ifdef __USE_FILE_OFFSET64
> ++ return __syscall_mmap2(addr, len, prot, flags,
> ++ fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
> ++#else
> ++ return __syscall_mmap2(addr, len, prot, flags,
> ++ fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT));
> ++#endif
> + }
> +
> + # endif
>
> Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
> ===================================================================
> --- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-07
> 10:14:30 UTC (rev 19017)
> +++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-07-07
> 10:39:13 UTC (rev 19018)
> @@ -113,7 +113,7 @@
> # UCLIBC_HAS_CTYPE_UNSAFE is not set
> UCLIBC_HAS_CTYPE_CHECKED=y
> # UCLIBC_HAS_CTYPE_ENFORCED is not set
> -UCLIBC_HAS_WCHAR=y
> +# UCLIBC_HAS_WCHAR is not set
> # UCLIBC_HAS_LOCALE is not set
> UCLIBC_HAS_HEXADECIMAL_FLOATS=y
> UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-07-05 5:13 sjhill at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: sjhill at uclibc.org @ 2007-07-05 5:13 UTC (permalink / raw)
To: buildroot
Author: sjhill
Date: 2007-07-04 22:13:20 -0700 (Wed, 04 Jul 2007)
New Revision: 19000
Log:
Do not override CFLAGS in uClibc. Instead concatenate with the ARCH_CFLAGS. Also, pass only the TARGET_CONFIGURE options that are necessary for building the utilities so that CFLAGS are not passed.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-05 00:12:55 UTC (rev 18999)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-07-05 05:13:20 UTC (rev 19000)
@@ -113,6 +113,8 @@
-e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
-e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
$(UCLIBC_DIR)/.config
+ $(SED) 's,^ARCH_CFLAGS=",ARCH_CFLAGS="$(TARGET_CFLAGS) ,g' \
+ $(UCLIBC_DIR)/.config
ifeq ($(UCLIBC_TARGET_ARCH),arm)
$(SED) 's/^\(CONFIG_[^_]*[_]*ARM[^=]*\)=.*/# \1 is not set/g' \
$(UCLIBC_DIR)/.config
@@ -346,7 +348,8 @@
touch -c $@
$(TARGET_DIR)/usr/bin/ldd:
- $(MAKE1) -C $(UCLIBC_DIR) $(TARGET_CONFIGURE_OPTS) \
+ $(MAKE1) -C $(UCLIBC_DIR) CC=$(TARGET_CROSS)gcc \
+ CPP=$(TARGET_CROSS)cpp LD=$(TARGET_CROSS)ld \
PREFIX=$(TARGET_DIR) utils install_utils
ifeq ($(strip $(BR2_CROSS_TOOLCHAIN_TARGET_UTILS)),y)
mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-06-28 12:14 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-06-28 12:14 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-28 05:14:16 -0700 (Thu, 28 Jun 2007)
New Revision: 18960
Log:
- pull arm mmap fix from trunk
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch 2007-06-28 12:14:16 UTC (rev 18960)
@@ -0,0 +1,22 @@
+--- uClibc-0.9.29/libc/sysdeps/linux/arm/mmap.c 2007-03-08 19:00:42.000000000 +0100
++++ uClibc/libc/sysdeps/linux/arm/mmap.c 2007-05-16 12:53:23.000000000 +0200
+@@ -39,9 +39,17 @@
+ {
+ /* check if offset is page aligned */
+ if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1))
++ {
++ __set_errno(EINVAL);
+ return MAP_FAILED;
+- return (__ptr_t) _mmap (addr, len, prot, flags,
+- fd,(off_t) (offset >> MMAP2_PAGE_SHIFT));
++ }
++#ifdef __USE_FILE_OFFSET64
++ return (__ptr_t) _mmap (addr, len, prot, flags,
++ fd, ((__u_quad_t) offset >> MMAP2_PAGE_SHIFT));
++#else
++ return (__ptr_t) _mmap (addr, len, prot, flags,
++ fd, ((__u_long) offset >> MMAP2_PAGE_SHIFT));
++#endif
+ }
+ #elif defined (__NR_mmap)
+ # define __NR__mmap __NR_mmap
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-06-26 16:58 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-06-26 16:58 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-26 09:58:11 -0700 (Tue, 26 Jun 2007)
New Revision: 18946
Log:
- fix typo in sed expr
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-06-26 16:36:31 UTC (rev 18945)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-06-26 16:58:11 UTC (rev 18946)
@@ -143,19 +143,19 @@
echo "# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set" >> $(UCLIBC_DIR)/.config
endif
ifeq ($(BR2_INET_IPV6),y)
- $(SED) 's.^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=y,g' $(UCLIBC_DIR)/.config
else
- $(SED) 's.^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=n,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,^.*UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=n,g' $(UCLIBC_DIR)/.config
endif
ifeq ($(BR2_INET_RPC),y)
- $(SED) 's.^.*UCLIBC_HAS_RPC.*,UCLIBC_HAS_RPC=y,g' \
- -e 's.^.*UCLIBC_HAS_FULL_RPC.*,UCLIBC_HAS_FULL_RPC=y,g' \
- -e 's.^.*UCLIBC_HAS_REENTRANT_RPC.*,UCLIBC_HAS_REENTRANT_RPC=y,g'
+ $(SED) 's,^.*UCLIBC_HAS_RPC.*,UCLIBC_HAS_RPC=y,g' \
+ -e 's,^.*UCLIBC_HAS_FULL_RPC.*,UCLIBC_HAS_FULL_RPC=y,g' \
+ -e 's,^.*UCLIBC_HAS_REENTRANT_RPC.*,UCLIBC_HAS_REENTRANT_RPC=y,g' \
$(UCLIBC_DIR)/.config
else
- $(SED) 's.^.*UCLIBC_HAS_RPC.*,UCLIBC_HAS_RPC=n,g' \
- -e 's.^.*UCLIBC_HAS_FULL_RPC.*,UCLIBC_HAS_FULL_RPC=n,g' \
- -e 's.^.*UCLIBC_HAS_REENTRANT_RPC.*,UCLIBC_HAS_REENTRANT_RPC=n,g'
+ $(SED) 's,^.*UCLIBC_HAS_RPC.*,UCLIBC_HAS_RPC=n,g' \
+ -e 's,^.*UCLIBC_HAS_FULL_RPC.*,UCLIBC_HAS_FULL_RPC=n,g' \
+ -e 's,^.*UCLIBC_HAS_REENTRANT_RPC.*,UCLIBC_HAS_REENTRANT_RPC=n,g' \
$(UCLIBC_DIR)/.config
endif
ifeq ($(BR2_SOFT_FLOAT),y)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-06-25 8:16 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-06-25 8:16 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-25 01:16:14 -0700 (Mon, 25 Jun 2007)
New Revision: 18909
Log:
- add patch for the 0.9.29 release that fixes the visibility of internal_function
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-internal_function-definition.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-internal_function-definition.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-internal_function-definition.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-internal_function-definition.patch 2007-06-25 08:16:14 UTC (rev 18909)
@@ -0,0 +1,51 @@
+Index: uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
+===================================================================
+--- uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h (revision 18898)
++++ uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h (working copy)
+@@ -42,6 +42,8 @@
+ /* define if target supports IEEE signed zero floats */
+ #define __UCLIBC_HAVE_SIGNED_ZERO__
+
++#if defined _LIBC
+ #define internal_function __attribute__ ((regparm (3), stdcall))
++#endif
+
+ #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */
+Index: uClibc/include/libc-symbols.h
+===================================================================
+--- uClibc/include/libc-symbols.h (revision 18898)
++++ uClibc/include/libc-symbols.h (working copy)
+@@ -22,6 +22,16 @@
+ #ifndef _LIBC_SYMBOLS_H
+ #define _LIBC_SYMBOLS_H 1
+
++/* This is defined for the compilation of all C library code. features.h
++ tests this to avoid inclusion of stubs.h while compiling the library,
++ before stubs.h has been generated. Some library code that is shared
++ with other packages also tests this symbol to see if it is being
++ compiled as part of the C library. We must define this before including
++ config.h, because it makes some definitions conditional on whether libc
++ itself is being compiled, or just some generator program. */
++#define _LIBC 1
++
++
+ /* This file's macros are included implicitly in the compilation of every
+ file in the C library by -imacros.
+
+@@ -40,16 +50,6 @@
+
+ #include <bits/uClibc_arch_features.h>
+
+-
+-/* This is defined for the compilation of all C library code. features.h
+- tests this to avoid inclusion of stubs.h while compiling the library,
+- before stubs.h has been generated. Some library code that is shared
+- with other packages also tests this symbol to see if it is being
+- compiled as part of the C library. We must define this before including
+- config.h, because it makes some definitions conditional on whether libc
+- itself is being compiled, or just some generator program. */
+-#define _LIBC 1
+-
+ /* Enable declarations of GNU extensions, since we are compiling them. */
+ #define _GNU_SOURCE 1
+
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-06-24 14:38 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-06-24 14:38 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-24 07:38:06 -0700 (Sun, 24 Jun 2007)
New Revision: 18906
Log:
- yet another hunk that should have been part of r18904
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-06-24 12:27:08 UTC (rev 18905)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-06-24 14:38:06 UTC (rev 18906)
@@ -278,7 +278,7 @@
$(STAGING_DIR)/usr/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
-ifeq ($(findstring y,$(BR2_GCC_VERSION_3_3_5)$(BR2_GCC_VERSION_3_3_6)$(BR2_GCC_VERSION_3_4_2)$(BR2_GCC_VERSION_3_4_3)$(BR2_GCC_VERSION_3_4_4)$(BR2_GCC_VERSION_3_4_5)$(BR2_GCC_VERSION_3_4_6)),y)
+ifneq ($(BR2_TOOLCHAIN_SYSROOT),y)
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX= \
DEVEL_PREFIX=$(STAGING_DIR)/ \
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-06-13 18:14 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-06-13 18:14 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-13 11:13:51 -0700 (Wed, 13 Jun 2007)
New Revision: 18818
Log:
- allow for patching snapshots. Files are named uClibc.*.patch which is unambiguous wrt release patches.
sjhill, this "reverts" your r18601. I *need* to be able to test patches in a convenient manner. Please ping me if you are uncomfortable with this change so we can discuss it, thanks.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-06-13 16:23:59 UTC (rev 18817)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-06-13 18:13:51 UTC (rev 18818)
@@ -91,6 +91,8 @@
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)-\*.patch
+else
+ toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc.\*.patch
endif
ifneq ($(BR2_ENABLE_LOCALE),)
cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-06-07 16:18 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-06-07 16:18 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-07 09:18:20 -0700 (Thu, 07 Jun 2007)
New Revision: 18773
Log:
- forgot to supply a default for UCLIBC_EXTRA_CFLAGS
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-06-07 13:22:56 UTC (rev 18772)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-06-07 16:18:20 UTC (rev 18773)
@@ -178,6 +178,7 @@
# uClibc development/debugging options
#
CROSS_COMPILER_PREFIX=""
+UCLIBC_EXTRA_CFLAGS=""
# DODEBUG is not set
# DODEBUG_PT is not set
DOSTRIP=y
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-06-07 12:16 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-06-07 12:16 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-07 05:16:55 -0700 (Thu, 07 Jun 2007)
New Revision: 18767
Log:
- adjust sample config
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-06-07 12:11:24 UTC (rev 18766)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-06-07 12:16:55 UTC (rev 18767)
@@ -65,7 +65,7 @@
UCLIBC_CTOR_DTOR=y
# HAS_NO_THREADS is not set
UCLIBC_HAS_THREADS=y
-PTHREADS_DEBUG_SUPPORT=y
+# PTHREADS_DEBUG_SUPPORT is not set
LINUXTHREADS_OLD=y
UCLIBC_HAS_LFS=y
# MALLOC is not set
@@ -88,6 +88,12 @@
UCLIBC_TZ_FILE_PATH="/etc/TZ"
#
+# Advanced Library Settings
+#
+UCLIBC_PWD_BUFFER_SIZE=256
+UCLIBC_GRP_BUFFER_SIZE=256
+
+#
# Networking Support
#
UCLIBC_HAS_IPV6=y
@@ -95,6 +101,7 @@
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
# UCLIBC_USE_NETLINK is not set
+# UCLIBC_HAS_BSD_RES_CLOSE is not set
#
# String and Stdio Support
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-05-12 18:39 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-05-12 18:39 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-05-12 11:39:28 -0700 (Sat, 12 May 2007)
New Revision: 18610
Log:
- store uClibc's configfile as BR2_UCLIBC_CONFIG in menuconfig
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-05-11 12:57:35 UTC (rev 18609)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-05-12 18:39:28 UTC (rev 18610)
@@ -14,8 +14,12 @@
bool "uClibc 0.9.28"
config BR2_UCLIBC_VERSION_0_9_28_3
+ depends BR2_DEPRECATED
bool "uClibc 0.9.28.3"
+ config BR2_UCLIBC_VERSION_0_9_29
+ bool "uClibc 0.9.29"
+
config BR2_UCLIBC_VERSION_SNAPSHOT
bool "daily snapshot"
@@ -29,6 +33,19 @@
help
Use latest snapshot or one from a specific date?
+config BR2_UCLIBC_CONFIG
+ string "uClibc configuration file to use?"
+ default "toolchain/uClibc/uClibc-0.9.28.config" if BR2_UCLIBC_VERSION_0_9_28
+ default "toolchain/uClibc/uClibc-0.9.28.config" if BR2_UCLIBC_VERSION_0_9_28_3
+ default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_29
+ default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_30
+ default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_SNAPSHOT
+ help
+ Some people may wish to use their own modified uClibc configuration
+ file and will specify their config file location with this option.
+ See also docs/README in this package.
+ If unsure, use the default.
+
config BR2_ENABLE_LOCALE
bool "Enable locale/gettext/i18n support?"
default n
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-05-11 12:57:35 UTC (rev 18609)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-05-12 18:39:28 UTC (rev 18610)
@@ -6,6 +6,13 @@
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
+# specifying UCLIBC_CONFIG_FILE on the command-line overrides the .config
+# setting.
+ifndef UCLIBC_CONFIG_FILE
+UCLIBC_CONFIG_FILE=$(subst ",, $(strip $(BR2_UCLIBC_CONFIG)))
+#")
+endif
+
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
# Be aware that this changes daily....
UCLIBC_VER:=0.9.29
@@ -13,23 +20,22 @@
UCLIBC_SOURCE:=uClibc-$(strip $(subst ",, $(BR2_USE_UCLIBC_SNAPSHOT))).tar.bz2
#"))
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
-ifndef UCLIBC_CONFIG_FILE
-UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.29.config
+else
+# releases
+ifeq ($(BR2_UCLIBC_VERSION_0_9_29),y)
+UCLIBC_VER:=0.9.29
endif
-else
ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
UCLIBC_VER:=0.9.28.3
endif
ifeq ($(BR2_UCLIBC_VERSION_0_9_28),y)
UCLIBC_VER:=0.9.28
endif
+
UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)
UCLIBC_SOURCE:=uClibc-$(UCLIBC_VER).tar.bz2
UCLIBC_SITE:=http://www.uclibc.org/downloads
-ifndef UCLIBC_CONFIG_FILE
-UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.28.config
endif
-endif
UCLIBC_CAT:=$(BZCAT)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-05-10 2:37 sjhill at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: sjhill at uclibc.org @ 2007-05-10 2:37 UTC (permalink / raw)
To: buildroot
Author: sjhill
Date: 2007-05-09 19:37:44 -0700 (Wed, 09 May 2007)
New Revision: 18601
Log:
If we are using snapshot, don't even attempt to try and patch anything.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-05-10 02:37:16 UTC (rev 18600)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-05-10 02:37:44 UTC (rev 18601)
@@ -83,7 +83,9 @@
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
[ -d $(TOOL_BUILD_DIR) ] || $(INSTALL) -d $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
+ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)-\*.patch
+endif
ifneq ($(BR2_ENABLE_LOCALE),)
cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-05-10 2:37 sjhill at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: sjhill at uclibc.org @ 2007-05-10 2:37 UTC (permalink / raw)
To: buildroot
Author: sjhill
Date: 2007-05-09 19:37:16 -0700 (Wed, 09 May 2007)
New Revision: 18600
Log:
Re-create patches for released 0.9.29 version.
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch 2007-05-09 22:58:59 UTC (rev 18599)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch 2007-05-10 02:37:16 UTC (rev 18600)
@@ -1,7 +1,6 @@
-Index: uClibc/libc/sysdeps/linux/common/sched_getaffinity.c
-===================================================================
---- uClibc/libc/sysdeps/linux/common/sched_getaffinity.c (revision 17880)
-+++ uClibc/libc/sysdeps/linux/common/sched_getaffinity.c (working copy)
+diff -ur uClibc-0.9.29/libc/sysdeps/linux/common/sched_getaffinity.c uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_getaffinity.c
+--- uClibc-0.9.29/libc/sysdeps/linux/common/sched_getaffinity.c 2007-02-12 16:52:32.000000000 -0600
++++ uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_getaffinity.c 2007-05-09 18:05:09.397411811 -0500
@@ -29,6 +29,7 @@
#include <sys/param.h>
#include <sys/types.h>
@@ -26,10 +25,9 @@
#endif
+
+#endif
-Index: uClibc/libc/sysdeps/linux/common/sched_setaffinity.c
-===================================================================
---- uClibc/libc/sysdeps/linux/common/sched_setaffinity.c (revision 17880)
-+++ uClibc/libc/sysdeps/linux/common/sched_setaffinity.c (working copy)
+diff -ur uClibc-0.9.29/libc/sysdeps/linux/common/sched_setaffinity.c uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_setaffinity.c
+--- uClibc-0.9.29/libc/sysdeps/linux/common/sched_setaffinity.c 2007-02-12 16:52:32.000000000 -0600
++++ uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_setaffinity.c 2007-05-09 18:05:09.397411811 -0500
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <alloca.h>
@@ -50,6 +48,6 @@
+ return -1;
+}
+*/
++#endif
#endif
#endif
-+#endif
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff 2007-05-09 22:58:59 UTC (rev 18599)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff 2007-05-10 02:37:16 UTC (rev 18600)
@@ -1,8 +1,7 @@
-Index: uClibc_trunk/libc/inet/rpc/rcmd.c
-===================================================================
---- uClibc_trunk/libc/inet/rpc/rcmd.c (revision 17397)
-+++ uClibc_trunk/libc/inet/rpc/rcmd.c (working copy)
-@@ -126,7 +126,7 @@ libc_hidden_proto(accept)
+diff -ur uClibc-0.9.29/libc/inet/rpc/rcmd.c uClibc-0.9.29-patched/libc/inet/rpc/rcmd.c
+--- uClibc-0.9.29/libc/inet/rpc/rcmd.c 2007-01-10 11:46:19.000000000 -0600
++++ uClibc-0.9.29-patched/libc/inet/rpc/rcmd.c 2007-05-09 18:05:21.638421151 -0500
+@@ -126,7 +126,7 @@
libc_hidden_proto(listen)
libc_hidden_proto(sigsetmask)
libc_hidden_proto(getc_unlocked)
@@ -11,11 +10,10 @@
libc_hidden_proto(fopen)
libc_hidden_proto(fclose)
libc_hidden_proto(fprintf)
-Index: uClibc_trunk/libc/inet/rpc/ruserpass.c
-===================================================================
---- uClibc_trunk/libc/inet/rpc/ruserpass.c (revision 17397)
-+++ uClibc_trunk/libc/inet/rpc/ruserpass.c (working copy)
-@@ -63,7 +63,7 @@ libc_hidden_proto(fileno)
+diff -ur uClibc-0.9.29/libc/inet/rpc/ruserpass.c uClibc-0.9.29-patched/libc/inet/rpc/ruserpass.c
+--- uClibc-0.9.29/libc/inet/rpc/ruserpass.c 2006-03-23 05:14:16.000000000 -0600
++++ uClibc-0.9.29-patched/libc/inet/rpc/ruserpass.c 2007-05-09 18:05:21.638421151 -0500
+@@ -63,7 +63,7 @@
libc_hidden_proto(fopen)
libc_hidden_proto(fclose)
libc_hidden_proto(getc_unlocked)
@@ -24,11 +22,45 @@
#define _(X) (X)
/* #include "ftp_var.h" */
-Index: uClibc_trunk/libc/pwd_grp/pwd_grp.c
-===================================================================
---- uClibc_trunk/libc/pwd_grp/pwd_grp.c (revision 17397)
-+++ uClibc_trunk/libc/pwd_grp/pwd_grp.c (working copy)
-@@ -43,11 +43,12 @@ libc_hidden_proto(strlen)
+diff -ur uClibc-0.9.29/libc/misc/error/error.c uClibc-0.9.29-patched/libc/misc/error/error.c
+--- uClibc-0.9.29/libc/misc/error/error.c 2006-05-04 09:44:13.000000000 -0500
++++ uClibc-0.9.29-patched/libc/misc/error/error.c 2007-05-09 18:05:21.646421810 -0500
+@@ -30,11 +30,14 @@
+ libc_hidden_proto(strerror)
+ libc_hidden_proto(fprintf)
+ libc_hidden_proto(exit)
++//#undef putc
+ libc_hidden_proto(putc)
++libc_hidden_proto(fputc)
+ libc_hidden_proto(vfprintf)
+ libc_hidden_proto(fflush)
+-libc_hidden_proto(fputc)
+-libc_hidden_proto(__fputc_unlocked)
++//#ifdef __UCLIBC_HAS_STDIO_PUTC_MACRO__
++libc_hidden_proto(fputc_unlocked)
++//#endif
+
+ /* This variable is incremented each time `error' is called. */
+ unsigned int error_message_count = 0;
+diff -ur uClibc-0.9.29/libc/misc/ttyent/getttyent.c uClibc-0.9.29-patched/libc/misc/ttyent/getttyent.c
+--- uClibc-0.9.29/libc/misc/ttyent/getttyent.c 2006-12-07 17:24:02.000000000 -0600
++++ uClibc-0.9.29-patched/libc/misc/ttyent/getttyent.c 2007-05-09 18:05:21.646421810 -0500
+@@ -44,8 +44,10 @@
+ libc_hidden_proto(__fsetlocking)
+ libc_hidden_proto(rewind)
+ libc_hidden_proto(fgets_unlocked)
++//#undef getc_unlocked
+ libc_hidden_proto(getc_unlocked)
+-libc_hidden_proto(__fgetc_unlocked)
++//#undef fgetc_unlocked
++libc_hidden_proto(fgetc_unlocked)
+ libc_hidden_proto(fopen)
+ libc_hidden_proto(fclose)
+ libc_hidden_proto(abort)
+diff -ur uClibc-0.9.29/libc/pwd_grp/pwd_grp.c uClibc-0.9.29-patched/libc/pwd_grp/pwd_grp.c
+--- uClibc-0.9.29/libc/pwd_grp/pwd_grp.c 2007-04-13 03:32:18.000000000 -0500
++++ uClibc-0.9.29-patched/libc/pwd_grp/pwd_grp.c 2007-05-09 18:05:21.638421151 -0500
+@@ -43,11 +43,12 @@
libc_hidden_proto(strtoul)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets_unlocked)
@@ -42,7 +74,7 @@
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
#elif __UCLIBC_HAS_CTYPE_TABLES__
-@@ -809,7 +810,7 @@ int putgrent(const struct group *__restr
+@@ -801,7 +802,7 @@
do {
if (!*m) {
@@ -51,7 +83,7 @@
rv = 0;
}
break;
-@@ -875,7 +876,7 @@ int putspent(const struct spwd *p, FILE
+@@ -867,7 +868,7 @@
goto DO_UNLOCK;
}
@@ -60,34 +92,10 @@
rv = 0;
}
-Index: uClibc_trunk/libc/stdio/fgets.c
-===================================================================
---- uClibc_trunk/libc/stdio/fgets.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/fgets.c (working copy)
-@@ -10,8 +10,7 @@
- libc_hidden_proto(fgets_unlocked)
-
- #ifdef __DO_UNLOCKED
--
--libc_hidden_proto(__fgetc_unlocked)
-+libc_hidden_proto(fgetc_unlocked)
-
- char *fgets_unlocked(char *__restrict s, int n,
- register FILE * __restrict stream)
-@@ -38,7 +37,7 @@ char *fgets_unlocked(char *__restrict s,
- break;
- }
- } else {
-- if ((c = __fgetc_unlocked(stream)) == EOF) {
-+ if ((c = fgetc_unlocked(stream)) == EOF) {
- if (__FERROR_UNLOCKED(stream)) {
- goto ERROR;
- }
-Index: uClibc_trunk/libc/stdio/_scanf.c
-===================================================================
---- uClibc_trunk/libc/stdio/_scanf.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/_scanf.c (working copy)
-@@ -86,7 +86,8 @@ libc_hidden_proto(vfscanf)
+diff -ur uClibc-0.9.29/libc/stdio/_scanf.c uClibc-0.9.29-patched/libc/stdio/_scanf.c
+--- uClibc-0.9.29/libc/stdio/_scanf.c 2007-01-20 12:32:10.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/_scanf.c 2007-05-09 18:05:21.642421481 -0500
+@@ -86,7 +86,8 @@
libc_hidden_proto(vsscanf)
libc_hidden_proto(fclose)
libc_hidden_proto(getc_unlocked)
@@ -97,58 +105,82 @@
#ifdef __UCLIBC_HAS_WCHAR__
libc_hidden_proto(wcslen)
libc_hidden_proto(vfwscanf)
-Index: uClibc_trunk/libc/stdio/putwchar.c
-===================================================================
---- uClibc_trunk/libc/stdio/putwchar.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/putwchar.c (working copy)
-@@ -22,7 +22,8 @@ strong_alias(putwchar_unlocked,putwchar)
+diff -ur uClibc-0.9.29/libc/stdio/fgetc.c uClibc-0.9.29-patched/libc/stdio/fgetc.c
+--- uClibc-0.9.29/libc/stdio/fgetc.c 2006-01-15 16:41:03.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/fgetc.c 2007-05-09 18:05:21.642421481 -0500
+@@ -13,13 +13,13 @@
+ #undef getc
+ #undef getc_unlocked
- #elif defined __UCLIBC_HAS_THREADS__
+-libc_hidden_proto(__fgetc_unlocked)
++libc_hidden_proto(fgetc_unlocked)
--libc_hidden_proto(__fputc_unlocked)
-+//#undef fputc_unlocked
-+libc_hidden_proto(fputc_unlocked)
- /* psm: should this be fputwc? */
- libc_hidden_proto(fputc)
+ #ifdef __DO_UNLOCKED
-Index: uClibc_trunk/libc/stdio/getchar.c
-===================================================================
---- uClibc_trunk/libc/stdio/getchar.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/getchar.c (working copy)
-@@ -7,7 +7,8 @@
+ libc_hidden_proto(fflush_unlocked)
- #include "_stdio.h"
+-int __fgetc_unlocked(FILE *stream)
++int fgetc_unlocked(FILE *stream)
+ {
+ __STDIO_STREAM_VALIDATE(stream);
--libc_hidden_proto(__fgetc_unlocked)
-+//#undef fgetc_unlocked
-+libc_hidden_proto(fgetc_unlocked)
+@@ -73,26 +73,22 @@
- #undef getchar
- #ifdef __DO_UNLOCKED
-Index: uClibc_trunk/libc/stdio/putchar.c
-===================================================================
---- uClibc_trunk/libc/stdio/putchar.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/putchar.c (working copy)
-@@ -7,7 +7,8 @@
+ return EOF;
+ }
+-libc_hidden_def(__fgetc_unlocked)
+-
+-libc_hidden_proto(fgetc_unlocked)
+-strong_alias(__fgetc_unlocked,fgetc_unlocked)
+ libc_hidden_def(fgetc_unlocked)
- #include "_stdio.h"
+ //libc_hidden_proto(__getc_unlocked)
+-//strong_alias(__fgetc_unlocked,__getc_unlocked)
++//strong_alias(fgetc_unlocked,__getc_unlocked)
+ //libc_hidden_def(__getc_unlocked)
--libc_hidden_proto(__fputc_unlocked)
-+//#undef fputc_unlocked
-+libc_hidden_proto(fputc_unlocked)
+ libc_hidden_proto(getc_unlocked)
+-strong_alias(__fgetc_unlocked,getc_unlocked)
++strong_alias(fgetc_unlocked,getc_unlocked)
+ libc_hidden_def(getc_unlocked)
- #undef putchar
+ #ifndef __UCLIBC_HAS_THREADS__
+ libc_hidden_proto(fgetc)
+-strong_alias(__fgetc_unlocked,fgetc)
++strong_alias(fgetc_unlocked,fgetc)
+ libc_hidden_def(fgetc)
+
+-strong_alias(__fgetc_unlocked,getc)
++strong_alias(fgetc_unlocked,getc)
+ #endif
+
+ #elif defined __UCLIBC_HAS_THREADS__
+diff -ur uClibc-0.9.29/libc/stdio/fgets.c uClibc-0.9.29-patched/libc/stdio/fgets.c
+--- uClibc-0.9.29/libc/stdio/fgets.c 2006-01-15 16:41:03.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/fgets.c 2007-05-09 18:05:21.638421151 -0500
+@@ -10,8 +10,7 @@
+ libc_hidden_proto(fgets_unlocked)
+
#ifdef __DO_UNLOCKED
-Index: uClibc_trunk/libc/stdio/fputc.c
-===================================================================
---- uClibc_trunk/libc/stdio/fputc.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/fputc.c (working copy)
-@@ -12,11 +12,11 @@
- #undef putc
- #undef putc_unlocked
+-
+-libc_hidden_proto(__fgetc_unlocked)
++libc_hidden_proto(fgetc_unlocked)
--libc_hidden_proto(__fputc_unlocked)
-+libc_hidden_proto(fputc_unlocked)
+ char *fgets_unlocked(char *__restrict s, int n,
+ register FILE * __restrict stream)
+@@ -38,7 +37,7 @@
+ break;
+ }
+ } else {
+- if ((c = __fgetc_unlocked(stream)) == EOF) {
++ if ((c = fgetc_unlocked(stream)) == EOF) {
+ if (__FERROR_UNLOCKED(stream)) {
+ goto ERROR;
+ }
+diff -ur uClibc-0.9.29/libc/stdio/fputc.c uClibc-0.9.29-patched/libc/stdio/fputc.c
+--- uClibc-0.9.29/libc/stdio/fputc.c 2007-04-14 12:03:18.000000000 -0500
++++ uClibc-0.9.29-patched/libc/stdio/fputc.c 2007-05-09 20:50:51.350629927 -0500
+@@ -16,7 +16,7 @@
#ifdef __DO_UNLOCKED
@@ -157,20 +189,20 @@
{
__STDIO_STREAM_VALIDATE(stream);
-@@ -70,20 +70,20 @@ int __fputc_unlocked(int c, register FIL
+@@ -70,22 +70,22 @@
BAD:
return EOF;
}
-libc_hidden_def(__fputc_unlocked)
--
--libc_hidden_proto(fputc_unlocked)
++libc_hidden_def(fputc_unlocked)
+
+ /* exposing these would be fundamentally *wrong*! fix you, instead! */
+ /* libc_hidden_proto(fputc_unlocked) */
-strong_alias(__fputc_unlocked,fputc_unlocked)
- libc_hidden_def(fputc_unlocked)
++/* strong_alias(__fputc_unlocked,fputc_unlocked) */
+ /* exposing these would be fundamentally *wrong*! fix you, instead! */
+ /* libc_hidden_def(fputc_unlocked) */
-+//libc_hidden_proto(fputc_unlocked)
-+//strong_alias(__fputc_unlocked,fputc_unlocked)
-+//libc_hidden_def(fputc_unlocked)
-+
libc_hidden_proto(putc_unlocked)
-strong_alias(__fputc_unlocked,putc_unlocked)
+strong_alias(fputc_unlocked,putc_unlocked)
@@ -185,10 +217,22 @@
libc_hidden_def(putc)
#endif
-Index: uClibc_trunk/libc/stdio/getdelim.c
-===================================================================
---- uClibc_trunk/libc/stdio/getdelim.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/getdelim.c (working copy)
+diff -ur uClibc-0.9.29/libc/stdio/getchar.c uClibc-0.9.29-patched/libc/stdio/getchar.c
+--- uClibc-0.9.29/libc/stdio/getchar.c 2006-12-19 22:30:25.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/getchar.c 2007-05-09 18:05:21.642421481 -0500
+@@ -7,7 +7,8 @@
+
+ #include "_stdio.h"
+
+-libc_hidden_proto(__fgetc_unlocked)
++//#undef fgetc_unlocked
++libc_hidden_proto(fgetc_unlocked)
+
+ #undef getchar
+ #ifdef __DO_UNLOCKED
+diff -ur uClibc-0.9.29/libc/stdio/getdelim.c uClibc-0.9.29-patched/libc/stdio/getdelim.c
+--- uClibc-0.9.29/libc/stdio/getdelim.c 2006-02-13 02:52:46.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/getdelim.c 2007-05-09 18:05:21.642421481 -0500
@@ -11,8 +11,8 @@
#include "_stdio.h"
@@ -200,10 +244,22 @@
/* Note: There is a defect in this function. (size_t vs ssize_t). */
-Index: uClibc_trunk/libc/stdio/puts.c
-===================================================================
---- uClibc_trunk/libc/stdio/puts.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/puts.c (working copy)
+diff -ur uClibc-0.9.29/libc/stdio/old_vfprintf.c uClibc-0.9.29-patched/libc/stdio/old_vfprintf.c
+--- uClibc-0.9.29/libc/stdio/old_vfprintf.c 2006-01-22 13:35:08.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/old_vfprintf.c 2007-05-09 18:05:21.642421481 -0500
+@@ -149,7 +149,8 @@
+ libc_hidden_proto(strnlen)
+ libc_hidden_proto(memcpy)
+ libc_hidden_proto(putc_unlocked)
+-libc_hidden_proto(__fputc_unlocked)
++//#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
+ libc_hidden_proto(__glibc_strerror_r)
+
+ /* #undef __UCLIBC_HAS_FLOATS__ */
+diff -ur uClibc-0.9.29/libc/stdio/putchar.c uClibc-0.9.29-patched/libc/stdio/putchar.c
+--- uClibc-0.9.29/libc/stdio/putchar.c 2006-01-13 18:58:03.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/putchar.c 2007-05-09 18:05:21.642421481 -0500
@@ -7,7 +7,8 @@
#include "_stdio.h"
@@ -211,10 +267,23 @@
-libc_hidden_proto(__fputc_unlocked)
+//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
+
+ #undef putchar
+ #ifdef __DO_UNLOCKED
+diff -ur uClibc-0.9.29/libc/stdio/puts.c uClibc-0.9.29-patched/libc/stdio/puts.c
+--- uClibc-0.9.29/libc/stdio/puts.c 2006-01-13 18:58:03.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/puts.c 2007-05-09 18:05:21.642421481 -0500
+@@ -7,7 +7,8 @@
+
+ #include "_stdio.h"
+
+-libc_hidden_proto(__fputc_unlocked)
++//#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
libc_hidden_proto(fputs_unlocked)
int puts(register const char * __restrict s)
-@@ -25,7 +26,7 @@ int puts(register const char * __restric
+@@ -25,7 +26,7 @@
/* Note: Nonportable as fputs need only return nonnegative on success. */
if ((n = fputs_unlocked(s, stream)) != EOF) {
++n;
@@ -223,100 +292,32 @@
n = EOF;
}
}
-Index: uClibc_trunk/libc/stdio/old_vfprintf.c
-===================================================================
---- uClibc_trunk/libc/stdio/old_vfprintf.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/old_vfprintf.c (working copy)
-@@ -149,7 +149,8 @@ libc_hidden_proto(strlen)
- libc_hidden_proto(strnlen)
- libc_hidden_proto(memcpy)
- libc_hidden_proto(putc_unlocked)
--libc_hidden_proto(__fputc_unlocked)
-+//#undef fputc_unlocked
-+libc_hidden_proto(fputc_unlocked)
- libc_hidden_proto(__glibc_strerror_r)
+diff -ur uClibc-0.9.29/libc/stdio/putwchar.c uClibc-0.9.29-patched/libc/stdio/putwchar.c
+--- uClibc-0.9.29/libc/stdio/putwchar.c 2006-01-14 14:16:19.000000000 -0600
++++ uClibc-0.9.29-patched/libc/stdio/putwchar.c 2007-05-09 18:05:21.642421481 -0500
+@@ -22,7 +22,8 @@
- /* #undef __UCLIBC_HAS_FLOATS__ */
-Index: uClibc_trunk/libc/stdio/fgetc.c
-===================================================================
---- uClibc_trunk/libc/stdio/fgetc.c (revision 17397)
-+++ uClibc_trunk/libc/stdio/fgetc.c (working copy)
-@@ -13,13 +13,13 @@
- #undef getc
- #undef getc_unlocked
-
--libc_hidden_proto(__fgetc_unlocked)
-+libc_hidden_proto(fgetc_unlocked)
-
- #ifdef __DO_UNLOCKED
-
- libc_hidden_proto(fflush_unlocked)
-
--int __fgetc_unlocked(FILE *stream)
-+int fgetc_unlocked(FILE *stream)
- {
- __STDIO_STREAM_VALIDATE(stream);
-
-@@ -73,26 +73,22 @@ int __fgetc_unlocked(FILE *stream)
-
- return EOF;
- }
--libc_hidden_def(__fgetc_unlocked)
--
--libc_hidden_proto(fgetc_unlocked)
--strong_alias(__fgetc_unlocked,fgetc_unlocked)
- libc_hidden_def(fgetc_unlocked)
-
- //libc_hidden_proto(__getc_unlocked)
--//strong_alias(__fgetc_unlocked,__getc_unlocked)
-+//strong_alias(fgetc_unlocked,__getc_unlocked)
- //libc_hidden_def(__getc_unlocked)
-
- libc_hidden_proto(getc_unlocked)
--strong_alias(__fgetc_unlocked,getc_unlocked)
-+strong_alias(fgetc_unlocked,getc_unlocked)
- libc_hidden_def(getc_unlocked)
-
- #ifndef __UCLIBC_HAS_THREADS__
- libc_hidden_proto(fgetc)
--strong_alias(__fgetc_unlocked,fgetc)
-+strong_alias(fgetc_unlocked,fgetc)
- libc_hidden_def(fgetc)
-
--strong_alias(__fgetc_unlocked,getc)
-+strong_alias(fgetc_unlocked,getc)
- #endif
-
#elif defined __UCLIBC_HAS_THREADS__
-Index: uClibc_trunk/libc/unistd/getpass.c
-===================================================================
---- uClibc_trunk/libc/unistd/getpass.c (revision 17397)
-+++ uClibc_trunk/libc/unistd/getpass.c (working copy)
-@@ -36,7 +36,8 @@ libc_hidden_proto(fgets)
- libc_hidden_proto(fputs)
- libc_hidden_proto(fputc)
- libc_hidden_proto(putc)
+
-libc_hidden_proto(__fputc_unlocked)
+//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
+ /* psm: should this be fputwc? */
+ libc_hidden_proto(fputc)
- /* It is desirable to use this bit on systems that have it.
- The only bit of terminal state we want to twiddle is echoing, which is
-Index: uClibc_trunk/libc/sysdeps/linux/common/bits/uClibc_stdio.h
-===================================================================
---- uClibc_trunk/libc/sysdeps/linux/common/bits/uClibc_stdio.h (revision 17397)
-+++ uClibc_trunk/libc/sysdeps/linux/common/bits/uClibc_stdio.h (working copy)
-@@ -381,32 +381,29 @@ extern void __stdio_init_mutex(__UCLIBC_
+diff -ur uClibc-0.9.29/libc/sysdeps/linux/common/bits/uClibc_stdio.h uClibc-0.9.29-patched/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+--- uClibc-0.9.29/libc/sysdeps/linux/common/bits/uClibc_stdio.h 2007-01-28 07:16:58.000000000 -0600
++++ uClibc-0.9.29-patched/libc/sysdeps/linux/common/bits/uClibc_stdio.h 2007-05-09 20:56:02.408110608 -0500
+@@ -381,33 +381,29 @@
# define __FEOF(__stream) __FEOF_UNLOCKED(__stream)
#endif
-extern int __fgetc_unlocked(FILE *__stream);
-extern int __fputc_unlocked(int __c, FILE *__stream);
-
--/* First define the default definitions. They overriden below as necessary. */
+ /* First define the default definitions.
+ They are overridden below as necessary. */
-#define __FGETC_UNLOCKED(__stream) (__fgetc_unlocked)((__stream))
-+/* First define the default definitions.
-+ * They are overridden as necessary. */
+#define __FGETC_UNLOCKED(__stream) (fgetc_unlocked)((__stream))
#define __FGETC(__stream) (fgetc)((__stream))
-#define __GETC_UNLOCKED_MACRO(__stream) (__fgetc_unlocked)((__stream))
@@ -344,11 +345,11 @@
( ((__stream)->__bufpos < (__stream)->__bufgetc_u) \
? (*(__stream)->__bufpos++) \
- : __fgetc_unlocked(__stream) )
-+ : (fgetc_unlocked)(__stream) )
++ : fgetc_unlocked(__stream) )
# if 0
/* Classic macro approach. getc{_unlocked} can have side effects. */
-@@ -452,20 +449,17 @@ extern FILE *__stdin; /* For getchar()
+@@ -453,20 +449,17 @@
# endif
# endif
@@ -366,11 +367,11 @@
( ((__stream)->__bufpos < (__stream)->__bufputc_u) \
? (*(__stream)->__bufpos++) = (__c) \
- : __fputc_unlocked((__c),(__stream)) )
-+ : (fputc_unlocked)((__c),(__stream)) )
++ : (fputc_unlocked((__c),(__stream)) )
# if 0
/* Classic macro approach. putc{_unlocked} can have side effects.*/
-@@ -488,7 +482,8 @@ extern FILE *__stdout; /* For putchar(
+@@ -489,7 +482,8 @@
}) )
# undef __PUTC_UNLOCKED
@@ -380,40 +381,16 @@
# ifdef __UCLIBC_HAS_THREADS__
# undef __FPUTC
-Index: uClibc_trunk/libc/misc/ttyent/getttyent.c
-===================================================================
---- uClibc_trunk/libc/misc/ttyent/getttyent.c (revision 17397)
-+++ uClibc_trunk/libc/misc/ttyent/getttyent.c (working copy)
-@@ -44,8 +44,10 @@ libc_hidden_proto(strncmp)
- libc_hidden_proto(__fsetlocking)
- libc_hidden_proto(rewind)
- libc_hidden_proto(fgets_unlocked)
-+//#undef getc_unlocked
- libc_hidden_proto(getc_unlocked)
--libc_hidden_proto(__fgetc_unlocked)
-+//#undef fgetc_unlocked
-+libc_hidden_proto(fgetc_unlocked)
- libc_hidden_proto(fopen)
- libc_hidden_proto(fclose)
- libc_hidden_proto(abort)
-Index: uClibc_trunk/libc/misc/error/error.c
-===================================================================
---- uClibc_trunk/libc/misc/error/error.c (revision 17397)
-+++ uClibc_trunk/libc/misc/error/error.c (working copy)
-@@ -30,11 +30,14 @@ libc_hidden_proto(strcmp)
- libc_hidden_proto(strerror)
- libc_hidden_proto(fprintf)
- libc_hidden_proto(exit)
-+//#undef putc
+diff -ur uClibc-0.9.29/libc/unistd/getpass.c uClibc-0.9.29-patched/libc/unistd/getpass.c
+--- uClibc-0.9.29/libc/unistd/getpass.c 2006-07-05 05:58:38.000000000 -0500
++++ uClibc-0.9.29-patched/libc/unistd/getpass.c 2007-05-09 18:05:21.642421481 -0500
+@@ -36,7 +36,8 @@
+ libc_hidden_proto(fputs)
+ libc_hidden_proto(fputc)
libc_hidden_proto(putc)
-+libc_hidden_proto(fputc)
- libc_hidden_proto(vfprintf)
- libc_hidden_proto(fflush)
--libc_hidden_proto(fputc)
-libc_hidden_proto(__fputc_unlocked)
-+//#ifdef __UCLIBC_HAS_STDIO_PUTC_MACRO__
++//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
-+//#endif
- /* This variable is incremented each time `error' is called. */
- unsigned int error_message_count = 0;
+ /* It is desirable to use this bit on systems that have it.
+ The only bit of terminal state we want to twiddle is echoing, which is
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch 2007-05-09 22:58:59 UTC (rev 18599)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch 2007-05-10 02:37:16 UTC (rev 18600)
@@ -1,8 +1,7 @@
-Index: uClibc/libc/inet/resolv.c
-===================================================================
---- uClibc/libc/inet/resolv.c (revision 17775)
-+++ uClibc/libc/inet/resolv.c (working copy)
-@@ -1689,7 +1689,7 @@
+diff -ur uClibc-0.9.29/libc/inet/resolv.c uClibc-0.9.29-patched/libc/inet/resolv.c
+--- uClibc-0.9.29/libc/inet/resolv.c 2007-04-23 12:01:05.000000000 -0500
++++ uClibc-0.9.29-patched/libc/inet/resolv.c 2007-05-09 18:05:33.563404419 -0500
+@@ -1700,7 +1700,7 @@
int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen,
struct hostent **result, int *h_errnop)
{
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-04-28 17:08 sjhill at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: sjhill at uclibc.org @ 2007-04-28 17:08 UTC (permalink / raw)
To: buildroot
Author: sjhill
Date: 2007-04-28 10:08:57 -0700 (Sat, 28 Apr 2007)
New Revision: 18527
Log:
Get rid of blank line.
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-04-28 16:48:27 UTC (rev 18526)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-04-28 17:08:57 UTC (rev 18527)
@@ -63,4 +63,3 @@
default n
help
Build the thread library with debugging enabled.
-
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-04-15 9:51 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-04-15 9:51 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-04-15 02:51:28 -0700 (Sun, 15 Apr 2007)
New Revision: 18450
Log:
- recommend linuxthreads.old
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-04-15 08:43:23 UTC (rev 18449)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-04-15 09:51:28 UTC (rev 18450)
@@ -40,6 +40,9 @@
default BR2_PTHREADS_OLD
help
Select the version of libpthreads you want to use.
+ Not all thread variants work with all versions of uClibc,
+ the "linuxthreads (stable/old)" may be a working fallback
+ if you need threading at all.
config BR2_PTHREADS_NONE
bool "none"
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-03-22 16:23 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2007-03-22 16:23 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-03-22 09:23:43 -0700 (Thu, 22 Mar 2007)
New Revision: 18203
Log:
install hostutils (i.e. 'ldd' and 'ldconfig') into $STAGING_DIR
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-03-22 16:14:42 UTC (rev 18202)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-03-22 16:23:43 UTC (rev 18203)
@@ -285,6 +285,12 @@
PREFIX=$(STAGING_DIR) \
HOSTCC="$(HOSTCC)" \
hostutils
+ install -c $(UCLIBC_DIR)/utils/ldd.host $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ldd
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldd $(GNU_TARGET_NAME)-ldd)
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldd $(REAL_GNU_TARGET_NAME)-ldd)
+ install -c $(UCLIBC_DIR)/utils/ldconfig.host $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ldconfig
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldconfig $(GNU_TARGET_NAME)-ldconfig)
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldconfig $(REAL_GNU_TARGET_NAME)-ldconfig)
touch -c $(STAGING_DIR)/lib/libc.a
ifneq ($(TARGET_DIR),)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-28 22:01 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2007-02-28 22:01 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-02-28 14:01:12 -0800 (Wed, 28 Feb 2007)
New Revision: 17992
Log:
update to uClibc 0.9.28.3
Removed:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-02-28 21:36:09 UTC (rev 17991)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-02-28 22:01:12 UTC (rev 17992)
@@ -13,13 +13,9 @@
depends BR2_DEPRECATED
bool "uClibc 0.9.28"
- config BR2_UCLIBC_VERSION_0_9_28_1
- depends BR2_DEPRECATED
- bool "uClibc 0.9.28.1"
+ config BR2_UCLIBC_VERSION_0_9_28_3
+ bool "uClibc 0.9.28.3"
- config BR2_UCLIBC_VERSION_0_9_28_2
- bool "uClibc 0.9.28.2"
-
config BR2_UCLIBC_VERSION_SNAPSHOT
bool "daily snapshot"
Deleted: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch 2007-02-28 21:36:09 UTC (rev 17991)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch 2007-02-28 22:01:12 UTC (rev 17992)
@@ -1,15 +0,0 @@
-Index: libc/misc/time/time.c
-===================================================================
---- a/libc/misc/time/time.c (revision 17534)
-+++ b/libc/misc/time/time.c (revision 17647)
-@@ -158,7 +158,9 @@
- #endif
-
- #if defined (L_tzset) || defined (L_localtime_r) || defined(L_strftime) || \
-- defined(L__time_mktime) || defined(L__time_mktime_tzi)
-+ defined(L__time_mktime) || defined(L__time_mktime_tzi) || \
-+ ((defined(L_strftime) || defined(L_strftime_l)) && \
-+ defined(__UCLIBC_HAS_XLOCALE__))
-
- void _time_tzset (int);
-
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-28 21:36:09 UTC (rev 17991)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-28 22:01:12 UTC (rev 17992)
@@ -17,12 +17,9 @@
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.29.config
endif
else
-ifeq ($(BR2_UCLIBC_VERSION_0_9_28_2),y)
-UCLIBC_VER:=0.9.28.2
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
+UCLIBC_VER:=0.9.28.3
endif
-ifeq ($(BR2_UCLIBC_VERSION_0_9_28_1),y)
-UCLIBC_VER:=0.9.28.1
-endif
ifeq ($(BR2_UCLIBC_VERSION_0_9_28),y)
UCLIBC_VER:=0.9.28
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-22 8:53 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2007-02-22 8:53 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2007-02-22 00:53:20 -0800 (Thu, 22 Feb 2007)
New Revision: 17950
Log:
0.9.28.2 support
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-02-21 23:46:45 UTC (rev 17949)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-02-22 08:53:20 UTC (rev 17950)
@@ -14,8 +14,12 @@
bool "uClibc 0.9.28"
config BR2_UCLIBC_VERSION_0_9_28_1
+ depends BR2_DEPRECATED
bool "uClibc 0.9.28.1"
+ config BR2_UCLIBC_VERSION_0_9_28_2
+ bool "uClibc 0.9.28.2"
+
config BR2_UCLIBC_VERSION_SNAPSHOT
bool "daily snapshot"
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-21 23:46:45 UTC (rev 17949)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-22 08:53:20 UTC (rev 17950)
@@ -17,6 +17,9 @@
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.29.config
endif
else
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_2),y)
+UCLIBC_VER:=0.9.28.2
+endif
ifeq ($(BR2_UCLIBC_VERSION_0_9_28_1),y)
UCLIBC_VER:=0.9.28.1
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-20 11:06 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2007-02-20 11:06 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2007-02-20 03:06:00 -0800 (Tue, 20 Feb 2007)
New Revision: 17934
Log:
Really propagate BR2_SOFT_FLOAT setting to 0.9.28.1
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2007-02-19 22:45:43 UTC (rev 17933)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.config 2007-02-20 11:06:00 UTC (rev 17934)
@@ -38,6 +38,7 @@
ARCH_HAS_MMU=y
UCLIBC_HAS_FLOATS=y
UCLIBC_HAS_FPU=y
+HAS_FPU=y
DO_C99_MATH=y
WARNINGS="-Wall"
KERNEL_SOURCE="/usr/src/linux"
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-19 22:45:43 UTC (rev 17933)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-20 11:06:00 UTC (rev 17934)
@@ -142,7 +142,7 @@
$(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
ifeq ($(BR2_SOFT_FLOAT),y)
$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n,g' \
- -e 's,.*[^_]HAS_FPU.*,HAS_FPU=n,g' \
+ -e 's,^[^_]*HAS_FPU.*,HAS_FPU=n,g' \
-e 's,.*UCLIBC_HAS_FLOATS.*,UCLIBC_HAS_FLOATS=y,g' \
-e 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' \
$(UCLIBC_DIR)/.config
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-15 11:24 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-02-15 11:24 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-15 03:24:35 -0800 (Thu, 15 Feb 2007)
New Revision: 17894
Log:
- uclibc-menuconfig provides a .config but doesn't provide .configured
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-15 11:12:15 UTC (rev 17893)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-15 11:24:35 UTC (rev 17894)
@@ -262,7 +262,7 @@
HOSTCC="$(HOSTCC)" \
menuconfig && \
cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE) && \
- touch $(UCLIBC_DIR)/.configured
+ touch $(UCLIBC_DIR)/.config
$(STAGING_DIR)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-14 13:28 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-02-14 13:28 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-14 05:28:58 -0800 (Wed, 14 Feb 2007)
New Revision: 17886
Log:
- sched_{s,g}etaffinity depends on the respective syscalls.
Noticed while trying to use ancient 2.4.31 kernel-headers from some bug-report
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-conditional-sched_affinity.patch 2007-02-14 13:28:58 UTC (rev 17886)
@@ -0,0 +1,55 @@
+Index: uClibc/libc/sysdeps/linux/common/sched_getaffinity.c
+===================================================================
+--- uClibc/libc/sysdeps/linux/common/sched_getaffinity.c (revision 17880)
++++ uClibc/libc/sysdeps/linux/common/sched_getaffinity.c (working copy)
+@@ -29,6 +29,7 @@
+ #include <sys/param.h>
+ #include <sys/types.h>
+
++#ifdef __NR_sched_getaffinity
+ libc_hidden_proto(memset)
+
+ #define __NR___syscall_sched_getaffinity __NR_sched_getaffinity
+@@ -48,5 +49,15 @@
+ }
+ return res;
+ }
++#else
++/*
++int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
++{
++ __set_errno(ENOSYS);
++ return -1;
++}
++*/
+ #endif
+ #endif
++
++#endif
+Index: uClibc/libc/sysdeps/linux/common/sched_setaffinity.c
+===================================================================
+--- uClibc/libc/sysdeps/linux/common/sched_setaffinity.c (revision 17880)
++++ uClibc/libc/sysdeps/linux/common/sched_setaffinity.c (working copy)
+@@ -31,6 +31,7 @@
+ #include <sys/types.h>
+ #include <alloca.h>
+
++#ifdef __NR_sched_setaffinity
+ libc_hidden_proto(getpid)
+
+ #define __NR___syscall_sched_setaffinity __NR_sched_setaffinity
+@@ -74,5 +75,14 @@
+
+ return INLINE_SYSCALL (sched_setaffinity, 3, pid, cpusetsize, cpuset);
+ }
++#else
++/*
++int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)
++{
++ __set_errno(ENOSYS);
++ return -1;
++}
++*/
+ #endif
+ #endif
++#endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-10 21:24 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-02-10 21:24 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-10 13:24:02 -0800 (Sat, 10 Feb 2007)
New Revision: 17851
Log:
- fix propagation of BR2_SOFT_FLOAT down to uClibc
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-10 19:36:25 UTC (rev 17850)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-10 21:24:02 UTC (rev 17851)
@@ -141,7 +141,7 @@
$(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
ifeq ($(BR2_SOFT_FLOAT),y)
$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n,g' \
- -e 's,.*HAS_FPU.*,HAS_FPU=n,g' \
+ -e 's,.*[^_]HAS_FPU.*,HAS_FPU=n,g' \
-e 's,.*UCLIBC_HAS_FLOATS.*,UCLIBC_HAS_FLOATS=y,g' \
-e 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' \
$(UCLIBC_DIR)/.config
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-09 17:53 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 17:53 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-09 09:53:55 -0800 (Fri, 09 Feb 2007)
New Revision: 17843
Log:
- honor BR2_PTHREAD_DEBUG
Stop asking any thread related questions while at it.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-09 17:32:16 UTC (rev 17842)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-09 17:53:55 UTC (rev 17843)
@@ -149,19 +149,36 @@
else
$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=y\nHAS_FPU=y\nUCLIBC_HAS_FLOATS=y\n,g' $(UCLIBC_DIR)/.config
endif
-ifneq ($(BR2_PTHREADS_NONE),y)
- $(SED) 's,# UCLIBC_HAS_THREADS is not set,UCLIBC_HAS_THREADS=y,g' $(UCLIBC_DIR)/.config
- $(SED) 's,# PTHREADS_DEBUG_SUPPORT is not set,PTHREADS_DEBUG_SUPPORT=y,g' $(UCLIBC_DIR)/.config
+ $(SED) '/UCLIBC_HAS_THREADS/d' $(UCLIBC_DIR)/.config
+ $(SED) '/LINUXTHREADS/d' $(UCLIBC_DIR)/.config
+ $(SED) '/LINUXTHREADS_OLD/d' $(UCLIBC_DIR)/.config
+ $(SED) '/PTHREADS_DEBUG_SUPPORT/d' $(UCLIBC_DIR)/.config
+ $(SED) '/UCLIBC_HAS_THREADS_NATIVE/d' $(UCLIBC_DIR)/.config
+ifeq ($(BR2_PTHREADS_NONE),y)
+ echo "# UCLIBC_HAS_THREADS is not set" >> $(UCLIBC_DIR)/.config
+else
+ echo "UCLIBC_HAS_THREADS=y" >> $(UCLIBC_DIR)/.config
endif
ifeq ($(BR2_PTHREADS),y)
- $(SED) 's,# LINUXTHREADS is not set,LINUXTHREADS=y,g' $(UCLIBC_DIR)/.config
+ echo "LINUXTHREADS=y" >> $(UCLIBC_DIR)/.config
+else
+ echo "# LINUXTHREADS is not set" >> $(UCLIBC_DIR)/.config
endif
ifeq ($(BR2_PTHREADS_OLD),y)
- $(SED) 's,# LINUXTHREADS_OLD is not set,LINUXTHREADS_OLD=y,g' $(UCLIBC_DIR)/.config
+ echo "LINUXTHREADS_OLD=y" >> $(UCLIBC_DIR)/.config
+else
+ echo "# LINUXTHREADS_OLD is not set" >> $(UCLIBC_DIR)/.config
endif
ifeq ($(BR2_PTHREADS_NATIVE),y)
- $(SED) 's,# UCLIBC_HAS_THREADS_NATIVE is not set,UCLIBC_HAS_THREADS_NATIVE=y,g' $(UCLIBC_DIR)/.config
+ echo "UCLIBC_HAS_THREADS_NATIVE=y" >> $(UCLIBC_DIR)/.config
+else
+ echo "# UCLIBC_HAS_THREADS_NATIVE is not set" >> $(UCLIBC_DIR)/.config
endif
+ifeq ($(BR2_PTHREAD_DEBUG),y)
+ echo "PTHREADS_DEBUG_SUPPORT=y" >> $(UCLIBC_DIR)/.config
+else
+ echo "# PTHREADS_DEBUG_SUPPORT is not set" >> $(UCLIBC_DIR)/.config
+endif
ifeq ($(BR2_ENABLE_LOCALE),y)
$(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config
else
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-06 18:35 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-02-06 18:35 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-06 10:35:37 -0800 (Tue, 06 Feb 2007)
New Revision: 17801
Log:
- also wipe the files installed into the target for uclibc_target-clean
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-06 18:19:38 UTC (rev 17800)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-06 18:35:37 UTC (rev 17801)
@@ -335,7 +335,8 @@
uclibc_target: gcc uclibc $(TARGET_DIR)/usr/lib/libc.a $(TARGET_DIR)/usr/bin/ldd
uclibc_target-clean:
- rm -rf $(TARGET_DIR)/usr/include
+ rm -rf $(TARGET_DIR)/usr/include \
+ $(TARGET_DIR)/usr/lib/libc.a $(TARGET_DIR)/usr/bin/ldd
uclibc_target-dirclean:
rm -rf $(TARGET_DIR)/usr/include
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-05 13:01 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-02-05 13:01 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-05 05:01:08 -0800 (Mon, 05 Feb 2007)
New Revision: 17779
Log:
- proposed fix for gethostent_r: if no host was found, return HOST_NOT_FOUND instead of garbage.
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch 2007-02-05 13:01:08 UTC (rev 17779)
@@ -0,0 +1,13 @@
+Index: uClibc/libc/inet/resolv.c
+===================================================================
+--- uClibc/libc/inet/resolv.c (revision 17775)
++++ uClibc/libc/inet/resolv.c (working copy)
+@@ -1689,7 +1689,7 @@
+ int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen,
+ struct hostent **result, int *h_errnop)
+ {
+- int ret;
++ int ret = HOST_NOT_FOUND;
+
+ __UCLIBC_MUTEX_LOCK(mylock);
+ if (__gethostent_fp == NULL) {
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-02-02 13:50 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-02-02 13:50 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-02 05:50:23 -0800 (Fri, 02 Feb 2007)
New Revision: 17725
Log:
- fixup setting the UCLIBC_TARGET_ENDIAN
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-02 13:49:38 UTC (rev 17724)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-02-02 13:50:23 UTC (rev 17725)
@@ -32,7 +32,7 @@
UCLIBC_CAT:=$(BZCAT)
-UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
+UCLIBC_TARGET_ARCH:=$(shell $(SHELL) -c "echo $(ARCH) | sed -e s'/-.*//' \
-e 's/i.86/i386/' \
-e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/g' \
@@ -44,14 +44,14 @@
-e 's/mipsel.*/mips/' \
-e 's/cris.*/cris/' \
-e 's/nios2.*/nios2/' \
-)
+")
# just handle the ones that can be big or little
-UCLIBC_TARGET_ENDIAN:=$(shell echo $(ARCH) | sed \
+UCLIBC_TARGET_ENDIAN:=$(shell $(SHELL) -c "echo $(ARCH) | sed \
-e 's/armeb/BIG/' \
-e 's/arm/LITTLE/' \
-e 's/mipsel/LITTLE/' \
-e 's/mips/BIG/' \
-)
+")
ifneq ($(UCLIBC_TARGET_ENDIAN),LITTLE)
ifneq ($(UCLIBC_TARGET_ENDIAN),BIG)
UCLIBC_TARGET_ENDIAN:=
@@ -122,6 +122,14 @@
-e '/^# ARCH_WANTS_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=n,g}' \
$(UCLIBC_DIR)/.config
endif
+ifneq ($(UCLIBC_TARGET_ENDIAN),)
+ # The above doesn't work for me, so redo
+ $(SED) 's/.*\(ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
+ -e 's/.*\(ARCH_WANTS_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
+ -e 's/.*\(ARCH_$(UCLIBC_TARGET_ENDIAN)_ENDIAN\).*/\1=y/g' \
+ -e 's/.*\(ARCH_WANTS_$(UCLIBC_TARGET_ENDIAN)_ENDIAN\).*/\1=y/g' \
+ $(UCLIBC_DIR)/.config
+endif
ifeq ($(BR2_LARGEFILE),y)
$(SED) 's,.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' $(UCLIBC_DIR)/.config
else
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-30 17:45 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-01-30 17:45 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-30 09:45:30 -0800 (Tue, 30 Jan 2007)
New Revision: 17676
Log:
- add some defaults for arm and set them later on depending on the .config
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-01-30 17:38:41 UTC (rev 17675)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29.config 2007-01-30 17:45:30 UTC (rev 17676)
@@ -182,3 +182,20 @@
# EXTRA_WARNINGS is not set
# DOMULTI is not set
# UCLIBC_MJN3_ONLY is not set
+
+# USE_BX 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_ARM_SA110 is not set
+# CONFIG_ARM_SA1100 is not set
+# CONFIG_ARM_XSCALE is not set
+# CONFIG_ARM_IWMMXT is not set
+
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-30 17:38:41 UTC (rev 17675)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-30 17:45:30 UTC (rev 17676)
@@ -64,7 +64,6 @@
endif
$(DL_DIR)/$(UCLIBC_SOURCE):
- mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
ifneq ($(BR2_ENABLE_LOCALE),)
@@ -72,7 +71,6 @@
UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz
$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE):
- mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE_LOCALE)/$(UCLIBC_SOURCE_LOCALE)
UCLIBC_LOCALE_DATA:=$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE)
@@ -82,7 +80,6 @@
uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
- mkdir -p $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)-\*.patch
ifneq ($(BR2_ENABLE_LOCALE),)
@@ -103,9 +100,9 @@
-e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
$(UCLIBC_DIR)/.config
ifeq ($(UCLIBC_TARGET_ARCH),arm)
- $(SED) '/.*CONFIG_ARM.*/d' -e '/.*CONFIG_GENERIC_ARM.*/d' \
+ $(SED) 's/^\(CONFIG_[^_]*[_]*ARM[^=]*\)=.*/# \1 is not set/g' \
$(UCLIBC_DIR)/.config
- /bin/echo "CONFIG_$(shell echo $(BR2_ARM_TYPE))=y" >> \
+ /bin/echo "CONFIG_$(BR2_ARM_TYPE)=y" >> \
$(UCLIBC_DIR)/.config
ifeq ($(BR2_ARM_EABI),y)
/bin/echo "# CONFIG_ARM_OABI is not set" >> $(UCLIBC_DIR)/.config
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-29 22:23 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2007-01-29 22:23 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-01-29 14:22:59 -0800 (Mon, 29 Jan 2007)
New Revision: 17651
Log:
fix broken spot caused by my having checked in the wrong dst patch for 0.9.28
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch 2007-01-29 22:22:59 UTC (rev 17651)
@@ -0,0 +1,15 @@
+Index: libc/misc/time/time.c
+===================================================================
+--- a/libc/misc/time/time.c (revision 17534)
++++ b/libc/misc/time/time.c (revision 17647)
+@@ -158,7 +158,9 @@
+ #endif
+
+ #if defined (L_tzset) || defined (L_localtime_r) || defined(L_strftime) || \
+- defined(L__time_mktime) || defined(L__time_mktime_tzi)
++ defined(L__time_mktime) || defined(L__time_mktime_tzi) || \
++ ((defined(L_strftime) || defined(L_strftime_l)) && \
++ defined(__UCLIBC_HAS_XLOCALE__))
+
+ void _time_tzset (int);
+
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-29 22:21 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2007-01-29 22:21 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-01-29 14:21:57 -0800 (Mon, 29 Jan 2007)
New Revision: 17650
Log:
fix patch
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-new_dst_rules.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-new_dst_rules.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-new_dst_rules.patch 2007-01-29 22:12:53 UTC (rev 17649)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-new_dst_rules.patch 2007-01-29 22:21:57 UTC (rev 17650)
@@ -1,11 +1,13 @@
--- uClibc/libc/misc/time/time.c (revision 16488)
+++ uClibc/libc/misc/time/time.c (working copy)
-@@ -155,6 +155,20 @@
+@@ -157,6 +157,22 @@
#define TZNAME_MAX _POSIX_TZNAME_MAX
#endif
+#if defined (L_tzset) || defined (L_localtime_r) || defined(L_strftime) || \
-+ defined(L__time_mktime) || defined(L__time_mktime_tzi)
++ defined(L__time_mktime) || defined(L__time_mktime_tzi) || \
++ ((defined(L_strftime) || defined(L_strftime_l)) && \
++ defined(__UCLIBC_HAS_XLOCALE__))
+
+void _time_tzset (int);
+
@@ -21,16 +23,16 @@
/**********************************************************************/
/* The era code is currently unfinished. */
/* #define ENABLE_ERA_CODE */
-@@ -544,7 +558,7 @@
+@@ -532,7 +548,7 @@
{
- TZLOCK;
+ __UCLIBC_MUTEX_LOCK(_time_tzlock);
- tzset();
+ _time_tzset(*timer < new_rule_starts);
__time_localtime_tzi(timer, result, _time_tzinfo);
-@@ -968,7 +982,8 @@
+@@ -956,7 +972,8 @@
unsigned char mod;
unsigned char code;
@@ -40,7 +42,7 @@
lvl = 0;
p = format;
-@@ -1650,7 +1665,9 @@
+@@ -1644,7 +1661,9 @@
6, 0, 0, /* Note: overloaded for non-M non-J case... */
0, 1, 0, /* J */
',', 'M', '4', '.', '1', '.', '0',
@@ -51,7 +53,7 @@
};
#define TZ vals
-@@ -1658,6 +1675,7 @@
+@@ -1652,6 +1671,7 @@
#define RANGE (vals + 7)
#define RULE (vals + 11 - 1)
#define DEFAULT_RULES (vals + 22)
@@ -59,7 +61,7 @@
/* Initialize to UTC. */
int daylight = 0;
-@@ -1782,6 +1800,11 @@
+@@ -1774,6 +1794,11 @@
void tzset(void)
{
@@ -71,7 +73,7 @@
register const char *e;
register char *s;
long off;
-@@ -1904,7 +1927,15 @@
+@@ -1896,7 +1921,15 @@
} else { /* OK, we have dst, so get some rules. */
count = 0;
if (!*e) { /* No rules so default to US rules. */
@@ -88,7 +90,7 @@
}
do {
-@@ -2238,6 +2269,8 @@
+@@ -2230,6 +2263,8 @@
--d;
}
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-29 16:44 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2007-01-29 16:44 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2007-01-29 08:44:43 -0800 (Mon, 29 Jan 2007)
New Revision: 17636
Log:
Really disable HAS_FPU when softfloat is enabled
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-29 15:45:04 UTC (rev 17635)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-29 16:44:43 UTC (rev 17636)
@@ -133,7 +133,7 @@
$(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
ifeq ($(BR2_SOFT_FLOAT),y)
$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n,g' \
- -e 's,.*HAS_FPU.*,HAS_FPU=y,g' \
+ -e 's,.*HAS_FPU.*,HAS_FPU=n,g' \
-e 's,.*UCLIBC_HAS_FLOATS.*,UCLIBC_HAS_FLOATS=y,g' \
-e 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' \
$(UCLIBC_DIR)/.config
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-28 12:11 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-01-28 12:11 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-28 04:11:37 -0800 (Sun, 28 Jan 2007)
New Revision: 17594
Log:
- add 0.9.28.1
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2007-01-28 12:03:58 UTC (rev 17593)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2007-01-28 12:11:37 UTC (rev 17594)
@@ -12,6 +12,9 @@
config BR2_UCLIBC_VERSION_0_9_28
bool "uClibc 0.9.28"
+ config BR2_UCLIBC_VERSION_0_9_28_1
+ bool "uClibc 0.9.28.1"
+
config BR2_UCLIBC_VERSION_SNAPSHOT
bool "daily snapshot"
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-28 12:03:58 UTC (rev 17593)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-28 12:11:37 UTC (rev 17594)
@@ -16,7 +16,12 @@
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.29.config
endif
else
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_1),y)
+UCLIBC_VER:=0.9.28.1
+endif
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28),y)
UCLIBC_VER:=0.9.28
+endif
UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)
UCLIBC_SOURCE:=uClibc-$(UCLIBC_VER).tar.bz2
UCLIBC_SITE:=http://www.uclibc.org/downloads
@@ -24,6 +29,7 @@
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.28.config
endif
endif
+
UCLIBC_CAT:=$(BZCAT)
UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
@@ -78,7 +84,7 @@
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
mkdir -p $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)\*.patch
+ toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)-\*.patch
ifneq ($(BR2_ENABLE_LOCALE),)
cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
endif
@@ -120,13 +126,18 @@
$(UCLIBC_DIR)/.config
endif
ifeq ($(BR2_LARGEFILE),y)
- $(SED) 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' $(UCLIBC_DIR)/.config
else
- $(SED) 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=n,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=n,g' $(UCLIBC_DIR)/.config
endif
$(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
ifeq ($(BR2_SOFT_FLOAT),y)
- $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n\nHAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n,g' \
+ -e 's,.*HAS_FPU.*,HAS_FPU=y,g' \
+ -e 's,.*UCLIBC_HAS_FLOATS.*,UCLIBC_HAS_FLOATS=y,g' \
+ -e 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' \
+ $(UCLIBC_DIR)/.config
+ #$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n\nHAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config
else
$(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=y\nHAS_FPU=y\nUCLIBC_HAS_FLOATS=y\n,g' $(UCLIBC_DIR)/.config
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-25 20:27 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2007-01-25 20:27 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-01-25 12:27:27 -0800 (Thu, 25 Jan 2007)
New Revision: 17518
Log:
A patch set that should probably become uClibc-0.9.28.1
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-host-ldconfig.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-ldso.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-math-endianness.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-mutex-cancel.patch
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-new_dst_rules.patch
Changeset:
Sorry, the patch is too large to include (14831 lines).
Please use ViewCVS to see it!
http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=17518
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-24 15:12 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-01-24 15:12 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-24 07:12:12 -0800 (Wed, 24 Jan 2007)
New Revision: 17500
Log:
- apply vapier's comments
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff 2007-01-24 14:50:27 UTC (rev 17499)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff 2007-01-24 15:12:12 UTC (rev 17500)
@@ -219,7 +219,7 @@
if ((n = fputs_unlocked(s, stream)) != EOF) {
++n;
- if (__fputc_unlocked('\n', stream) == EOF) {
-+ if (__FPUTC_UNLOCKED('\n', stream) == EOF) {
++ if (fputc_unlocked('\n', stream) == EOF) {
n = EOF;
}
}
@@ -411,9 +411,9 @@
libc_hidden_proto(fflush)
-libc_hidden_proto(fputc)
-libc_hidden_proto(__fputc_unlocked)
-+#ifdef __UCLIBC_HAS_STDIO_PUTC_MACRO__
++//#ifdef __UCLIBC_HAS_STDIO_PUTC_MACRO__
+libc_hidden_proto(fputc_unlocked)
-+#endif
++//#endif
/* This variable is incremented each time `error' is called. */
unsigned int error_message_count = 0;
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-21 21:11 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-01-21 21:11 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-21 13:11:56 -0800 (Sun, 21 Jan 2007)
New Revision: 17441
Log:
- update proposed patchlet
Modified:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff 2007-01-21 19:21:21 UTC (rev 17440)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff 2007-01-21 21:11:56 UTC (rev 17441)
@@ -37,7 +37,7 @@
libc_hidden_proto(fopen)
libc_hidden_proto(fclose)
libc_hidden_proto(fprintf)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
@@ -92,90 +92,11 @@
libc_hidden_proto(fclose)
libc_hidden_proto(getc_unlocked)
-libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
+libc_hidden_proto(fgetc_unlocked)
#ifdef __UCLIBC_HAS_WCHAR__
libc_hidden_proto(wcslen)
libc_hidden_proto(vfwscanf)
-@@ -506,7 +507,7 @@ enum {
- FLAG_THOUSANDS = 0x20,
- FLAG_I18N = 0x40, /* only works for d, i, u */
- FLAG_MALLOC = 0x80, /* only works for s, S, and [ (and l[)*/
--};
-+};
-
-
- #define SPEC_RANGES { CONV_n, CONV_p, CONV_i, CONV_A, \
-@@ -1024,7 +1025,7 @@ static int scan_getwc(register struct sc
- __set_errno(EILSEQ); /* In case of incomplete conversion. */
- sc->mb_fail = 1;
- }
--
-+
- SUCCESS:
- sc->width = width; /* Restore width. */
-
-@@ -1366,7 +1367,7 @@ int VFSCANF (FILE *__restrict fp, const
-
- if (psfs.conv_num == CONV_percent) {
- goto MATCH_CHAR;
-- }
-+ }
-
- if (psfs.conv_num == CONV_n) {
- #ifdef __UCLIBC_MJN3_ONLY__
-@@ -1410,7 +1411,6 @@ int VFSCANF (FILE *__restrict fp, const
- {
- b = (psfs.store ? ((unsigned char *) psfs.cur_ptr) : buf);
- fail = 1;
--
-
- if (psfs.conv_num == CONV_c) {
- if (sc.width == INT_MAX) {
-@@ -1451,7 +1451,7 @@ int VFSCANF (FILE *__restrict fp, const
- if (*++fmt == '^') {
- ++fmt;
- invert = 1;
-- }
-+ }
- memset(scanset, invert, sizeof(scanset));
- invert = 1-invert;
-
-@@ -1519,7 +1519,7 @@ int VFSCANF (FILE *__restrict fp, const
-
- wb = (psfs.store ? ((wchar_t *) psfs.cur_ptr) : wbuf);
- fail = 1;
--
-+
- if (psfs.conv_num == CONV_C) {
- if (sc.width == INT_MAX) {
- sc.width = 1;
-@@ -1796,7 +1796,6 @@ int attribute_hidden __psfs_do_numeric(p
- unsigned char usflag, base;
- unsigned char nonzero = 0;
- unsigned char seendigit = 0;
--
-
- #ifdef __UCLIBC_MJN3_ONLY__
- #warning CONSIDER: What should be returned for an invalid conversion specifier?
-@@ -2210,7 +2209,7 @@ int attribute_hidden __psfs_do_numeric(p
- assert(seendigit);
- seendigit = 0;
- nonzero = 0;
--
-+
- if (sc->cc == '0') {
- seendigit = 1;
- *b++ = '0';
-@@ -2226,7 +2225,7 @@ int attribute_hidden __psfs_do_numeric(p
- }
- __scan_getc(sc);
- }
--
-+
- if (!seendigit) { /* No digits. Unrecoverable. */
- goto DONE_DO_UNGET;
- }
Index: uClibc_trunk/libc/stdio/putwchar.c
===================================================================
--- uClibc_trunk/libc/stdio/putwchar.c (revision 17397)
@@ -185,7 +106,7 @@
#elif defined __UCLIBC_HAS_THREADS__
-libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
/* psm: should this be fputwc? */
libc_hidden_proto(fputc)
@@ -199,7 +120,7 @@
#include "_stdio.h"
-libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
+libc_hidden_proto(fgetc_unlocked)
#undef getchar
@@ -213,7 +134,7 @@
#include "_stdio.h"
-libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
#undef putchar
@@ -274,7 +195,7 @@
libc_hidden_proto(getdelim)
-
-libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
+libc_hidden_proto(fgetc_unlocked)
/* Note: There is a defect in this function. (size_t vs ssize_t). */
@@ -288,7 +209,7 @@
#include "_stdio.h"
-libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
libc_hidden_proto(fputs_unlocked)
@@ -311,7 +232,7 @@
libc_hidden_proto(memcpy)
libc_hidden_proto(putc_unlocked)
-libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
libc_hidden_proto(__glibc_strerror_r)
@@ -376,7 +297,7 @@
libc_hidden_proto(fputc)
libc_hidden_proto(putc)
-libc_hidden_proto(__fputc_unlocked)
-+#undef fputc_unlocked
++//#undef fputc_unlocked
+libc_hidden_proto(fputc_unlocked)
/* It is desirable to use this bit on systems that have it.
@@ -423,7 +344,7 @@
( ((__stream)->__bufpos < (__stream)->__bufgetc_u) \
? (*(__stream)->__bufpos++) \
- : __fgetc_unlocked(__stream) )
-+ : fgetc_unlocked(__stream) )
++ : (fgetc_unlocked)(__stream) )
# if 0
/* Classic macro approach. getc{_unlocked} can have side effects. */
@@ -445,7 +366,7 @@
( ((__stream)->__bufpos < (__stream)->__bufputc_u) \
? (*(__stream)->__bufpos++) = (__c) \
- : __fputc_unlocked((__c),(__stream)) )
-+ : fputc_unlocked((__c),(__stream)) )
++ : (fputc_unlocked)((__c),(__stream)) )
# if 0
/* Classic macro approach. putc{_unlocked} can have side effects.*/
@@ -467,10 +388,10 @@
libc_hidden_proto(__fsetlocking)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets_unlocked)
-+#undef getc_unlocked
++//#undef getc_unlocked
libc_hidden_proto(getc_unlocked)
-libc_hidden_proto(__fgetc_unlocked)
-+#undef fgetc_unlocked
++//#undef fgetc_unlocked
+libc_hidden_proto(fgetc_unlocked)
libc_hidden_proto(fopen)
libc_hidden_proto(fclose)
@@ -483,7 +404,7 @@
libc_hidden_proto(strerror)
libc_hidden_proto(fprintf)
libc_hidden_proto(exit)
-+#undef putc
++//#undef putc
libc_hidden_proto(putc)
+libc_hidden_proto(fputc)
libc_hidden_proto(vfprintf)
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-20 22:03 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-01-20 22:03 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-20 14:03:08 -0800 (Sat, 20 Jan 2007)
New Revision: 17425
Log:
- add proposed, non-cleanup version of the compile fix for disabled getc/putc macros for vapier to look at
It even creates smaller code as compared to current svn..
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
Changeset:
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff 2007-01-20 22:03:08 UTC (rev 17425)
@@ -0,0 +1,498 @@
+Index: uClibc_trunk/libc/inet/rpc/rcmd.c
+===================================================================
+--- uClibc_trunk/libc/inet/rpc/rcmd.c (revision 17397)
++++ uClibc_trunk/libc/inet/rpc/rcmd.c (working copy)
+@@ -126,7 +126,7 @@ libc_hidden_proto(accept)
+ libc_hidden_proto(listen)
+ libc_hidden_proto(sigsetmask)
+ libc_hidden_proto(getc_unlocked)
+-libc_hidden_proto(__fgetc_unlocked)
++//libc_hidden_proto(fgetc_unlocked)
+ libc_hidden_proto(fopen)
+ libc_hidden_proto(fclose)
+ libc_hidden_proto(fprintf)
+Index: uClibc_trunk/libc/inet/rpc/ruserpass.c
+===================================================================
+--- uClibc_trunk/libc/inet/rpc/ruserpass.c (revision 17397)
++++ uClibc_trunk/libc/inet/rpc/ruserpass.c (working copy)
+@@ -63,7 +63,7 @@ libc_hidden_proto(fileno)
+ libc_hidden_proto(fopen)
+ libc_hidden_proto(fclose)
+ libc_hidden_proto(getc_unlocked)
+-libc_hidden_proto(__fgetc_unlocked)
++//libc_hidden_proto(__fgetc_unlocked)
+
+ #define _(X) (X)
+ /* #include "ftp_var.h" */
+Index: uClibc_trunk/libc/pwd_grp/pwd_grp.c
+===================================================================
+--- uClibc_trunk/libc/pwd_grp/pwd_grp.c (revision 17397)
++++ uClibc_trunk/libc/pwd_grp/pwd_grp.c (working copy)
+@@ -43,11 +43,12 @@ libc_hidden_proto(strlen)
+ libc_hidden_proto(strtoul)
+ libc_hidden_proto(rewind)
+ libc_hidden_proto(fgets_unlocked)
+-libc_hidden_proto(__fputc_unlocked)
+ libc_hidden_proto(sprintf)
+ libc_hidden_proto(fopen)
+ libc_hidden_proto(fclose)
+ libc_hidden_proto(fprintf)
++#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
+ #ifdef __UCLIBC_HAS_XLOCALE__
+ libc_hidden_proto(__ctype_b_loc)
+ #elif __UCLIBC_HAS_CTYPE_TABLES__
+@@ -809,7 +810,7 @@ int putgrent(const struct group *__restr
+
+ do {
+ if (!*m) {
+- if (__fputc_unlocked('\n', f) >= 0) {
++ if (fputc_unlocked('\n', f) >= 0) {
+ rv = 0;
+ }
+ break;
+@@ -875,7 +876,7 @@ int putspent(const struct spwd *p, FILE
+ goto DO_UNLOCK;
+ }
+
+- if (__fputc_unlocked('\n', stream) > 0) {
++ if (fputc_unlocked('\n', stream) > 0) {
+ rv = 0;
+ }
+
+Index: uClibc_trunk/libc/stdio/fgets.c
+===================================================================
+--- uClibc_trunk/libc/stdio/fgets.c (revision 17397)
++++ uClibc_trunk/libc/stdio/fgets.c (working copy)
+@@ -10,8 +10,7 @@
+ libc_hidden_proto(fgets_unlocked)
+
+ #ifdef __DO_UNLOCKED
+-
+-libc_hidden_proto(__fgetc_unlocked)
++libc_hidden_proto(fgetc_unlocked)
+
+ char *fgets_unlocked(char *__restrict s, int n,
+ register FILE * __restrict stream)
+@@ -38,7 +37,7 @@ char *fgets_unlocked(char *__restrict s,
+ break;
+ }
+ } else {
+- if ((c = __fgetc_unlocked(stream)) == EOF) {
++ if ((c = fgetc_unlocked(stream)) == EOF) {
+ if (__FERROR_UNLOCKED(stream)) {
+ goto ERROR;
+ }
+Index: uClibc_trunk/libc/stdio/_scanf.c
+===================================================================
+--- uClibc_trunk/libc/stdio/_scanf.c (revision 17397)
++++ uClibc_trunk/libc/stdio/_scanf.c (working copy)
+@@ -86,7 +86,8 @@ libc_hidden_proto(vfscanf)
+ libc_hidden_proto(vsscanf)
+ libc_hidden_proto(fclose)
+ libc_hidden_proto(getc_unlocked)
+-libc_hidden_proto(__fgetc_unlocked)
++#undef fgetc_unlocked
++libc_hidden_proto(fgetc_unlocked)
+ #ifdef __UCLIBC_HAS_WCHAR__
+ libc_hidden_proto(wcslen)
+ libc_hidden_proto(vfwscanf)
+@@ -506,7 +507,7 @@ enum {
+ FLAG_THOUSANDS = 0x20,
+ FLAG_I18N = 0x40, /* only works for d, i, u */
+ FLAG_MALLOC = 0x80, /* only works for s, S, and [ (and l[)*/
+-};
++};
+
+
+ #define SPEC_RANGES { CONV_n, CONV_p, CONV_i, CONV_A, \
+@@ -1024,7 +1025,7 @@ static int scan_getwc(register struct sc
+ __set_errno(EILSEQ); /* In case of incomplete conversion. */
+ sc->mb_fail = 1;
+ }
+-
++
+ SUCCESS:
+ sc->width = width; /* Restore width. */
+
+@@ -1366,7 +1367,7 @@ int VFSCANF (FILE *__restrict fp, const
+
+ if (psfs.conv_num == CONV_percent) {
+ goto MATCH_CHAR;
+- }
++ }
+
+ if (psfs.conv_num == CONV_n) {
+ #ifdef __UCLIBC_MJN3_ONLY__
+@@ -1410,7 +1411,6 @@ int VFSCANF (FILE *__restrict fp, const
+ {
+ b = (psfs.store ? ((unsigned char *) psfs.cur_ptr) : buf);
+ fail = 1;
+-
+
+ if (psfs.conv_num == CONV_c) {
+ if (sc.width == INT_MAX) {
+@@ -1451,7 +1451,7 @@ int VFSCANF (FILE *__restrict fp, const
+ if (*++fmt == '^') {
+ ++fmt;
+ invert = 1;
+- }
++ }
+ memset(scanset, invert, sizeof(scanset));
+ invert = 1-invert;
+
+@@ -1519,7 +1519,7 @@ int VFSCANF (FILE *__restrict fp, const
+
+ wb = (psfs.store ? ((wchar_t *) psfs.cur_ptr) : wbuf);
+ fail = 1;
+-
++
+ if (psfs.conv_num == CONV_C) {
+ if (sc.width == INT_MAX) {
+ sc.width = 1;
+@@ -1796,7 +1796,6 @@ int attribute_hidden __psfs_do_numeric(p
+ unsigned char usflag, base;
+ unsigned char nonzero = 0;
+ unsigned char seendigit = 0;
+-
+
+ #ifdef __UCLIBC_MJN3_ONLY__
+ #warning CONSIDER: What should be returned for an invalid conversion specifier?
+@@ -2210,7 +2209,7 @@ int attribute_hidden __psfs_do_numeric(p
+ assert(seendigit);
+ seendigit = 0;
+ nonzero = 0;
+-
++
+ if (sc->cc == '0') {
+ seendigit = 1;
+ *b++ = '0';
+@@ -2226,7 +2225,7 @@ int attribute_hidden __psfs_do_numeric(p
+ }
+ __scan_getc(sc);
+ }
+-
++
+ if (!seendigit) { /* No digits. Unrecoverable. */
+ goto DONE_DO_UNGET;
+ }
+Index: uClibc_trunk/libc/stdio/putwchar.c
+===================================================================
+--- uClibc_trunk/libc/stdio/putwchar.c (revision 17397)
++++ uClibc_trunk/libc/stdio/putwchar.c (working copy)
+@@ -22,7 +22,8 @@ strong_alias(putwchar_unlocked,putwchar)
+
+ #elif defined __UCLIBC_HAS_THREADS__
+
+-libc_hidden_proto(__fputc_unlocked)
++#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
+ /* psm: should this be fputwc? */
+ libc_hidden_proto(fputc)
+
+Index: uClibc_trunk/libc/stdio/getchar.c
+===================================================================
+--- uClibc_trunk/libc/stdio/getchar.c (revision 17397)
++++ uClibc_trunk/libc/stdio/getchar.c (working copy)
+@@ -7,7 +7,8 @@
+
+ #include "_stdio.h"
+
+-libc_hidden_proto(__fgetc_unlocked)
++#undef fgetc_unlocked
++libc_hidden_proto(fgetc_unlocked)
+
+ #undef getchar
+ #ifdef __DO_UNLOCKED
+Index: uClibc_trunk/libc/stdio/putchar.c
+===================================================================
+--- uClibc_trunk/libc/stdio/putchar.c (revision 17397)
++++ uClibc_trunk/libc/stdio/putchar.c (working copy)
+@@ -7,7 +7,8 @@
+
+ #include "_stdio.h"
+
+-libc_hidden_proto(__fputc_unlocked)
++#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
+
+ #undef putchar
+ #ifdef __DO_UNLOCKED
+Index: uClibc_trunk/libc/stdio/fputc.c
+===================================================================
+--- uClibc_trunk/libc/stdio/fputc.c (revision 17397)
++++ uClibc_trunk/libc/stdio/fputc.c (working copy)
+@@ -12,11 +12,11 @@
+ #undef putc
+ #undef putc_unlocked
+
+-libc_hidden_proto(__fputc_unlocked)
++libc_hidden_proto(fputc_unlocked)
+
+ #ifdef __DO_UNLOCKED
+
+-int __fputc_unlocked(int c, register FILE *stream)
++int fputc_unlocked(int c, register FILE *stream)
+ {
+ __STDIO_STREAM_VALIDATE(stream);
+
+@@ -70,20 +70,20 @@ int __fputc_unlocked(int c, register FIL
+ BAD:
+ return EOF;
+ }
+-libc_hidden_def(__fputc_unlocked)
+-
+-libc_hidden_proto(fputc_unlocked)
+-strong_alias(__fputc_unlocked,fputc_unlocked)
+ libc_hidden_def(fputc_unlocked)
+
++//libc_hidden_proto(fputc_unlocked)
++//strong_alias(__fputc_unlocked,fputc_unlocked)
++//libc_hidden_def(fputc_unlocked)
++
+ libc_hidden_proto(putc_unlocked)
+-strong_alias(__fputc_unlocked,putc_unlocked)
++strong_alias(fputc_unlocked,putc_unlocked)
+ libc_hidden_def(putc_unlocked)
+ #ifndef __UCLIBC_HAS_THREADS__
+-strong_alias(__fputc_unlocked,fputc)
++strong_alias(fputc_unlocked,fputc)
+
+ libc_hidden_proto(putc)
+-strong_alias(__fputc_unlocked,putc)
++strong_alias(fputc_unlocked,putc)
+ libc_hidden_def(putc)
+ #endif
+
+Index: uClibc_trunk/libc/stdio/getdelim.c
+===================================================================
+--- uClibc_trunk/libc/stdio/getdelim.c (revision 17397)
++++ uClibc_trunk/libc/stdio/getdelim.c (working copy)
+@@ -11,8 +11,8 @@
+ #include "_stdio.h"
+
+ libc_hidden_proto(getdelim)
+-
+-libc_hidden_proto(__fgetc_unlocked)
++#undef fgetc_unlocked
++libc_hidden_proto(fgetc_unlocked)
+
+ /* Note: There is a defect in this function. (size_t vs ssize_t). */
+
+Index: uClibc_trunk/libc/stdio/puts.c
+===================================================================
+--- uClibc_trunk/libc/stdio/puts.c (revision 17397)
++++ uClibc_trunk/libc/stdio/puts.c (working copy)
+@@ -7,7 +7,8 @@
+
+ #include "_stdio.h"
+
+-libc_hidden_proto(__fputc_unlocked)
++#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
+ libc_hidden_proto(fputs_unlocked)
+
+ int puts(register const char * __restrict s)
+@@ -25,7 +26,7 @@ int puts(register const char * __restric
+ /* Note: Nonportable as fputs need only return nonnegative on success. */
+ if ((n = fputs_unlocked(s, stream)) != EOF) {
+ ++n;
+- if (__fputc_unlocked('\n', stream) == EOF) {
++ if (__FPUTC_UNLOCKED('\n', stream) == EOF) {
+ n = EOF;
+ }
+ }
+Index: uClibc_trunk/libc/stdio/old_vfprintf.c
+===================================================================
+--- uClibc_trunk/libc/stdio/old_vfprintf.c (revision 17397)
++++ uClibc_trunk/libc/stdio/old_vfprintf.c (working copy)
+@@ -149,7 +149,8 @@ libc_hidden_proto(strlen)
+ libc_hidden_proto(strnlen)
+ libc_hidden_proto(memcpy)
+ libc_hidden_proto(putc_unlocked)
+-libc_hidden_proto(__fputc_unlocked)
++#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
+ libc_hidden_proto(__glibc_strerror_r)
+
+ /* #undef __UCLIBC_HAS_FLOATS__ */
+Index: uClibc_trunk/libc/stdio/fgetc.c
+===================================================================
+--- uClibc_trunk/libc/stdio/fgetc.c (revision 17397)
++++ uClibc_trunk/libc/stdio/fgetc.c (working copy)
+@@ -13,13 +13,13 @@
+ #undef getc
+ #undef getc_unlocked
+
+-libc_hidden_proto(__fgetc_unlocked)
++libc_hidden_proto(fgetc_unlocked)
+
+ #ifdef __DO_UNLOCKED
+
+ libc_hidden_proto(fflush_unlocked)
+
+-int __fgetc_unlocked(FILE *stream)
++int fgetc_unlocked(FILE *stream)
+ {
+ __STDIO_STREAM_VALIDATE(stream);
+
+@@ -73,26 +73,22 @@ int __fgetc_unlocked(FILE *stream)
+
+ return EOF;
+ }
+-libc_hidden_def(__fgetc_unlocked)
+-
+-libc_hidden_proto(fgetc_unlocked)
+-strong_alias(__fgetc_unlocked,fgetc_unlocked)
+ libc_hidden_def(fgetc_unlocked)
+
+ //libc_hidden_proto(__getc_unlocked)
+-//strong_alias(__fgetc_unlocked,__getc_unlocked)
++//strong_alias(fgetc_unlocked,__getc_unlocked)
+ //libc_hidden_def(__getc_unlocked)
+
+ libc_hidden_proto(getc_unlocked)
+-strong_alias(__fgetc_unlocked,getc_unlocked)
++strong_alias(fgetc_unlocked,getc_unlocked)
+ libc_hidden_def(getc_unlocked)
+
+ #ifndef __UCLIBC_HAS_THREADS__
+ libc_hidden_proto(fgetc)
+-strong_alias(__fgetc_unlocked,fgetc)
++strong_alias(fgetc_unlocked,fgetc)
+ libc_hidden_def(fgetc)
+
+-strong_alias(__fgetc_unlocked,getc)
++strong_alias(fgetc_unlocked,getc)
+ #endif
+
+ #elif defined __UCLIBC_HAS_THREADS__
+Index: uClibc_trunk/libc/unistd/getpass.c
+===================================================================
+--- uClibc_trunk/libc/unistd/getpass.c (revision 17397)
++++ uClibc_trunk/libc/unistd/getpass.c (working copy)
+@@ -36,7 +36,8 @@ libc_hidden_proto(fgets)
+ libc_hidden_proto(fputs)
+ libc_hidden_proto(fputc)
+ libc_hidden_proto(putc)
+-libc_hidden_proto(__fputc_unlocked)
++#undef fputc_unlocked
++libc_hidden_proto(fputc_unlocked)
+
+ /* It is desirable to use this bit on systems that have it.
+ The only bit of terminal state we want to twiddle is echoing, which is
+Index: uClibc_trunk/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+===================================================================
+--- uClibc_trunk/libc/sysdeps/linux/common/bits/uClibc_stdio.h (revision 17397)
++++ uClibc_trunk/libc/sysdeps/linux/common/bits/uClibc_stdio.h (working copy)
+@@ -381,32 +381,29 @@ extern void __stdio_init_mutex(__UCLIBC_
+ # define __FEOF(__stream) __FEOF_UNLOCKED(__stream)
+ #endif
+
+-extern int __fgetc_unlocked(FILE *__stream);
+-extern int __fputc_unlocked(int __c, FILE *__stream);
+-
+-/* First define the default definitions. They overriden below as necessary. */
+-#define __FGETC_UNLOCKED(__stream) (__fgetc_unlocked)((__stream))
++/* First define the default definitions.
++ * They are overridden as necessary. */
++#define __FGETC_UNLOCKED(__stream) (fgetc_unlocked)((__stream))
+ #define __FGETC(__stream) (fgetc)((__stream))
+-#define __GETC_UNLOCKED_MACRO(__stream) (__fgetc_unlocked)((__stream))
+-#define __GETC_UNLOCKED(__stream) (__fgetc_unlocked)((__stream))
++#define __GETC_UNLOCKED_MACRO(__stream) (fgetc_unlocked)((__stream))
++#define __GETC_UNLOCKED(__stream) (fgetc_unlocked)((__stream))
+ #define __GETC(__stream) (fgetc)((__stream))
+
+-#define __FPUTC_UNLOCKED(__c, __stream) (__fputc_unlocked)((__c),(__stream))
++#define __FPUTC_UNLOCKED(__c, __stream) (fputc_unlocked)((__c),(__stream))
+ #define __FPUTC(__c, __stream) (fputc)((__c),(__stream))
+-#define __PUTC_UNLOCKED_MACRO(__c, __stream) (__fputc_unlocked)((__c),(__stream))
+-#define __PUTC_UNLOCKED(__c, __stream) (__fputc_unlocked)((__c),(__stream))
++#define __PUTC_UNLOCKED_MACRO(__c, __stream) (fputc_unlocked)((__c),(__stream))
++#define __PUTC_UNLOCKED(__c, __stream) (fputc_unlocked)((__c),(__stream))
+ #define __PUTC(__c, __stream) (fputc)((__c),(__stream))
+
+
+ #ifdef __STDIO_GETC_MACRO
+-
+ extern FILE *__stdin; /* For getchar() macro. */
+
+ # undef __GETC_UNLOCKED_MACRO
+ # define __GETC_UNLOCKED_MACRO(__stream) \
+ ( ((__stream)->__bufpos < (__stream)->__bufgetc_u) \
+ ? (*(__stream)->__bufpos++) \
+- : __fgetc_unlocked(__stream) )
++ : fgetc_unlocked(__stream) )
+
+ # if 0
+ /* Classic macro approach. getc{_unlocked} can have side effects. */
+@@ -452,20 +449,17 @@ extern FILE *__stdin; /* For getchar()
+ # endif
+ # endif
+
+-#else
+-
+ #endif /* __STDIO_GETC_MACRO */
+
+
+ #ifdef __STDIO_PUTC_MACRO
+-
+ extern FILE *__stdout; /* For putchar() macro. */
+
+ # undef __PUTC_UNLOCKED_MACRO
+ # define __PUTC_UNLOCKED_MACRO(__c, __stream) \
+ ( ((__stream)->__bufpos < (__stream)->__bufputc_u) \
+ ? (*(__stream)->__bufpos++) = (__c) \
+- : __fputc_unlocked((__c),(__stream)) )
++ : fputc_unlocked((__c),(__stream)) )
+
+ # if 0
+ /* Classic macro approach. putc{_unlocked} can have side effects.*/
+@@ -488,7 +482,8 @@ extern FILE *__stdout; /* For putchar(
+ }) )
+
+ # undef __PUTC_UNLOCKED
+-# define __PUTC_UNLOCKED(__c, __stream) __FPUTC_UNLOCKED((__c), (__stream))
++# define __PUTC_UNLOCKED(__c, __stream) \
++ __FPUTC_UNLOCKED((__c), (__stream))
+
+ # ifdef __UCLIBC_HAS_THREADS__
+ # undef __FPUTC
+Index: uClibc_trunk/libc/misc/ttyent/getttyent.c
+===================================================================
+--- uClibc_trunk/libc/misc/ttyent/getttyent.c (revision 17397)
++++ uClibc_trunk/libc/misc/ttyent/getttyent.c (working copy)
+@@ -44,8 +44,10 @@ libc_hidden_proto(strncmp)
+ libc_hidden_proto(__fsetlocking)
+ libc_hidden_proto(rewind)
+ libc_hidden_proto(fgets_unlocked)
++#undef getc_unlocked
+ libc_hidden_proto(getc_unlocked)
+-libc_hidden_proto(__fgetc_unlocked)
++#undef fgetc_unlocked
++libc_hidden_proto(fgetc_unlocked)
+ libc_hidden_proto(fopen)
+ libc_hidden_proto(fclose)
+ libc_hidden_proto(abort)
+Index: uClibc_trunk/libc/misc/error/error.c
+===================================================================
+--- uClibc_trunk/libc/misc/error/error.c (revision 17397)
++++ uClibc_trunk/libc/misc/error/error.c (working copy)
+@@ -30,11 +30,14 @@ libc_hidden_proto(strcmp)
+ libc_hidden_proto(strerror)
+ libc_hidden_proto(fprintf)
+ libc_hidden_proto(exit)
++#undef putc
+ libc_hidden_proto(putc)
++libc_hidden_proto(fputc)
+ libc_hidden_proto(vfprintf)
+ libc_hidden_proto(fflush)
+-libc_hidden_proto(fputc)
+-libc_hidden_proto(__fputc_unlocked)
++#ifdef __UCLIBC_HAS_STDIO_PUTC_MACRO__
++libc_hidden_proto(fputc_unlocked)
++#endif
+
+ /* This variable is incremented each time `error' is called. */
+ unsigned int error_message_count = 0;
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2007-01-16 9:35 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2007-01-16 9:35 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-16 01:35:11 -0800 (Tue, 16 Jan 2007)
New Revision: 17324
Log:
- pass the selected arm variant and ABI setting down to uClibc.
Now does not prompt for the former entered arch variant and ABI setting anymore, but still does for USE_BX (should this be forced to y if supported?)
- TODO: add missing variants that are supported by uClibc to buildroot
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-16 08:10:27 UTC (rev 17323)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2007-01-16 09:35:11 UTC (rev 17324)
@@ -97,12 +97,19 @@
-e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
$(UCLIBC_DIR)/.config
ifeq ($(UCLIBC_TARGET_ARCH),arm)
- $(SED) 's,^.*CONFIG_$(shell echo $(BR2_ARM_TYPE)).*,CONFIG_$(shell echo $(BR2_ARM_TYPE))=y,g' \
- $(UCLIBC_DIR)/.config
-endif
+ $(SED) '/.*CONFIG_ARM.*/d' -e '/.*CONFIG_GENERIC_ARM.*/d' \
+ $(UCLIBC_DIR)/.config
+ /bin/echo "CONFIG_$(shell echo $(BR2_ARM_TYPE))=y" >> \
+ $(UCLIBC_DIR)/.config
ifeq ($(BR2_ARM_EABI),y)
- $(SED) 's,# CONFIG_ARM_EABI is not set,CONFIG_ARM_EABI=y,g' $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_ARM_OABI is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "CONFIG_ARM_EABI=y" >> $(UCLIBC_DIR)/.config
endif
+ifeq ($(BR2_ARM_OABI),y)
+ /bin/echo "CONFIG_ARM_OABI=y" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_ARM_EABI is not set" >> $(UCLIBC_DIR)/.config
+endif
+endif
ifneq ($(UCLIBC_TARGET_ENDIAN),)
$(SED) '/^# ARCH_$(UCLIBC_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=y,g}' \
-e '/^# ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=n,g}' \
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-15 14:40 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2006-12-15 14:40 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2006-12-15 06:40:55 -0800 (Fri, 15 Dec 2006)
New Revision: 16946
Log:
- s/UCLIBC_HAS_LOCALE/BR2_ENABLE_LOCALE/g
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-15 14:37:02 UTC (rev 16945)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-15 14:40:55 UTC (rev 16946)
@@ -26,9 +26,6 @@
endif
UCLIBC_CAT:=$(BZCAT)
-UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads
-UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz
-
UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
-e 's/i.86/i386/' \
-e 's/sparc.*/sparc/' \
@@ -63,7 +60,11 @@
$(DL_DIR)/$(UCLIBC_SOURCE):
mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
-ifneq ($(UCLIBC_HAS_LOCALE),)
+
+ifneq ($(BR2_ENABLE_LOCALE),)
+UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads
+UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz
+
$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE):
mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE_LOCALE)/$(UCLIBC_SOURCE_LOCALE)
@@ -78,8 +79,8 @@
mkdir -p $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)\*.patch
-ifneq ($(UCLIBC_HAS_LOCALE),)
- cp -p $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
+ifneq ($(BR2_ENABLE_LOCALE),)
+ cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
endif
touch $(UCLIBC_DIR)/.unpacked
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-15 13:39 aldot at uclibc.org
2006-12-15 14:31 ` Ulrich Hecht
0 siblings, 1 reply; 134+ messages in thread
From: aldot at uclibc.org @ 2006-12-15 13:39 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2006-12-15 05:39:26 -0800 (Fri, 15 Dec 2006)
New Revision: 16941
Log:
- Only care about the locale stuff if we have locale in the first place.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-15 13:36:48 UTC (rev 16940)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-15 13:39:26 UTC (rev 16941)
@@ -63,17 +63,24 @@
$(DL_DIR)/$(UCLIBC_SOURCE):
mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
-
+ifneq ($(UCLIBC_HAS_LOCALE),)
$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE):
mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE_LOCALE)/$(UCLIBC_SOURCE_LOCALE)
+UCLIBC_LOCALE_DATA:=$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE)
+else
+UCLIBC_LOCALE_DATA=
+endif
+
uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
-$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE)
+$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
mkdir -p $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)\*.patch
+ifneq ($(UCLIBC_HAS_LOCALE),)
cp -p $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
+endif
touch $(UCLIBC_DIR)/.unpacked
# Some targets may wish to provide their own UCLIBC_CONFIG_FILE...
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2006-12-15 13:39 aldot at uclibc.org
@ 2006-12-15 14:31 ` Ulrich Hecht
2006-12-15 14:43 ` Bernhard Fischer
0 siblings, 1 reply; 134+ messages in thread
From: Ulrich Hecht @ 2006-12-15 14:31 UTC (permalink / raw)
To: buildroot
Hi!
On Friday 15 December 2006 14:39, aldot at uclibc.org wrote:
> Log:
> - Only care about the locale stuff if we have locale in the first
> place.
[...]
> +ifneq ($(UCLIBC_HAS_LOCALE),)
I guess that should have been BR2_ENABLE_LOCALE. UCLIBC_HAS_LOCALE is
from the uClibc config file.
CU
Uli
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
2006-12-15 14:31 ` Ulrich Hecht
@ 2006-12-15 14:43 ` Bernhard Fischer
0 siblings, 0 replies; 134+ messages in thread
From: Bernhard Fischer @ 2006-12-15 14:43 UTC (permalink / raw)
To: buildroot
On Fri, Dec 15, 2006 at 03:31:04PM +0100, Ulrich Hecht wrote:
>Hi!
>
>On Friday 15 December 2006 14:39, aldot at uclibc.org wrote:
>> Log:
>> - Only care about the locale stuff if we have locale in the first
>> place.
>[...]
>> +ifneq ($(UCLIBC_HAS_LOCALE),)
>
>I guess that should have been BR2_ENABLE_LOCALE. UCLIBC_HAS_LOCALE is
>from the uClibc config file.
Right. Thanks for spotting this..
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-14 15:17 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2006-12-14 15:17 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2006-12-14 07:17:39 -0800 (Thu, 14 Dec 2006)
New Revision: 16923
Log:
Ulrich Hecht writes: This patch downloads uClibc-locale-030818.tgz to dl and copies it from
there instead of downloading it again for every uClibc build.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-14 15:12:19 UTC (rev 16922)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-14 15:17:39 UTC (rev 16923)
@@ -26,6 +26,9 @@
endif
UCLIBC_CAT:=$(BZCAT)
+UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads
+UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz
+
UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
-e 's/i.86/i386/' \
-e 's/sparc.*/sparc/' \
@@ -61,11 +64,16 @@
mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
+$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE):
+ mkdir -p $(DL_DIR)
+ $(WGET) -P $(DL_DIR) $(UCLIBC_SITE_LOCALE)/$(UCLIBC_SOURCE_LOCALE)
+
uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
-$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
+$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE)
mkdir -p $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)\*.patch
+ cp -p $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
touch $(UCLIBC_DIR)/.unpacked
# Some targets may wish to provide their own UCLIBC_CONFIG_FILE...
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-14 2:50 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-12-14 2:50 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-13 18:50:58 -0800 (Wed, 13 Dec 2006)
New Revision: 16916
Log:
don't error out when asm-generic is absent
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-14 00:37:57 UTC (rev 16915)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-14 02:50:58 UTC (rev 16916)
@@ -178,8 +178,10 @@
if [ ! -f $(STAGING_DIR)/include/linux/version.h ] ; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
- [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] && \
- cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
+ if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] ; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic \
+ $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
+ fi; \
fi;
touch $(UCLIBC_DIR)/.configured
@@ -212,8 +214,10 @@
if [ ! -f $(STAGING_DIR)/include/linux/version.h ] ; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(STAGING_DIR)/include/ ; \
cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(STAGING_DIR)/include/ ; \
- [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] && \
- cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic $(STAGING_DIR)/include/ ; \
+ if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] ; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic \
+ $(STAGING_DIR)/include/ ; \
+ fi; \
fi;
# Build the host utils. Need to add an install target...
$(MAKE1) -C $(UCLIBC_DIR)/utils \
@@ -280,8 +284,10 @@
if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ] ; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TARGET_DIR)/usr/include/ ; \
cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TARGET_DIR)/usr/include/ ; \
- [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] && \
- cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic $(TARGET_DIR)/usr/include/ ; \
+ if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] ; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic \
+ $(TARGET_DIR)/usr/include/ ; \
+ fi; \
fi;
touch -c $(TARGET_DIR)/usr/lib/libc.a
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-13 13:07 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 13:07 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-13 05:07:47 -0800 (Wed, 13 Dec 2006)
New Revision: 16894
Log:
install include/asm-generic if it is present
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 12:42:45 UTC (rev 16893)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 13:07:47 UTC (rev 16894)
@@ -178,6 +178,8 @@
if [ ! -f $(STAGING_DIR)/include/linux/version.h ] ; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
+ [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] && \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
fi;
touch $(UCLIBC_DIR)/.configured
@@ -210,6 +212,8 @@
if [ ! -f $(STAGING_DIR)/include/linux/version.h ] ; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(STAGING_DIR)/include/ ; \
cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(STAGING_DIR)/include/ ; \
+ [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] && \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic $(STAGING_DIR)/include/ ; \
fi;
# Build the host utils. Need to add an install target...
$(MAKE1) -C $(UCLIBC_DIR)/utils \
@@ -276,6 +280,8 @@
if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ] ; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TARGET_DIR)/usr/include/ ; \
cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TARGET_DIR)/usr/include/ ; \
+ [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] && \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic $(TARGET_DIR)/usr/include/ ; \
fi;
touch -c $(TARGET_DIR)/usr/lib/libc.a
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-13 12:42 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 12:42 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-13 04:42:45 -0800 (Wed, 13 Dec 2006)
New Revision: 16893
Log:
use a more sensible naming scheme
Added:
trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-fix_includes.patch
Removed:
trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Deleted: trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch 2006-12-13 12:41:42 UTC (rev 16892)
+++ trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch 2006-12-13 12:42:45 UTC (rev 16893)
@@ -1,327 +0,0 @@
---- uClibc-0.9.28/Makefile.orig 2006-12-11 21:06:42.000000000 -0700
-+++ uClibc-0.9.28/Makefile 2006-12-11 21:06:53.000000000 -0700
-@@ -158,7 +158,7 @@
- $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
- $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
- -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
-- if [ "$(KERNEL_SOURCE)" == "$(DEVEL_PREFIX)" ] ; then \
-+ if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
- extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
- else \
- extra_exclude="" ; \
---- uClibc-0.9.28/extra/scripts/fix_includes.sh.orig 2006-12-13 05:44:21.000000000 -0700
-+++ uClibc-0.9.28/extra/scripts/fix_includes.sh 2006-12-13 05:44:35.000000000 -0700
-@@ -1,183 +1,155 @@
- #!/bin/sh
--# Copyright (C) 2003 Erik Andersen <andersen@uclibc.org>
- #
--# This program is free software; you can redistribute it and/or
--# modify it under the terms of the GNU Library General Public
--# License as published by the Free Software Foundation; either
--# version 2 of the License, or (at your option) any later
--# version.
--#
--# This program is distributed in the hope that it will be useful,
--# but WITHOUT ANY WARRANTY; without even the implied warranty of
--# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--# GNU Library General Public License for more details.
--#
--# You should have received a copy of the GNU Library General
--# Public License along with this program; if not, write to the
--# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
--# Boston, MA 02111-1307 USA
--
--usage () {
-- echo ""
-- echo "usage: "`basename $0`" -k KERNEL_SOURCE_DIRECTORY -t TARGET_ARCH"
-- echo ""
-- echo "This utility scans the KERNEL_SOURCE_DIRECTORY directory and"
-- echo "checks that it contains well formed kernel headers suitable"
-- echo "for inclusion as the include/linux/ directory provided by"
-- echo "uClibc."
-- echo ""
-- echo "If the specified kernel headers are present and already"
-- echo "configured for the architecture specified by TARGET_ARCH,"
-- echo "they will be used as-is."
-- echo ""
-- echo "If the specified kernel headers are missing entirely, this"
-- echo "script will return an error."
-- echo ""
-- echo "If the specified kernel headers are present, but are either"
-- echo "not yet configured or are configured for an architecture"
-- echo "different than that specified by TARGET_ARCH, this script"
-- echo "will attempt to 'fix' the kernel headers and make them"
-- echo "suitable for use by uClibc. This fixing process may fail."
-- echo "It is therefore best to always provide kernel headers that"
-- echo "are already configured for the selected architecture."
-- echo ""
-- echo "Most Linux distributions provide 'kernel-headers' packages"
-- echo "that are suitable for use by uClibc."
-- echo ""
-- echo ""
-- exit 1;
-+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
-+#
-+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-+#
-+
-+usage() {
-+ echo ""
-+ echo "usage: "`basename $0`" -k KERNEL_SOURCE_DIRECTORY -t TARGET_ARCH"
-+ echo ""
-+ echo "This utility scans the KERNEL_SOURCE_DIRECTORY directory and"
-+ echo "checks that it contains well formed kernel headers suitable"
-+ echo "for inclusion as the include/linux/ directory provided by"
-+ echo "uClibc."
-+ echo ""
-+ echo "If the specified kernel headers are present and already"
-+ echo "configured for the architecture specified by TARGET_ARCH,"
-+ echo "they will be used as-is."
-+ echo ""
-+ echo "If the specified kernel headers are missing entirely, this"
-+ echo "script will return an error."
-+ echo ""
-+ echo "If the specified kernel headers are present, but are either"
-+ echo "not yet configured or are configured for an architecture"
-+ echo "different than that specified by TARGET_ARCH, this script"
-+ echo "will attempt to 'fix' the kernel headers and make them"
-+ echo "suitable for use by uClibc. This fixing process may fail."
-+ echo "It is therefore best to always provide kernel headers that"
-+ echo "are already configured for the selected architecture."
-+ echo ""
-+ echo "Most Linux distributions provide 'kernel-headers' packages"
-+ echo "that are suitable for use by uClibc."
-+ echo ""
-+ echo ""
-+ exit 1
- }
-
--HAS_MMU="y";
-+
-+#
-+# Parse our arguments
-+#
-+HAS_MMU="y"
- while [ -n "$1" ]; do
-- case $1 in
-- -k ) shift; if [ -n "$1" ]; then KERNEL_SOURCE=$1; shift; else usage; fi; ;;
-- -t ) shift; if [ -n "$1" ]; then TARGET_ARCH=$1; shift; else usage; fi; ;;
-- -n ) shift; HAS_MMU="n"; ;;
-- -* ) usage; ;;
-- * ) usage; ;;
-- esac;
--done;
-+ case $1 in
-+ -k ) shift; if [ -n "$1" ]; then KERNEL_SOURCE=$1; shift; else usage; fi; ;;
-+ -t ) shift; if [ -n "$1" ]; then TARGET_ARCH=$1; shift; else usage; fi; ;;
-+ -n ) shift; HAS_MMU="n"; ;;
-+ -* ) usage; ;;
-+ * ) usage; ;;
-+ esac
-+done
-
--if [ ! -f "$KERNEL_SOURCE/Makefile" -a ! -f "$KERNEL_SOURCE/include/linux/version.h" ]; then
-- echo "";
-- echo "";
-- echo "The file $KERNEL_SOURCE/Makefile or $KERNEL_SOURCE/include/linux/version.h is missing!";
-- echo "Perhaps your kernel source is broken?"
-- echo "";
-- echo "";
-- exit 1;
--fi;
-
--if [ ! -d "$KERNEL_SOURCE" ]; then
-- echo "";
-- echo "";
-- echo "$KERNEL_SOURCE is not a directory";
-- echo "";
-- echo "";
-- exit 1;
--fi;
--
--if [ -f "$KERNEL_SOURCE/Makefile" ] ; then
--# set current VERSION, PATCHLEVEL, SUBLEVEL, EXTRAVERSION
--eval `sed -n -e 's/^\([A-Z]*\) = \([0-9]*\)$/\1=\2/p' -e 's/^\([A-Z]*\) = \(-[-a-z0-9]*\)$/\1=\2/p' $KERNEL_SOURCE/Makefile`
--else
--ver=`grep UTS_RELEASE $KERNEL_SOURCE/include/linux/version.h | cut -d '"' -f 2`
--VERSION=`echo "$ver" | cut -d '.' -f 1`
--PATCHLEVEL=`echo "$ver" | cut -d '.' -f 2`
--if echo "$ver" | grep -q '-' ; then
--SUBLEVEL=`echo "$ver" | sed "s/${VERSION}.${PATCHLEVEL}.//" | cut -d '-' -f 1`
--EXTRAVERSION=`echo "$ver" | sed "s/${VERSION}.${PATCHLEVEL}.${SUBLEVEL}-//"`
--else
--SUBLEVEL=`echo "$ver" | cut -d '.' -f 3`
--#EXTRAVERSION=
--fi
-+#
-+# Perform some sanity checks on our kernel sources
-+#
-+if [ ! -f "$KERNEL_SOURCE/Makefile" -a ! -f "$KERNEL_SOURCE/include/linux/version.h" ]; then
-+ echo ""
-+ echo ""
-+ echo "The file $KERNEL_SOURCE/Makefile or $KERNEL_SOURCE/include/linux/version.h is missing!"
-+ echo "Perhaps your kernel source is broken?"
-+ echo ""
-+ echo ""
-+ exit 1
- fi
--if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ]
--then
-- echo "Unable to determine version for kernel headers"
-- echo -e "\tprovided in directory $KERNEL_SOURCE"
-- exit 1
-+if [ ! -d "$KERNEL_SOURCE" ]; then
-+ echo ""
-+ echo ""
-+ echo "$KERNEL_SOURCE is not a directory"
-+ echo ""
-+ echo ""
-+ exit 1
- fi
-
--if [ "$MAKE_IS_SILENT" != "y" ]; then
--echo "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION}"
--echo -e "\n"
--echo "Using kernel headers from $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION} for architecture '$TARGET_ARCH'"
--echo -e "\tprovided in directory $KERNEL_SOURCE"
--echo -e "\n"
--fi
-
-+#
- # Create a symlink to include/asm
--
-+#
- rm -f include/asm*
- if [ ! -d "$KERNEL_SOURCE/include/asm" ]; then
-- echo "";
-- echo "";
-- echo "The symlink $KERNEL_SOURCE/include/asm is missing\!";
-- echo "Perhaps you forgot to configure your kernel source?";
-- echo "You really should configure your kernel source tree so I";
-- echo "do not have to try and guess about this sort of thing.";
-- echo ""
-- echo "Attempting to guess a usable value....";
-- echo ""
-- echo "";
-- sleep 1;
--
-- if [ "$TARGET_ARCH" = "powerpc" ];then
-- set -x;
-- ln -fs $KERNEL_SOURCE/include/asm-ppc include/asm;
-- set +x;
-- elif [ "$TARGET_ARCH" = "mips" ];then
-- set -x;
-- ln -fs $KERNEL_SOURCE/include/asm-mips include/asm;
-- set +x;
-- elif [ "$TARGET_ARCH" = "arm" ];then
-- set -x;
-- ln -fs $KERNEL_SOURCE/include/asm-arm include/asm;
-- set +x;
-- if [ ! -L $KERNEL_SOURCE/include/asm-arm/proc ] ; then
-- if [ ! -L proc ] ; then
-- (cd include/asm;
-- ln -fs proc-armv proc;
-- ln -fs arch-ebsa285 arch);
-- fi
-+ echo ""
-+ echo ""
-+ echo "The symlink $KERNEL_SOURCE/include/asm is missing\!"
-+ echo "Perhaps you forgot to configure your kernel source?"
-+ echo "You really should configure your kernel source tree so I"
-+ echo "do not have to try and guess about this sort of thing."
-+ echo ""
-+ echo "Attempting to guess a usable value...."
-+ echo ""
-+ echo ""
-+ sleep 1
-+
-+ if [ "$TARGET_ARCH" = "powerpc" ]; then
-+ set -x
-+ ln -fs $KERNEL_SOURCE/include/asm-ppc include/asm
-+ set +x
-+ elif [ "$TARGET_ARCH" = "mips" ]; then
-+ set -x
-+ ln -fs $KERNEL_SOURCE/include/asm-mips include/asm
-+ set +x
-+ elif [ "$TARGET_ARCH" = "arm" ]; then
-+ set -x
-+ ln -fs $KERNEL_SOURCE/include/asm-arm include/asm
-+ set +x
-+ if [ ! -L $KERNEL_SOURCE/include/asm-arm/proc ]; then
-+ if [ ! -L proc ]; then
-+ (
-+ cd include/asm
-+ ln -fs proc-armv proc
-+ ln -fs arch-ebsa285 arch
-+ )
-+ fi
-+ fi
-+ elif [ "$TARGET_ARCH" = "cris" ]; then
-+ set -x
-+ ln -fs $KERNEL_SOURCE/include/asm-cris include/asm
-+ set +x
-+ elif [ "$HAS_MMU" != "y" ]; then
-+ if [ -d $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu ]; then
-+ set -x
-+ ln -fs $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu include/asm
-+ set +x
-+ else
-+ set -x
-+ ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm
-+ set +x
-+ fi
-+ else
-+ set -x
-+ ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm
-+ set +x
- fi;
-- elif [ "$TARGET_ARCH" = "cris" ]; then
-- set -x;
-- ln -fs $KERNEL_SOURCE/include/asm-cris include/asm;
-- set +x;
-- elif [ "$HAS_MMU" != "y" ]; then
-- if [ -d $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu ] ; then
-- set -x;
-- ln -fs $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu include/asm;
-- set +x;
-- else
-- set -x;
-- ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm;
-- set +x;
-- fi;
-- else
-- set -x;
-- ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm;
-- set +x;
-- fi;
- else
--# No guessing required.....
--ln -fs $KERNEL_SOURCE/include/asm include/asm
--if [ -e $KERNEL_SOURCE/include/asm-$TARGET_ARCH ] ; then
--ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm-$TARGET_ARCH
-+ # No guessing required.....
-+ for x in $KERNEL_SOURCE/include/asm* ; do
-+ ln -fs ${x} include/
-+ done
- fi
--fi;
-
-
-+#
- # Annoyingly, 2.6.x kernel headers also need an include/asm-generic/ directory
--if [ $VERSION -eq 2 ] && [ $PATCHLEVEL -ge 6 ] ; then
-- ln -fs $KERNEL_SOURCE/include/asm-generic include/asm-generic
--fi;
-+#
-+if [ -e $KERNEL_SOURCE/include/asm-generic ]; then
-+ rm -f include/asm-generic
-+ ln -fs $KERNEL_SOURCE/include/asm-generic include/asm-generic
-+fi
-
-
-+#
- # Create the include/linux symlink.
-+#
- rm -f include/linux
- ln -fs $KERNEL_SOURCE/include/linux include/linux
--
Copied: trunk/buildroot/toolchain/uClibc/uClibc-0.9.28-fix_includes.patch (from rev 16892, trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch)
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 12:41:42 UTC (rev 16892)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 12:42:45 UTC (rev 16893)
@@ -65,7 +65,7 @@
$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
mkdir -p $(TOOL_BUILD_DIR)
$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ \*$(UCLIBC_VER)\*.patch
+ toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)\*.patch
touch $(UCLIBC_DIR)/.unpacked
# Some targets may wish to provide their own UCLIBC_CONFIG_FILE...
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-13 12:41 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 12:41 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-13 04:41:42 -0800 (Wed, 13 Dec 2006)
New Revision: 16892
Log:
Patch in the version agnostic fix_includes in the older uClibc 0.9.28
Modified:
trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch 2006-12-13 12:34:39 UTC (rev 16891)
+++ trunk/buildroot/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch 2006-12-13 12:41:42 UTC (rev 16892)
@@ -1,26 +1,3 @@
---- uClibc-0.9.28/extra/scripts/fix_includes.sh.orig 2006-12-11 20:55:46.000000000 -0700
-+++ uClibc-0.9.28/extra/scripts/fix_includes.sh 2006-12-11 20:56:12.000000000 -0700
-@@ -96,16 +96,16 @@
- if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ]
- then
- echo "Unable to determine version for kernel headers"
-- echo -e "\tprovided in directory $KERNEL_SOURCE"
-+ echo " provided in directory $KERNEL_SOURCE"
- exit 1
- fi
-
- if [ "$MAKE_IS_SILENT" != "y" ]; then
- echo "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION}"
--echo -e "\n"
-+echo ""
- echo "Using kernel headers from $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION} for architecture '$TARGET_ARCH'"
--echo -e "\tprovided in directory $KERNEL_SOURCE"
--echo -e "\n"
-+echo " provided in directory $KERNEL_SOURCE"
-+echo ""
- fi
-
- # Create a symlink to include/asm
--- uClibc-0.9.28/Makefile.orig 2006-12-11 21:06:42.000000000 -0700
+++ uClibc-0.9.28/Makefile 2006-12-11 21:06:53.000000000 -0700
@@ -158,7 +158,7 @@
@@ -32,3 +9,319 @@
extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
else \
extra_exclude="" ; \
+--- uClibc-0.9.28/extra/scripts/fix_includes.sh.orig 2006-12-13 05:44:21.000000000 -0700
++++ uClibc-0.9.28/extra/scripts/fix_includes.sh 2006-12-13 05:44:35.000000000 -0700
+@@ -1,183 +1,155 @@
+ #!/bin/sh
+-# Copyright (C) 2003 Erik Andersen <andersen@uclibc.org>
+ #
+-# This program is free software; you can redistribute it and/or
+-# modify it under the terms of the GNU Library General Public
+-# License as published by the Free Software Foundation; either
+-# version 2 of the License, or (at your option) any later
+-# version.
+-#
+-# This program is distributed in the hope that it will be useful,
+-# but WITHOUT ANY WARRANTY; without even the implied warranty of
+-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-# GNU Library General Public License for more details.
+-#
+-# You should have received a copy of the GNU Library General
+-# Public License along with this program; if not, write to the
+-# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+-# Boston, MA 02111-1307 USA
+-
+-usage () {
+- echo ""
+- echo "usage: "`basename $0`" -k KERNEL_SOURCE_DIRECTORY -t TARGET_ARCH"
+- echo ""
+- echo "This utility scans the KERNEL_SOURCE_DIRECTORY directory and"
+- echo "checks that it contains well formed kernel headers suitable"
+- echo "for inclusion as the include/linux/ directory provided by"
+- echo "uClibc."
+- echo ""
+- echo "If the specified kernel headers are present and already"
+- echo "configured for the architecture specified by TARGET_ARCH,"
+- echo "they will be used as-is."
+- echo ""
+- echo "If the specified kernel headers are missing entirely, this"
+- echo "script will return an error."
+- echo ""
+- echo "If the specified kernel headers are present, but are either"
+- echo "not yet configured or are configured for an architecture"
+- echo "different than that specified by TARGET_ARCH, this script"
+- echo "will attempt to 'fix' the kernel headers and make them"
+- echo "suitable for use by uClibc. This fixing process may fail."
+- echo "It is therefore best to always provide kernel headers that"
+- echo "are already configured for the selected architecture."
+- echo ""
+- echo "Most Linux distributions provide 'kernel-headers' packages"
+- echo "that are suitable for use by uClibc."
+- echo ""
+- echo ""
+- exit 1;
++# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
++#
++# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
++#
++
++usage() {
++ echo ""
++ echo "usage: "`basename $0`" -k KERNEL_SOURCE_DIRECTORY -t TARGET_ARCH"
++ echo ""
++ echo "This utility scans the KERNEL_SOURCE_DIRECTORY directory and"
++ echo "checks that it contains well formed kernel headers suitable"
++ echo "for inclusion as the include/linux/ directory provided by"
++ echo "uClibc."
++ echo ""
++ echo "If the specified kernel headers are present and already"
++ echo "configured for the architecture specified by TARGET_ARCH,"
++ echo "they will be used as-is."
++ echo ""
++ echo "If the specified kernel headers are missing entirely, this"
++ echo "script will return an error."
++ echo ""
++ echo "If the specified kernel headers are present, but are either"
++ echo "not yet configured or are configured for an architecture"
++ echo "different than that specified by TARGET_ARCH, this script"
++ echo "will attempt to 'fix' the kernel headers and make them"
++ echo "suitable for use by uClibc. This fixing process may fail."
++ echo "It is therefore best to always provide kernel headers that"
++ echo "are already configured for the selected architecture."
++ echo ""
++ echo "Most Linux distributions provide 'kernel-headers' packages"
++ echo "that are suitable for use by uClibc."
++ echo ""
++ echo ""
++ exit 1
+ }
+
+-HAS_MMU="y";
++
++#
++# Parse our arguments
++#
++HAS_MMU="y"
+ while [ -n "$1" ]; do
+- case $1 in
+- -k ) shift; if [ -n "$1" ]; then KERNEL_SOURCE=$1; shift; else usage; fi; ;;
+- -t ) shift; if [ -n "$1" ]; then TARGET_ARCH=$1; shift; else usage; fi; ;;
+- -n ) shift; HAS_MMU="n"; ;;
+- -* ) usage; ;;
+- * ) usage; ;;
+- esac;
+-done;
++ case $1 in
++ -k ) shift; if [ -n "$1" ]; then KERNEL_SOURCE=$1; shift; else usage; fi; ;;
++ -t ) shift; if [ -n "$1" ]; then TARGET_ARCH=$1; shift; else usage; fi; ;;
++ -n ) shift; HAS_MMU="n"; ;;
++ -* ) usage; ;;
++ * ) usage; ;;
++ esac
++done
+
+-if [ ! -f "$KERNEL_SOURCE/Makefile" -a ! -f "$KERNEL_SOURCE/include/linux/version.h" ]; then
+- echo "";
+- echo "";
+- echo "The file $KERNEL_SOURCE/Makefile or $KERNEL_SOURCE/include/linux/version.h is missing!";
+- echo "Perhaps your kernel source is broken?"
+- echo "";
+- echo "";
+- exit 1;
+-fi;
+
+-if [ ! -d "$KERNEL_SOURCE" ]; then
+- echo "";
+- echo "";
+- echo "$KERNEL_SOURCE is not a directory";
+- echo "";
+- echo "";
+- exit 1;
+-fi;
+-
+-if [ -f "$KERNEL_SOURCE/Makefile" ] ; then
+-# set current VERSION, PATCHLEVEL, SUBLEVEL, EXTRAVERSION
+-eval `sed -n -e 's/^\([A-Z]*\) = \([0-9]*\)$/\1=\2/p' -e 's/^\([A-Z]*\) = \(-[-a-z0-9]*\)$/\1=\2/p' $KERNEL_SOURCE/Makefile`
+-else
+-ver=`grep UTS_RELEASE $KERNEL_SOURCE/include/linux/version.h | cut -d '"' -f 2`
+-VERSION=`echo "$ver" | cut -d '.' -f 1`
+-PATCHLEVEL=`echo "$ver" | cut -d '.' -f 2`
+-if echo "$ver" | grep -q '-' ; then
+-SUBLEVEL=`echo "$ver" | sed "s/${VERSION}.${PATCHLEVEL}.//" | cut -d '-' -f 1`
+-EXTRAVERSION=`echo "$ver" | sed "s/${VERSION}.${PATCHLEVEL}.${SUBLEVEL}-//"`
+-else
+-SUBLEVEL=`echo "$ver" | cut -d '.' -f 3`
+-#EXTRAVERSION=
+-fi
++#
++# Perform some sanity checks on our kernel sources
++#
++if [ ! -f "$KERNEL_SOURCE/Makefile" -a ! -f "$KERNEL_SOURCE/include/linux/version.h" ]; then
++ echo ""
++ echo ""
++ echo "The file $KERNEL_SOURCE/Makefile or $KERNEL_SOURCE/include/linux/version.h is missing!"
++ echo "Perhaps your kernel source is broken?"
++ echo ""
++ echo ""
++ exit 1
+ fi
+-if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ]
+-then
+- echo "Unable to determine version for kernel headers"
+- echo -e "\tprovided in directory $KERNEL_SOURCE"
+- exit 1
++if [ ! -d "$KERNEL_SOURCE" ]; then
++ echo ""
++ echo ""
++ echo "$KERNEL_SOURCE is not a directory"
++ echo ""
++ echo ""
++ exit 1
+ fi
+
+-if [ "$MAKE_IS_SILENT" != "y" ]; then
+-echo "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION}"
+-echo -e "\n"
+-echo "Using kernel headers from $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION} for architecture '$TARGET_ARCH'"
+-echo -e "\tprovided in directory $KERNEL_SOURCE"
+-echo -e "\n"
+-fi
+
++#
+ # Create a symlink to include/asm
+-
++#
+ rm -f include/asm*
+ if [ ! -d "$KERNEL_SOURCE/include/asm" ]; then
+- echo "";
+- echo "";
+- echo "The symlink $KERNEL_SOURCE/include/asm is missing\!";
+- echo "Perhaps you forgot to configure your kernel source?";
+- echo "You really should configure your kernel source tree so I";
+- echo "do not have to try and guess about this sort of thing.";
+- echo ""
+- echo "Attempting to guess a usable value....";
+- echo ""
+- echo "";
+- sleep 1;
+-
+- if [ "$TARGET_ARCH" = "powerpc" ];then
+- set -x;
+- ln -fs $KERNEL_SOURCE/include/asm-ppc include/asm;
+- set +x;
+- elif [ "$TARGET_ARCH" = "mips" ];then
+- set -x;
+- ln -fs $KERNEL_SOURCE/include/asm-mips include/asm;
+- set +x;
+- elif [ "$TARGET_ARCH" = "arm" ];then
+- set -x;
+- ln -fs $KERNEL_SOURCE/include/asm-arm include/asm;
+- set +x;
+- if [ ! -L $KERNEL_SOURCE/include/asm-arm/proc ] ; then
+- if [ ! -L proc ] ; then
+- (cd include/asm;
+- ln -fs proc-armv proc;
+- ln -fs arch-ebsa285 arch);
+- fi
++ echo ""
++ echo ""
++ echo "The symlink $KERNEL_SOURCE/include/asm is missing\!"
++ echo "Perhaps you forgot to configure your kernel source?"
++ echo "You really should configure your kernel source tree so I"
++ echo "do not have to try and guess about this sort of thing."
++ echo ""
++ echo "Attempting to guess a usable value...."
++ echo ""
++ echo ""
++ sleep 1
++
++ if [ "$TARGET_ARCH" = "powerpc" ]; then
++ set -x
++ ln -fs $KERNEL_SOURCE/include/asm-ppc include/asm
++ set +x
++ elif [ "$TARGET_ARCH" = "mips" ]; then
++ set -x
++ ln -fs $KERNEL_SOURCE/include/asm-mips include/asm
++ set +x
++ elif [ "$TARGET_ARCH" = "arm" ]; then
++ set -x
++ ln -fs $KERNEL_SOURCE/include/asm-arm include/asm
++ set +x
++ if [ ! -L $KERNEL_SOURCE/include/asm-arm/proc ]; then
++ if [ ! -L proc ]; then
++ (
++ cd include/asm
++ ln -fs proc-armv proc
++ ln -fs arch-ebsa285 arch
++ )
++ fi
++ fi
++ elif [ "$TARGET_ARCH" = "cris" ]; then
++ set -x
++ ln -fs $KERNEL_SOURCE/include/asm-cris include/asm
++ set +x
++ elif [ "$HAS_MMU" != "y" ]; then
++ if [ -d $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu ]; then
++ set -x
++ ln -fs $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu include/asm
++ set +x
++ else
++ set -x
++ ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm
++ set +x
++ fi
++ else
++ set -x
++ ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm
++ set +x
+ fi;
+- elif [ "$TARGET_ARCH" = "cris" ]; then
+- set -x;
+- ln -fs $KERNEL_SOURCE/include/asm-cris include/asm;
+- set +x;
+- elif [ "$HAS_MMU" != "y" ]; then
+- if [ -d $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu ] ; then
+- set -x;
+- ln -fs $KERNEL_SOURCE/include/asm-${TARGET_ARCH}nommu include/asm;
+- set +x;
+- else
+- set -x;
+- ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm;
+- set +x;
+- fi;
+- else
+- set -x;
+- ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm;
+- set +x;
+- fi;
+ else
+-# No guessing required.....
+-ln -fs $KERNEL_SOURCE/include/asm include/asm
+-if [ -e $KERNEL_SOURCE/include/asm-$TARGET_ARCH ] ; then
+-ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm-$TARGET_ARCH
++ # No guessing required.....
++ for x in $KERNEL_SOURCE/include/asm* ; do
++ ln -fs ${x} include/
++ done
+ fi
+-fi;
+
+
++#
+ # Annoyingly, 2.6.x kernel headers also need an include/asm-generic/ directory
+-if [ $VERSION -eq 2 ] && [ $PATCHLEVEL -ge 6 ] ; then
+- ln -fs $KERNEL_SOURCE/include/asm-generic include/asm-generic
+-fi;
++#
++if [ -e $KERNEL_SOURCE/include/asm-generic ]; then
++ rm -f include/asm-generic
++ ln -fs $KERNEL_SOURCE/include/asm-generic include/asm-generic
++fi
+
+
++#
+ # Create the include/linux symlink.
++#
+ rm -f include/linux
+ ln -fs $KERNEL_SOURCE/include/linux include/linux
+-
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-13 12:34 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 12:34 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-13 04:34:22 -0800 (Wed, 13 Dec 2006)
New Revision: 16890
Log:
oops, typo
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 12:18:08 UTC (rev 16889)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 12:34:22 UTC (rev 16890)
@@ -126,23 +126,23 @@
$(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.config
endif
ifeq ("$(KERNEL_ARCH)","i386")
- /bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_486 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_586 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_586MMX is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_686 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_PENTIUMII is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_PENTIUMIII is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_PENTIUM4 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_K6 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_K7 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_ELAN is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_CRUSOE is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_WINCHIPC6 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_WINCHIP2 is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_CYRIXIII is not set" >> $(UCLIBC_DIR)/.__config
- /bin/echo "# CONFIG_NEHEMIAH is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_486 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_586 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_586MMX is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_686 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_PENTIUMII is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_PENTIUMIII is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_PENTIUM4 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_K6 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_K7 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_ELAN is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_CRUSOE is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_WINCHIPC6 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_WINCHIP2 is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_CYRIXIII is not set" >> $(UCLIBC_DIR)/.config
+ /bin/echo "# CONFIG_NEHEMIAH is not set" >> $(UCLIBC_DIR)/.config
ifeq ($(BR2_x86_i386),y)
$(SED) 's,# CONFIG_386 is not set,CONFIG_386=y,g' $(UCLIBC_DIR)/.config
endif
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-13 11:51 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 11:51 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-13 03:51:42 -0800 (Wed, 13 Dec 2006)
New Revision: 16884
Log:
update ordering, automagically handle x86 subtypes
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 11:49:19 UTC (rev 16883)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 11:51:42 UTC (rev 16884)
@@ -68,11 +68,8 @@
toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ \*$(UCLIBC_VER)\*.patch
touch $(UCLIBC_DIR)/.unpacked
-# nothing to do -- some targets may wish to provide their own
-# and then use sed to hack up the default uClibc config...
-uclibc_config_file_prep::
-
-$(UCLIBC_DIR)/.prepared: $(UCLIBC_DIR)/.unpacked uclibc_config_file_prep
+# Some targets may wish to provide their own UCLIBC_CONFIG_FILE...
+$(UCLIBC_DIR)/.config: $(UCLIBC_DIR)/.unpacked $(UCLIBC_CONFIG_FILE)
cp $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.config
$(SED) 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="$(TARGET_CROSS)",g' \
-e 's,# TARGET_$(UCLIBC_TARGET_ARCH) is not set,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \
@@ -128,6 +125,37 @@
else
$(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.config
endif
+ifeq ("$(KERNEL_ARCH)","i386")
+ /bin/echo "# CONFIG_GENERIC_386 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_386 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_486 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_586 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_586MMX is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_686 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_PENTIUMII is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_PENTIUMIII is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_PENTIUM4 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_K6 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_K7 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_ELAN is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_CRUSOE is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_WINCHIPC6 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_WINCHIP2 is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_CYRIXIII is not set" >> $(UCLIBC_DIR)/.__config
+ /bin/echo "# CONFIG_NEHEMIAH is not set" >> $(UCLIBC_DIR)/.__config
+ifeq ($(BR2_x86_i386),y)
+ $(SED) 's,# CONFIG_386 is not set,CONFIG_386=y,g' $(UCLIBC_DIR)/.config
+endif
+ifeq ($(BR2_x86_i486),y)
+ $(SED) 's,# CONFIG_486 is not set,CONFIG_486=y,g' $(UCLIBC_DIR)/.config
+endif
+ifeq ($(BR2_x86_i586),y)
+ $(SED) 's,# CONFIG_586 is not set,CONFIG_586=y,g' $(UCLIBC_DIR)/.config
+endif
+ifeq ($(BR2_x86_i686),y)
+ $(SED) 's,# CONFIG_686 is not set,CONFIG_686=y,g' $(UCLIBC_DIR)/.config
+endif
+endif
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
@@ -137,9 +165,9 @@
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" \
oldconfig
- touch $(UCLIBC_DIR)/.prepared
+ touch $(UCLIBC_DIR)/.config
-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.prepared kernel-headers
+$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
set -x && $(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
@@ -162,7 +190,7 @@
all
touch -c $(UCLIBC_DIR)/lib/libc.a
-uclibc-menuconfig: $(UCLIBC_DIR)/.prepared
+uclibc-menuconfig: $(UCLIBC_DIR)/.config
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
@@ -172,7 +200,7 @@
touch $(UCLIBC_DIR)/.configured
-$(STAGING_DIR)/lib/libc.a: kernel-headers $(UCLIBC_DIR)/lib/libc.a
+$(STAGING_DIR)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX= \
DEVEL_PREFIX=$(STAGING_DIR)/ \
@@ -212,7 +240,7 @@
UCLIBC_TARGETS=$(TARGET_DIR)/lib/libc.so.0
endif
-uclibc-configured: dependencies $(UCLIBC_DIR)/.configured
+uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured
uclibc: $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-gcc $(STAGING_DIR)/lib/libc.a \
@@ -244,6 +272,11 @@
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
install_dev
+ # Install the kernel headers to the target dir if necessary
+ if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ] ; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TARGET_DIR)/usr/include/ ; \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TARGET_DIR)/usr/include/ ; \
+ fi;
touch -c $(TARGET_DIR)/usr/lib/libc.a
uclibc_target: gcc uclibc $(TARGET_DIR)/usr/lib/libc.a $(TARGET_DIR)/usr/bin/ldd
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-13 6:59 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-12-13 6:59 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-12-12 22:59:01 -0800 (Tue, 12 Dec 2006)
New Revision: 16871
Log:
fix a few little glitches I left in here the other day
Modified:
trunk/buildroot/toolchain/uClibc/Config.in
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2006-12-13 06:58:14 UTC (rev 16870)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2006-12-13 06:59:01 UTC (rev 16871)
@@ -7,7 +7,7 @@
prompt "uClibc C library Version"
default BR2_UCLIBC_VERSION_SNAPSHOT
help
- Select the version of gcc you wish to use.
+ Select the version of uClibc you wish to use.
config BR2_UCLIBC_VERSION_0_9_28
bool "uClibc 0.9.28"
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 06:58:14 UTC (rev 16870)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-13 06:59:01 UTC (rev 16871)
@@ -9,7 +9,8 @@
# Be aware that this changes daily....
UCLIBC_VER:=0.9.29
UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc
-UCLIBC_SOURCE:=uClibc-snapshot.tar.bz2
+UCLIBC_SOURCE:=uClibc-$(strip $(subst ",, $(BR2_USE_UCLIBC_SNAPSHOT))).tar.bz2
+#"))
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
ifndef UCLIBC_CONFIG_FILE
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc-0.9.29.config
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-12-02 18:30 aldot at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: aldot at uclibc.org @ 2006-12-02 18:30 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2006-12-02 10:30:42 -0800 (Sat, 02 Dec 2006)
New Revision: 16758
Log:
- provide a 'make uclibc-config' target to make target specific configuration easy.
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-02 18:14:38 UTC (rev 16757)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-12-02 18:30:42 UTC (rev 16758)
@@ -65,7 +65,7 @@
touch $(UCLIBC_DIR)/.unpacked
uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured
-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
+$(UCLIBC_DIR)/.prepared: $(UCLIBC_DIR)/.unpacked
cp $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.config
$(SED) 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="$(TARGET_CROSS)",g' \
-e 's,# TARGET_$(UCLIBC_TARGET_ARCH) is not set,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \
@@ -123,6 +123,9 @@
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib
+ touch $(UCLIBC_DIR)/.prepared
+
+$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.prepared
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
@@ -140,6 +143,16 @@
all
touch -c $(UCLIBC_DIR)/lib/libc.a
+uclibc-menuconfig: $(UCLIBC_DIR)/.prepared
+ $(MAKE1) -C $(UCLIBC_DIR) \
+ PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
+ DEVEL_PREFIX=/usr/ \
+ RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
+ HOSTCC="$(HOSTCC)" \
+ menuconfig && \
+ touch $(UCLIBC_DIR)/.configured
+
+
$(STAGING_DIR)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX= \
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-10-02 18:52 andersen at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: andersen at uclibc.org @ 2006-10-02 18:52 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2006-10-02 11:52:14 -0700 (Mon, 02 Oct 2006)
New Revision: 16290
Log:
kill the separate 'uClibc.config-locale' file, which was generally left unmaintained
and instead just update the installed uClibc config file in place to enable locale
when selected
Removed:
trunk/buildroot/toolchain/uClibc/uClibc.config-locale
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Deleted: trunk/buildroot/toolchain/uClibc/uClibc.config-locale
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc.config-locale 2006-10-02 18:40:42 UTC (rev 16289)
+++ trunk/buildroot/toolchain/uClibc/uClibc.config-locale 2006-10-02 18:52:14 UTC (rev 16290)
@@ -1,186 +0,0 @@
-#
-# Automatically generated make config: don't edit
-#
-# TARGET_alpha is not set
-# TARGET_arm is not set
-# TARGET_bfin is not set
-# TARGET_cris is not set
-# 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 is not set
-# TARGET_nios is not set
-# TARGET_nios2 is not set
-# TARGET_powerpc is not set
-# TARGET_sh is not set
-# 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
-TARGET_ARCH="none"
-# ARCH_LITTLE_ENDIAN is not set
-# ARCH_BIG_ENDIAN is not set
-# ARCH_WANTS_LITTLE_ENDIAN is not set
-# ARCH_WANTS_BIG_ENDIAN is not set
-# ARCH_HAS_NO_MMU is not set
-UCLIBC_HAS_FLOATS=y
-UCLIBC_HAS_FPU=y
-DO_C99_MATH=y
-WARNINGS="-Wall"
-KERNEL_SOURCE="/usr/src/linux"
-HAVE_DOT_CONFIG=y
-# 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_ARM1136JF_S is not set
-# CONFIG_ARM_SA110 is not set
-# CONFIG_ARM_SA1100 is not set
-# CONFIG_ARM_XSCALE is not set
-
-#
-# General Library Settings
-#
-# 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
-LDSO_LDD_SUPPORT=y
-LDSO_CACHE_SUPPORT=y
-# LDSO_PRELOAD_FILE_SUPPORT is not set
-LDSO_BASE_FILENAME="ld.so"
-LDSO_RUNPATH=n
-# DL_FINI_CRT_COMPAT is not set
-UCLIBC_CTOR_DTOR=y
-# HAS_NO_THREADS is not set
-# UCLIBC_HAS_THREADS is not set
-# PTHREADS_DEBUG_SUPPORT is not set
-# UCLIBC_HAS_THREADS_NATIVE is not set
-# LINUXTHREADS_OLD is not set
-UCLIBC_HAS_LFS=y
-# UCLIBC_STATIC_LDCONFIG is not set
-# MALLOC is not set
-# MALLOC_SIMPLE is not set
-MALLOC_STANDARD=y
-MALLOC_GLIBC_COMPAT=y
-UCLIBC_DYNAMIC_ATEXIT=y
-# COMPAT_ATEXIT is not set
-HAS_SHADOW=y
-# UNIX98PTY_ONLY is not set
-ASSUME_DEVPTS=y
-UCLIBC_HAS_TM_EXTENSIONS=y
-UCLIBC_HAS_TZ_CACHING=y
-UCLIBC_HAS_TZ_FILE=y
-UCLIBC_HAS_TZ_FILE_READ_MANY=y
-UCLIBC_TZ_FILE_PATH="/etc/TZ"
-
-#
-# Networking Support
-#
-UCLIBC_HAS_IPV6=y
-UCLIBC_HAS_RPC=y
-UCLIBC_HAS_FULL_RPC=y
-UCLIBC_HAS_REENTRANT_RPC=y
-
-#
-# String and Stdio Support
-#
-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 is not set
-UCLIBC_HAS_CTYPE_CHECKED=y
-# UCLIBC_HAS_CTYPE_ENFORCED is not set
-UCLIBC_HAS_WCHAR=y
-UCLIBC_HAS_LOCALE=y
-UCLIBC_PREGENERATED_LOCALE_DATA=y
-UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y
-UCLIBC_HAS_XLOCALE=y
-UCLIBC_HAS_HEXADECIMAL_FLOATS=y
-UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
-UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
-UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
-# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
-UCLIBC_HAS_STDIO_BUFSIZ_4096=y
-# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
-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=n
-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=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
-
-#
-# Big and Tall
-#
-UCLIBC_HAS_REGEX=y
-UCLIBC_HAS_REGEX_OLD=y
-# UCLIBC_HAS_WORDEXP is not set
-UCLIBC_HAS_FTW=y
-UCLIBC_HAS_GLOB=y
-UCLIBC_HAS_GNU_GLOB=y
-
-#
-# Library Installation Options
-#
-SHARED_LIB_LOADER_PREFIX="/lib"
-RUNTIME_PREFIX="/"
-DEVEL_PREFIX="/usr/"
-
-#
-# uClibc security related options
-#
-# UCLIBC_SECURITY is not set
-UCLIBC_BUILD_PIE=n
-UCLIBC_HAS_SSP=n
-UCLIBC_BUILD_RELRO=y
-UCLIBC_BUILD_NOW=y
-UCLIBC_BUILD_NOEXECSTACK=y
-
-#
-# uClibc development/debugging options
-#
-CROSS_COMPILER_PREFIX=""
-# DODEBUG is not set
-# DODEBUG_PT is not set
-# DOASSERTS is not set
-# SUPPORT_LD_DEBUG is not set
-# SUPPORT_LD_DEBUG_EARLY is not set
-WARNINGS="-Wall"
-# DOMULTI is not set
-# UCLIBC_MJN3_ONLY is not set
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-10-02 18:40:42 UTC (rev 16289)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-10-02 18:52:14 UTC (rev 16290)
@@ -5,12 +5,8 @@
#############################################################
ifndef UCLIBC_CONFIG_FILE
-ifeq ($(BR2_ENABLE_LOCALE),y)
-UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc.config-locale
-else
UCLIBC_CONFIG_FILE=toolchain/uClibc/uClibc.config
endif
-endif
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
# Be aware that this changes daily....
@@ -70,6 +66,9 @@
uclibc-configured: dependencies kernel-headers $(UCLIBC_DIR)/.configured
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
cp $(UCLIBC_CONFIG_FILE) $(UCLIBC_DIR)/.config
+ifeq ($(ENABLE_LOCALE),true)
+ $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config
+endif
$(SED) 's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="$(TARGET_CROSS)",g' \
-e 's,# TARGET_$(UCLIBC_TARGET_ARCH) is not set,TARGET_$(UCLIBC_TARGET_ARCH)=y,g' \
-e 's,^TARGET_ARCH="none",TARGET_ARCH=\"$(UCLIBC_TARGET_ARCH)\",g' \
^ permalink raw reply [flat|nested] 134+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc
@ 2006-09-25 14:28 jacmet at uclibc.org
0 siblings, 0 replies; 134+ messages in thread
From: jacmet at uclibc.org @ 2006-09-25 14:28 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2006-09-25 07:28:54 -0700 (Mon, 25 Sep 2006)
New Revision: 16219
Log:
Set 0.9.28 floating point mode according to BR2_SOFT_FLOAT
Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk
Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================
--- trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-09-25 13:37:13 UTC (rev 16218)
+++ trunk/buildroot/toolchain/uClibc/uclibc.mk 2006-09-25 14:28:54 UTC (rev 16219)
@@ -101,7 +101,9 @@
endif
$(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
ifeq ($(BR2_SOFT_FLOAT),y)
- $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config
+ $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n\nHAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config
+else
+ $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=y\nHAS_FPU=y\nUCLIBC_HAS_FLOATS=y\n,g' $(UCLIBC_DIR)/.config
endif
ifneq ($(BR2_PTHREADS_NONE),y)
$(SED) 's,# UCLIBC_HAS_THREADS is not set,UCLIBC_HAS_THREADS=y,g' $(UCLIBC_DIR)/.config
^ permalink raw reply [flat|nested] 134+ messages in thread
end of thread, other threads:[~2009-03-05 12:11 UTC | newest]
Thread overview: 134+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28 15:48 [Buildroot] svn commit: trunk/buildroot/toolchain/uClibc jacmet at uclibc.org
-- strict thread matches above, loose matches on Subject: below --
2009-03-05 12:11 jacmet at uclibc.org
2009-03-03 20:23 jacmet at uclibc.org
2009-02-03 14:29 jacmet at uclibc.org
2009-02-03 14:28 jacmet at uclibc.org
2009-01-24 6:44 jacmet at uclibc.org
2009-01-16 14:21 jacmet at uclibc.org
2009-01-12 15:57 jacmet at uclibc.org
2009-01-12 15:01 jacmet at uclibc.org
2009-01-12 14:11 jacmet at uclibc.org
2009-01-02 8:30 ulf at uclibc.org
2008-12-29 15:22 jacmet at uclibc.org
2008-12-23 10:21 jacmet at uclibc.org
2008-12-23 9:39 jacmet at uclibc.org
2008-12-07 21:22 jacmet at uclibc.org
2008-12-01 14:53 jacmet at uclibc.org
2008-12-01 14:23 egtvedt at uclibc.org
2008-12-01 14:23 egtvedt at uclibc.org
2008-12-01 13:02 egtvedt at uclibc.org
2008-10-20 18:55 jacmet at uclibc.org
2008-10-20 15:23 jacmet at uclibc.org
2008-10-07 7:32 egtvedt at uclibc.org
2008-10-07 7:20 egtvedt at uclibc.org
2008-09-30 7:29 egtvedt at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-06-18 8:51 jacmet at uclibc.org
2008-06-18 8:51 jacmet at uclibc.org
2008-06-17 13:30 jacmet at uclibc.org
2008-06-17 15:53 ` Bernhard Fischer
2008-06-17 18:44 ` Peter Korsgaard
2008-06-18 7:10 ` Bernhard Fischer
2008-06-18 7:38 ` Peter Korsgaard
2008-06-18 8:29 ` Bernhard Fischer
2008-05-31 7:28 jacmet at uclibc.org
2008-05-31 7:28 jacmet at uclibc.org
2008-05-31 7:27 jacmet at uclibc.org
2008-04-24 9:03 jacmet at uclibc.org
2008-04-17 13:25 nkukard at uclibc.org
2008-03-29 17:34 nkukard at uclibc.org
2008-03-29 16:23 nkukard at uclibc.org
2008-03-29 16:56 ` Peter Korsgaard
2008-03-29 17:20 ` Nigel Kukard
2008-03-27 10:23 jacmet at uclibc.org
2008-03-27 10:23 jacmet at uclibc.org
2008-03-06 18:50 ninevoltz at uclibc.org
2008-03-06 21:54 ` Peter Korsgaard
2007-11-15 15:44 vanokuten at uclibc.org
2007-11-15 10:16 vanokuten at uclibc.org
2007-10-12 15:12 ulf at uclibc.org
2007-09-30 12:43 aldot at uclibc.org
2007-09-28 22:16 ulf at uclibc.org
2007-09-28 21:44 ulf at uclibc.org
2007-09-27 23:54 ulf at uclibc.org
2007-09-27 21:51 aldot at uclibc.org
2007-09-27 0:18 ulf at uclibc.org
2007-09-26 9:09 ulf at uclibc.org
2007-09-25 14:13 ulf at uclibc.org
2007-09-25 13:37 ulf at uclibc.org
2007-09-25 16:06 ` vano
2007-09-25 14:30 ` Ulf Samuelsson
2007-09-25 16:47 ` vano
2007-09-25 16:14 ` Ulf Samuelsson
2007-09-24 12:19 aldot at uclibc.org
2007-09-22 16:40 aldot at uclibc.org
2007-08-29 18:05 aldot at uclibc.org
2007-08-26 20:55 aldot at uclibc.org
2007-08-26 20:40 aldot at uclibc.org
2007-08-21 8:05 aldot at uclibc.org
2007-08-16 5:01 ulf at uclibc.org
2007-08-14 7:07 ulf at uclibc.org
2007-08-12 12:37 ulf at uclibc.org
2007-08-01 19:13 ulf at uclibc.org
2007-08-01 12:11 ulf at uclibc.org
2007-07-30 18:23 ulf at uclibc.org
2007-07-29 17:47 ulf at uclibc.org
2007-07-30 7:36 ` Bernhard Fischer
2007-07-30 14:34 ` Ulf Samuelsson
2007-07-29 17:40 ulf at uclibc.org
2007-07-29 17:32 ulf at uclibc.org
2007-07-23 11:32 aldot at uclibc.org
2007-07-20 10:49 ulf at uclibc.org
2007-07-08 12:05 aldot at uclibc.org
2007-07-07 23:54 aldot at uclibc.org
2007-07-07 10:39 aldot at uclibc.org
2007-07-07 16:40 ` BuraphaLinux Server
2007-07-05 5:13 sjhill at uclibc.org
2007-06-28 12:14 aldot at uclibc.org
2007-06-26 16:58 aldot at uclibc.org
2007-06-25 8:16 aldot at uclibc.org
2007-06-24 14:38 aldot at uclibc.org
2007-06-13 18:14 aldot at uclibc.org
2007-06-07 16:18 aldot at uclibc.org
2007-06-07 12:16 aldot at uclibc.org
2007-05-12 18:39 aldot at uclibc.org
2007-05-10 2:37 sjhill at uclibc.org
2007-05-10 2:37 sjhill at uclibc.org
2007-04-28 17:08 sjhill at uclibc.org
2007-04-15 9:51 aldot at uclibc.org
2007-03-22 16:23 andersen at uclibc.org
2007-02-28 22:01 andersen at uclibc.org
2007-02-22 8:53 jacmet at uclibc.org
2007-02-20 11:06 jacmet at uclibc.org
2007-02-15 11:24 aldot at uclibc.org
2007-02-14 13:28 aldot at uclibc.org
2007-02-10 21:24 aldot at uclibc.org
2007-02-09 17:53 aldot at uclibc.org
2007-02-06 18:35 aldot at uclibc.org
2007-02-05 13:01 aldot at uclibc.org
2007-02-02 13:50 aldot at uclibc.org
2007-01-30 17:45 aldot at uclibc.org
2007-01-29 22:23 andersen at uclibc.org
2007-01-29 22:21 andersen at uclibc.org
2007-01-29 16:44 jacmet at uclibc.org
2007-01-28 12:11 aldot at uclibc.org
2007-01-25 20:27 andersen at uclibc.org
2007-01-24 15:12 aldot at uclibc.org
2007-01-21 21:11 aldot at uclibc.org
2007-01-20 22:03 aldot at uclibc.org
2007-01-16 9:35 aldot at uclibc.org
2006-12-15 14:40 aldot at uclibc.org
2006-12-15 13:39 aldot at uclibc.org
2006-12-15 14:31 ` Ulrich Hecht
2006-12-15 14:43 ` Bernhard Fischer
2006-12-14 15:17 aldot at uclibc.org
2006-12-14 2:50 andersen at uclibc.org
2006-12-13 13:07 andersen at uclibc.org
2006-12-13 12:42 andersen at uclibc.org
2006-12-13 12:41 andersen at uclibc.org
2006-12-13 12:34 andersen at uclibc.org
2006-12-13 11:51 andersen at uclibc.org
2006-12-13 6:59 andersen at uclibc.org
2006-12-02 18:30 aldot at uclibc.org
2006-10-02 18:52 andersen at uclibc.org
2006-09-25 14:28 jacmet at uclibc.org
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.