From f4eff6f7d5fdef8571eb45a99895428b9c535015 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 2 Mar 2011 09:58:45 -0700 Subject: local.conf.sample: Add an example for using CodeSourcery tools linux-libc-headers portion from Ben Gardiner. Signed-off-by: Tom Rini Signed-off-by: Denys Dmytriyenko --- conf/local.conf.sample | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'conf') diff --git a/conf/local.conf.sample b/conf/local.conf.sample index ff3da96613..5e73baf0d2 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 -- cgit 1.2.3-korg From d25c866aead6a123d9017c1cd54fb238af93a181 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 2 Mar 2011 10:17:04 -0700 Subject: local.conf.sample: Typo fix Spotted by Denys Dmytriyenko. Signed-off-by: Tom Rini Signed-off-by: Denys Dmytriyenko --- conf/local.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/local.conf.sample b/conf/local.conf.sample index 5e73baf0d2..3eb1e9190d 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample @@ -100,7 +100,7 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" # 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 +# Uncomment this if you want to use linux-headers from the linux-libc-headers # recipe as opposed to those bundled with the CSL toolchain # PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers" -- cgit 1.2.3-korg From f0b73dee3459fbb9fa88648b17fc01b17278d916 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Mon, 21 Mar 2011 00:07:12 -0400 Subject: local.conf: add example to use external angstrom toolchain Signed-off-by: Denys Dmytriyenko --- conf/local.conf.sample | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/local.conf.sample b/conf/local.conf.sample index 3eb1e9190d..4a27130d3a 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample @@ -100,8 +100,16 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" # TOOLCHAIN_BRAND = "csl" # TOOLCHAIN_PATH = "/path/to/installed/copy/of/CodeSourcery/Sourcery_G++_Lite" +# This example is for the Angstrom ARM toolchain, that uses cross prefix of +# arm-angstrom-linux-gnueabi-$tool. This assumes that the tools are already +# in the users PATH. +# TOOLCHAIN_VENDOR = "-angstrom" +# TOOLCHAIN_TYPE = "external" +# TOOLCHAIN_BRAND = "angstrom" +# TOOLCHAIN_PATH = "/usr/local/angstrom/arm" + # Uncomment this if you want to use linux-headers from the linux-libc-headers -# recipe as opposed to those bundled with the CSL toolchain +# recipe as opposed to those bundled with the external (csl/angstrom) toolchain # PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers" # So far, angstrom.conf sets ENABLE_BINARY_LOCALE_GENERATION -- cgit 1.2.3-korg