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

Khem Raj raj.khem at gmail.com
Fri Sep 24 23:12:18 UTC 2010


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.

Thx
-Khem




More information about the Openembedded-devel mailing list