[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Dynamically setting which toolchain to use?
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Dynamically setting which toolchain to use? |
Date: |
Tue, 19 Feb 2008 18:15:26 +0000 |
Hi Mattias,
For toolchains outside LTIB it is right to use "custom" for the
toolchain selection.
The best thing to do is (once):
$ ./ltib -m config
# setup the custom toolchain to use your cross tools
# setup any other configuration points you want (packages etc)
# optionally build it to check it works
$ ./ltib
You now have a configuration file that you can use. Save this off to a
handy name:
cp config/platform/<target>/defconfig.dev config/platform/<target>/<myname>
>From your makefile call:
<path>/ltib --preconfig <path>/config/platform/<target>/<myname> --batch
Regards, Stuart
On Tue, 2008-02-19 at 16:49 +0100, Mattias Boström wrote:
> Hi,
>
> We are using ltib-mpc5200-20070203 as a part of our build system. Ltib
> is called from a "global" Makefile that compiles applications etc.
> that are put in the merge directory to get them into the final rootfs.
> In our global Makefile we specify which toolchain to use. Is it
> possible to get ltib to use this same toolchain i.e using env
> variables like TOOLCHAIN_PATH and TOOLCHAIN_ PREFIX. I don't want to
> hardcoded it using TOOLCHAIN4 etc.
> If I would use TOOLCHAIN_CUSTOM I would have to type it in manually
> when I compile I guess?
> I need to be able to do batch compilations and want to change which
> toolchain to use in one place in our build system.
>
> Regards,
> Mattias
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib