On Fri, Sep 24, 2010 at 2:56 PM, Nobuhiro Iwamatsu <[email protected]> wrote: > * Machine config for Renesas SH7785 reference board. > * Add kernel config for 2.6.32 and 35. > > Signed-off-by: Nobuhiro Iwamatsu <[email protected]> > --- > 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 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
