[En-Nut-Discussion] New Makefile Structure

Coleman Brumley cbrumley at gopolar.com
Tue Apr 14 19:56:07 CEST 2009


Why not remove -mthumb-interwork altogether at this point?

I remember reading a post from Harald that it was there for "future"
functionality but isn't needed at this time. If that's still the case, then
why not just remove it?

- Coleman


-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Thiago A. Corrêa
Sent: Tuesday, April 14, 2009 12:53 PM
To: Ethernut User Chat (English)
Subject: Re: [En-Nut-Discussion] New Makefile Structure

Hi Harald,

    No problem. I've tried it with avr32, and it works file. There is
just a minor copy & paste issue:

At Makevars.avr32-gcc, you need to remove the -mthumb-interwork which
is ARM specific and the avr32 toolchain doesn't understand :)
I think there are some target optimization flags missing like
-Wl,-gc-sections but we can add them back later, perhaps for all
platforms.

Kind Regards,
   Thiago A. Correa

On Tue, Apr 14, 2009 at 6:53 AM, Harald Kipp <harald.kipp at egnite.de> wrote:
> Thiago A. Corrêa wrote:
>>    The changes looks ok, but I couldn't test it myself. It references
>> a Makerules.all, but that file is not included in the patch.
>
> Sorry Thiago, first time that I used svn for creating a patch. I wasn't
> aware that new files are not automatically included.
>
> I uploaded a new patch, which should do the trick.
>
> Btw. please note that Unix line endings are used. When using the patch
> on Windows, it may be required to first run unix2dos on the patch file
> before applying it.
>
> Harald
>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list