[PATCH] Added a baremetal ARM Cortex-M3 sample that uses the latest Linaro

Michael Hope michael.hope@linaro.org
Thu Sep 29 01:56:00 GMT 2011


On Thu, Sep 29, 2011 at 12:04 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Michael, All,
>
> On Wednesday 28 September 2011 09:00:48 Michael Hope wrote:
>> # HG changeset patch
>> # User Michael Hope <michael.hope@linaro.org>
>> # Date 1317178947 -46800
>> # Node ID ccba0d4551b2735d29413a4a1b24af37358ebaf7
>> # Parent  8787c0fd1b726a336314e3a29db4ebe9ef73c8ad
>> Added a baremetal ARM Cortex-M3 sample that uses the latest Linaro
>> consolidation releases.  Just to push the envelope, it also uses the
>> latest companion libraries, binutils, and Newlib.
>>
>> Normalised against the arm-unknown-eabi sample where possible.
>>
>> Uses getconf to automatically set the number of parallel jobs.
>
> That one is missing your SoB-line.
>
> Also, your getconf-kludge does not work, as the option is an integer.
> So, recalling the sample will prompt for the number of // jobs:
>
>  $ ct-ng arm-linaro-baremetal-eabi
>  *
>  * Build behavior
>  *
>  Number of parallel jobs (PARALLEL_JOBS) [1] (NEW)
>
> The menuconfig option can be overriden from the command-line:
>  $ ct-ng build.18  # Wil build with 18 // jobs
>
> So I'd suggest just leaving the default '1' when saving the sample.

Ta.  I realised that after trying to reuse it today.  The `getconf`
trick works if you edit the .config file itself, but fails when it
gets validated.

I'll hold off on this as there's some other changes I'd like to make
that obsolete this sample.

-- Michael

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list