Hi Tom,

On 23 April 2015 at 12:57, Tom Rini <tr...@konsulko.com> wrote:
> On Thu, Apr 23, 2015 at 12:44:12PM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 23 April 2015 at 07:07, Tom Rini <tr...@konsulko.com> wrote:
>> > Hey,
>> >
>> > So I'm merging (or rather have merged and will push shortly) the ARMv7-M
>> > support.  You can't build this with your normal arm-linux toolchain.  Is
>> > there some way in buildman to be able to say, roughly:
>> > [toolchain]
>> > arm: /usr/bin/arm-linux-gnueabi
>> > armnone: /usr/bin/arm-none-eabi
>> >
>> > [toolchain-alias]
>> > stm32f429-discovery: armnone
>> >
>> > And have the 'arm' toolchain used normally for arm but 'armnone' used
>> > for the stm32f429-discovery board?
>>
>> I don't see why not, or something similar. Are you asking for a patch? :-)
>
> Or a pointer to where to start hacking :)

The toolchain is selected in builderthread.py:

                    self.toolchain = self.builder.toolchains.Select(brd.arch)

brd is a Board object.

At present only the arch is passed in, but you could pass in
brd.target if you like.

You'll then need to enhance toolchain.Select() to check for an alias
for that target.

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to