From: "Petr Štetiar" <ynezz@true.cz>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] ts72xx, ts73xx, ts74xx? How to handle properly similar machines
Date: Thu, 14 Oct 2010 15:50:06 +0200 [thread overview]
Message-ID: <20101014135006.GL28423@ibawizard.net> (raw)
In-Reply-To: <i9705t$i6g$1@dough.gmane.org>
Koen Kooi <k.kooi@student.utwente.nl> [2010-10-14 15:22:05]:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 14-10-10 14:45, Petr Štetiar wrote:
> > Hi,
> >
> > I've been asked if I could add support for the ts7400 board/machine in the OE.
> > It's not a big deal, it's just an addition of one patch to the kernel recipe.
> >
> > While I'll be into it, I was thinking about adding the base for the possible
> > future addition of ts7300[2] boards also. Althought I own only ts7800 and
> > ts7250, the ts7200[4], ts7300 and ts7400 families looks like they have a lot
> > of common and it would be possible to have for example one kernel for all of
> > them.
> >
> > The question is, how to handle this correctly in OE? On the IRC, I was pointed
> > to the SOC_FAMILY[3], but it says "The use of SOC_FAMILY as an override is
> > currently a distribution or local setting", what does it mean?
>
> It means you need to use angstrom or set is as override in local.conf
You mean setting it to something like a SOC_FAMILY = "ts7xxx"? And then do
something like this, from recipes/ti/ti-linuxutils.inc:
do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
case ${SOC_FAMILY} in
dm365)
modules="cmem edma irq";;
omap3)
modules="cmem sdma";;
dm355)
modules="cmem edma irq";;
*)
modules="cmem"
esac
Well, I'm not OE/bitbake expert, but using something like
do_compile_append_SOC_FAMILY() would fit more in OE style for me. I can't find
any other usage of it. Anyway I think, that it would be abuse of SOC_FAMILY,
something like the SBC_FAMILY would be more apropriate, but again, I'm not OE
expert and I don't know what is possible.
-- ynezz
next prev parent reply other threads:[~2010-10-14 13:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-14 12:45 [RFC] ts72xx, ts73xx, ts74xx? How to handle properly similar machines Petr Štetiar
2010-10-14 13:22 ` Koen Kooi
2010-10-14 13:50 ` Petr Štetiar [this message]
2010-10-18 11:49 ` Petr Štetiar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101014135006.GL28423@ibawizard.net \
--to=ynezz@true.cz \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.