Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2008-06-16 12:22 jacmet at uclibc.org
  2008-06-16 13:54 ` Bernhard Fischer
  2008-06-17  4:23 ` Hamish Moffatt
  0 siblings, 2 replies; 22+ messages in thread
From: jacmet at uclibc.org @ 2008-06-16 12:22 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-16 05:22:45 -0700 (Mon, 16 Jun 2008)
New Revision: 22378

Log:
toolchain: more sensible uclibc defaults for external toolchain


Modified:
   trunk/buildroot/toolchain/external-toolchain/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/Config.in
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/Config.in	2008-06-16 11:42:19 UTC (rev 22377)
+++ trunk/buildroot/toolchain/external-toolchain/Config.in	2008-06-16 12:22:45 UTC (rev 22378)
@@ -6,7 +6,7 @@
 
 config BR2_TOOLCHAIN_EXTERNAL_LIB_C
 	string "The core C library from the external toolchain"
-	default "libc.so.6"
+	default "libc.so.0"
 	help
 	  Specify the core C shared library found in the external
 	  toolchain. This is required in addition to any other
@@ -14,7 +14,7 @@
 
 config BR2_TOOLCHAIN_EXTERNAL_LIBS
 	string "Libraries to copy from the external toolchain"
-	default ""
+	default "ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 	help
 	  A space separated list of the shared libraries to be copied
 	  from the external toolchain into the root filesystem. Only
@@ -34,13 +34,13 @@
 
 config BR2_TOOLCHAIN_EXTERNAL_PATH
 	string "External toolchain path"
-	default ""
+	default "/path/to/staging_dir/usr"
 	help
 	  Path to where the external toolchain is installed.
 
 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	string "External toolchain prefix"
-	default ""
+	default "$(ARCH)-linux"
 	help
 	  This the the external toolchain prefix. For example:
 	    armeb-unknown-linux-gnu, mipsel-unknown-linux-gnu, etc.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2009-01-12 12:54 laird at uclibc.org
  0 siblings, 0 replies; 22+ messages in thread
From: laird at uclibc.org @ 2009-01-12 12:54 UTC (permalink / raw)
  To: buildroot

Author: laird
Date: 2009-01-12 12:54:30 +0000 (Mon, 12 Jan 2009)
New Revision: 24794

Log:
toolchain/external-toolchain/ext-tool.mk: Support non sysroot-able toolchains

Only copy the sysroot files if the toolchain was built with sysroot support.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>



Modified:
   trunk/buildroot/toolchain/external-toolchain/ext-tool.mk


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/ext-tool.mk
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2009-01-12 12:45:48 UTC (rev 24793)
+++ trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2009-01-12 12:54:30 UTC (rev 24794)
@@ -46,8 +46,8 @@
 
 copy_toolchain_sysroot = \
 	SYSROOT_DIR=`$(TARGET_CC) -v 2>&1 | grep ^Configured | tr " " "\n" | grep -- "--with-sysroot" | cut -f2 -d=`; \
-	cp -a $${SYSROOT_DIR}/* $(STAGING_DIR)/ ; \
-	find $(STAGING_DIR) -type d | xargs chmod 755
+	if [ -n "$${SYSROOT_DIR}" ]; then cp -a $${SYSROOT_DIR}/* $(STAGING_DIR)/ ; \
+	find $(STAGING_DIR) -type d | xargs chmod 755; fi
 
 uclibc: dependencies $(TARGET_DIR)/lib/$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_LIB_C)))
 
@@ -59,4 +59,4 @@
 	for libs in $(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_LIBS))); do \
 		$(call copy_toolchain_lib_root, $$libs, /lib, $(BR2_TOOLCHAIN_EXTERNAL_STRIP)); \
 	done
-	$(call copy_toolchain_sysroot)
\ No newline at end of file
+	$(call copy_toolchain_sysroot)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2008-11-03 10:37 jacmet at uclibc.org
  0 siblings, 0 replies; 22+ messages in thread
From: jacmet at uclibc.org @ 2008-11-03 10:37 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-11-03 02:37:27 -0800 (Mon, 03 Nov 2008)
New Revision: 23910

Log:
External toolchain C++ cross-compiler fix

External toolchain C++ cross-compiler fix

package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if
BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external
toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a
C++ cross-compiler.

This patch adds a new BR2_GCC_CROSS_CXX option in the external
toolchain configuration menu, so that just like BR2_INET_RPC,
BR2_INET_IPV6 and the others, it can be set according to the external
toolchain configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Modified:
   trunk/buildroot/toolchain/external-toolchain/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/Config.in
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/Config.in	2008-11-03 10:32:59 UTC (rev 23909)
+++ trunk/buildroot/toolchain/external-toolchain/Config.in	2008-11-03 10:37:27 UTC (rev 23910)
@@ -93,6 +93,12 @@
 	help
 	  Set this option if the external toolchain supports soft float.
 
+config BR2_GCC_CROSS_CXX
+	bool "Toolchain has C++ cross-compiler ?"
+	help
+	  Set this option if the external toolchain has a C++
+	  cross-compiler.
+
 config BR2_TARGET_OPTIMIZATION
 	string "Target Optimizations"
 	default "-Os -pipe"

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2008-11-03 10:32 jacmet at uclibc.org
  0 siblings, 0 replies; 22+ messages in thread
From: jacmet at uclibc.org @ 2008-11-03 10:32 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-11-03 02:32:59 -0800 (Mon, 03 Nov 2008)
New Revision: 23909

Log:
More external toolchain fixes

Fix issues with binary external toolchains

Fix two problems encountered while using an external binary toolchain
generated by crosstool-ng:

 - Don't remove the ending / in LIB_DIR, otherwise find $LIB_DIR
   -maxdepth 1 doesn't find any file in the case LIB_DIR is a symbolic
   link and not a directory.

   For some reason, find -maxdepth 1 doesn't have the same behaviour
   on directories and symbolic links. Demonstration:

   $ mkdir foobar
   $ touch foobar/t1
   $ touch foobar/t2
   $ ln -s foobar barfoo
   $ find foobar -maxdepth 1 -name 't*'
   foobar/t1
   foobar/t2
   $ find barfoo -maxdepth 1 -name 't*'
   $ find barfoo/ -maxdepth 1 -name 't*'
   barfoo/t1
   barfoo/t2

 * Make sure the libraries are writable, otherwise the strip operation
   might fail. The library files may not be writable if the toolchain
   is not writable (which may happen if one wants to prevent anyone
   from overwriting the toolchain, which is done by crosstool-ng, for
   example).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Modified:
   trunk/buildroot/toolchain/external-toolchain/ext-tool.mk


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/ext-tool.mk
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2008-11-03 10:18:39 UTC (rev 23908)
+++ trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2008-11-03 10:32:59 UTC (rev 23909)
@@ -10,7 +10,7 @@
 	DST="$(strip $2)"; \
 	STRIP="$(strip $3)"; \
  \
-	LIB_DIR=`$(TARGET_CC) -print-file-name=$${LIB} | sed -e "s,/$${LIB}\$$,,"`; \
+	LIB_DIR=`$(TARGET_CC) -print-file-name=$${LIB} | sed -e "s,$${LIB}\$$,,"`; \
  \
 	if test -z "$${LIB_DIR}"; then \
 		echo "copy_toolchain_lib_root: lib=$${LIB} not found"; \
@@ -27,7 +27,7 @@
 			if test -h $${LIB_DIR}/$${LIB}; then \
 				cp -d $${LIB_DIR}/$${LIB} $(TARGET_DIR)$${DST}/; \
 			elif test -f $${LIB_DIR}/$${LIB}; then \
-				cp $${LIB_DIR}/$${LIB} $(TARGET_DIR)$${DST}/$${LIB}; \
+				$(INSTALL) -D -m0755 $${LIB_DIR}/$${LIB} $(TARGET_DIR)$${DST}/$${LIB}; \
 				case "$${STRIP}" in \
 				(0 | n | no) \
 ;; \

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2008-10-17 10:19 jacmet at uclibc.org
  0 siblings, 0 replies; 22+ messages in thread
From: jacmet at uclibc.org @ 2008-10-17 10:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-10-17 03:19:38 -0700 (Fri, 17 Oct 2008)
New Revision: 23700

Log:
Typo fix in toolchain/external-toolchain/ext-tool.mk

From: Grant Likely <grant.likely@secretlab.ca>

Comment block header documentation typo

Modified:
   trunk/buildroot/toolchain/external-toolchain/ext-tool.mk


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/ext-tool.mk
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2008-10-17 07:52:50 UTC (rev 23699)
+++ trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2008-10-17 10:19:38 UTC (rev 23700)
@@ -3,7 +3,7 @@
 #
 # $1: source
 # $2: destination
-# $2: strip (y|n)       default is to strip
+# $3: strip (y|n)       default is to strip
 #
 copy_toolchain_lib_root = \
 	LIB="$(strip $1)"; \

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2007-07-17  0:18 sjhill at uclibc.org
  0 siblings, 0 replies; 22+ messages in thread
From: sjhill at uclibc.org @ 2007-07-17  0:18 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-07-16 17:18:54 -0700 (Mon, 16 Jul 2007)
New Revision: 19115

Log:
Allow selection of RPC and IPv6 options for an external toolchain.


Modified:
   trunk/buildroot/toolchain/external-toolchain/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/Config.in
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/Config.in	2007-07-16 22:21:15 UTC (rev 19114)
+++ trunk/buildroot/toolchain/external-toolchain/Config.in	2007-07-17 00:18:54 UTC (rev 19115)
@@ -74,6 +74,18 @@
 	help
 	  Enable large file (files > 2 GB) support
 
+config BR2_INET_IPV6
+	bool "Enable IPv6"
+	default n
+	help
+	    Enable IPv6.
+
+config BR2_INET_RPC
+	bool "Enable RPC"
+	default n
+	help
+	    Enable RPC. RPC support is needed for nfs.
+
 config BR2_SOFT_FLOAT
 	bool "Use software floating point by default"
 	default n

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2007-04-28 17:10 sjhill at uclibc.org
  0 siblings, 0 replies; 22+ messages in thread
From: sjhill at uclibc.org @ 2007-04-28 17:10 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-04-28 10:10:31 -0700 (Sat, 28 Apr 2007)
New Revision: 18529

Log:
When using an external toolchain, we still need to have the user select which thread model the toolchain was built with. This allows for proper building of LTP and possibly other packages.


Modified:
   trunk/buildroot/toolchain/external-toolchain/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/Config.in
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/Config.in	2007-04-28 17:09:44 UTC (rev 18528)
+++ trunk/buildroot/toolchain/external-toolchain/Config.in	2007-04-28 17:10:31 UTC (rev 18529)
@@ -27,10 +27,10 @@
 	help
 	  Strip shared libraries copied from the external toolchain.
 
+comment "Common Toolchain Options"
+
 source "toolchain/gdb/Config.in.2"
 
-comment "Common Toolchain Options"
-
 config BR2_TOOLCHAIN_EXTERNAL_PATH
 	string "External toolchain path"
 	default ""
@@ -44,6 +44,29 @@
 	  This the the external toolchain prefix. For example:
 	    armeb-unknown-linux-gnu, mipsel-unknown-linux-gnu, etc.
 
+choice
+	prompt "Thread library implementation"
+	default BR2_EXT_PTHREADS_OLD
+	help
+	  Select the version of libpthreads used in the external toolchain.
+
+	config BR2_EXT_PTHREADS_NONE
+		bool
+		prompt "none"
+
+	config BR2_EXT_PTHREADS
+		bool
+		prompt "linuxthreads"
+
+	config BR2_EXT_PTHREADS_OLD
+		bool
+		prompt "linuxthreads (stable/old)"
+
+	config BR2_EXT_PTHREADS_NATIVE
+		bool
+		prompt "Native POSIX Threading (NPTL)"
+endchoice
+
 config BR2_LARGEFILE
 	bool "Enable large file (files > 2 GB) support?"
 	depends on !BR2_cris

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain
@ 2007-04-19  2:04 sjhill at uclibc.org
  0 siblings, 0 replies; 22+ messages in thread
From: sjhill at uclibc.org @ 2007-04-19  2:04 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-04-18 19:04:15 -0700 (Wed, 18 Apr 2007)
New Revision: 18495

Log:
Some 'find' commands get a little picky.


Modified:
   trunk/buildroot/toolchain/external-toolchain/ext-tool.mk


Changeset:
Modified: trunk/buildroot/toolchain/external-toolchain/ext-tool.mk
===================================================================
--- trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2007-04-19 00:09:34 UTC (rev 18494)
+++ trunk/buildroot/toolchain/external-toolchain/ext-tool.mk	2007-04-19 02:04:15 UTC (rev 18495)
@@ -18,7 +18,7 @@
 	fi;											\
 												\
 	LIB="$(strip $1)";									\
-	for FILE in `find $${LIB_DIR} -type l -name "$${LIB}*" -maxdepth 1`; do			\
+	for FILE in `find $${LIB_DIR} -maxdepth 1 -type l -name "$${LIB}*"`; do			\
 		LIB=`basename $${FILE}`;							\
 		while test \! -z "$${LIB}"; do							\
 			echo "copy_toolchain_lib_root lib=$${LIB} dst=$${DST}";			\

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-01-12 12:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 12:22 [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain jacmet at uclibc.org
2008-06-16 13:54 ` Bernhard Fischer
2008-06-16 14:07   ` Peter Korsgaard
2008-06-16 15:35     ` Bernhard Fischer
2008-06-17  4:23 ` Hamish Moffatt
2008-06-17  7:16   ` Peter Korsgaard
2008-06-17 10:47     ` Hamish Moffatt
2008-06-17 13:45       ` Peter Korsgaard
2008-06-17 14:29         ` Bernhard Fischer
2008-06-17 14:55           ` Peter Korsgaard
2008-06-17 15:45             ` Bernhard Fischer
2008-06-18  1:18         ` Hamish Moffatt
2008-06-18  5:03           ` [Buildroot] svncommit: trunk/buildroot/toolchain/external-toolchain Ulf Samuelsson
2008-06-18  7:36           ` [Buildroot] svn commit: trunk/buildroot/toolchain/external-toolchain Peter Korsgaard
2008-06-18  1:05       ` Hamish Moffatt
  -- strict thread matches above, loose matches on Subject: below --
2009-01-12 12:54 laird at uclibc.org
2008-11-03 10:37 jacmet at uclibc.org
2008-11-03 10:32 jacmet at uclibc.org
2008-10-17 10:19 jacmet at uclibc.org
2007-07-17  0:18 sjhill at uclibc.org
2007-04-28 17:10 sjhill at uclibc.org
2007-04-19  2:04 sjhill at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox