[oe-commits] Tom Rini : local.conf.sample: Add an example for using CodeSourcery tools

git version control git at git.openembedded.org
Wed Mar 2 17:01:47 UTC 2011


Module: openembedded.git
Branch: master
Commit: 2f24a40ad0a8ae16aa23d6ba49641b8cee8ff798
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2f24a40ad0a8ae16aa23d6ba49641b8cee8ff798

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Mar  2 09:58:45 2011 -0700

local.conf.sample: Add an example for using CodeSourcery tools

linux-libc-headers portion from Ben Gardiner.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 conf/local.conf.sample |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/conf/local.conf.sample b/conf/local.conf.sample
index ff3da96..5e73baf 100644
--- a/conf/local.conf.sample
+++ b/conf/local.conf.sample
@@ -90,6 +90,20 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
 # Stay away from unversioned distros unless you really know what you are doing
 # DISTRO = "angstrom-2008.1"
 
+# Uncomment and modify the following lines if you wish to use an external
+# binary toolchain, in this case one built by CodeSourcery.  The following
+# example is for ARM and we set TOOLCHAIN_VENDOR to "-none" as the CodeSourcery
+# ARM tools are arm-none-linux-gnueabi-$tool.  Other arches need different
+# values here.  This assumes that the tools are already in the users PATH.
+# TOOLCHAIN_VENDOR = "-none"
+# TOOLCHAIN_TYPE = "external"
+# TOOLCHAIN_BRAND = "csl"
+# TOOLCHAIN_PATH = "/path/to/installed/copy/of/CodeSourcery/Sourcery_G++_Lite"
+
+# Uncomment this if you want to use linux-headers from the linux-lib-headers
+# recipe as opposed to those bundled with the CSL toolchain
+# PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers"
+
 # So far, angstrom.conf sets ENABLE_BINARY_LOCALE_GENERATION
 # to generate binary locale packages at build time using qemu-native and
 # thereby guarantee i18n support on all devices. If your build breaks on 





More information about the Openembedded-commits mailing list