[oe] [PATCH v2] machine/sh7785lcr: Add new machine for Renesas SH7785 reference board

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Sun Sep 26 20:42:26 UTC 2010


Hi,

2010/9/25 Khem Raj <raj.khem at gmail.com>:
> On Fri, Sep 24, 2010 at 2:56 PM, Nobuhiro Iwamatsu <iwamatsu at nigauri.org> wrote:
>> * Machine config for Renesas SH7785 reference board.
>> * Add kernel config for 2.6.32 and 35.
>>
>> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
>> ---
>>  conf/machine/include/tune-sh4.inc              |    2 +
>>  conf/machine/sh7785lcr.conf                    |   20 +
>>  recipes/linux/linux-2.6.32/sh7785lcr/defconfig | 1833 ++++++++++++++++++++++
>>  recipes/linux/linux-2.6.35/sh7785lcr/defconfig | 1927 ++++++++++++++++++++++++
>>  recipes/linux/linux_2.6.32.bb                  |    1 +
>>  recipes/linux/linux_2.6.35.bb                  |    1 +
>>  6 files changed, 3784 insertions(+), 0 deletions(-)
>>  create mode 100644 conf/machine/sh7785lcr.conf
>>  create mode 100644 recipes/linux/linux-2.6.32/sh7785lcr/defconfig
>>  create mode 100644 recipes/linux/linux-2.6.35/sh7785lcr/defconfig
>>
>> diff --git a/conf/machine/include/tune-sh4.inc b/conf/machine/include/tune-sh4.inc
>> index 5d43e41..56c75a8 100644
>> --- a/conf/machine/include/tune-sh4.inc
>> +++ b/conf/machine/include/tune-sh4.inc
>> @@ -1,3 +1,5 @@
>> +# If you want to optimize to sh4a, you need to change
>> +# from -m4 to m4a.
>>  TARGET_CC_ARCH = "-ml -m4"
>>  FEED_ARCH = "sh4"
>>  BASE_PACKAGE_ARCH = "sh4"
>
> you could add another tune file for sh4a called
> tune-sh4a.inc and include that for appropriate
> machines. rest of patch looks good to me.

I want to make optimization of m4 a default.
The reason is because there is not compatibility in m4 and m4a.
It is a memo for the person whom it wants to optimize in m4a that I
wrote in tune-sh4.inc.

I thought that I have had better take off a memo if confusion happened
by this memo.
How do you think?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6




More information about the Openembedded-devel mailing list