[Buildroot] svn commit: trunk/buildroot/toolchain: export-toolchain uClibc
Peter Korsgaard
jacmet at uclibc.org
Tue Dec 23 10:25:42 UTC 2008
>>>>> "ulf" == ulf <ulf at uclibc.org> writes:
ulf> Author: ulf
ulf> Date: 2008-12-21 17:11:33 +0000 (Sun, 21 Dec 2008)
ulf> New Revision: 24480
ulf> Log:
ulf> Allow creating a script for external use of Buildroot toolchain
ulf> Added:
ulf> trunk/buildroot/toolchain/export-toolchain/
ulf> trunk/buildroot/toolchain/export-toolchain/Config.in
ulf> trunk/buildroot/toolchain/export-toolchain/Makefile.in
That seems very specific - What's wrong with the currently documented
way of adding build_$ARCH/staging_dir/usr/bin to the path? Where's the
documentation of this thing?
ulf> Modified:
ulf> trunk/buildroot/toolchain/Config.in
ulf> trunk/buildroot/toolchain/Makefile.in
ulf> trunk/buildroot/toolchain/uClibc/Config.in
ulf> +++ trunk/buildroot/toolchain/Makefile.in 2008-12-21 17:11:33 UTC (rev 24480)
ulf> @@ -47,3 +47,5 @@
ulf> # gcc has a bunch of needed stuff....
ulf> include toolchain/gcc/Makefile.in
ulf> +include toolchain/export-toolchain/Makefile.in
ulf> +
This seems to break the build as the dependencies target isn't
executed before the other toolchain stuff - I've disabled it in
r24519.
ulf> +config BR2_EXPORT_TOOLCHAIN
ulf> + bool "Create script exporting toolchain to home directory"
ulf> + default n
ulf> + help
ulf> + This will generate a batchfile which, if run
ulf> + will add the Buildroot toolchain to the user PATH
ulf> + The file is called "$(ARCH)-uclibc-gcc-$(GCC_VERSION).sh"
ulf> +
Batchfile? shell script? I take it that you need to source the file
for the changes to take effect?
ulf> +~/$(GCC_SCRIPT): cross_compiler
I'm not sure ~ in make targets are a good idea.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list