From: Richard Purdie <rpurdie@rpsys.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: BBCLASSEXTEND sdk vs. nativesdk
Date: Wed, 24 Mar 2010 15:37:20 +0000 [thread overview]
Message-ID: <1269445040.1681.147.camel@rex> (raw)
In-Reply-To: <1269444453.2395.5.camel@trini-m4400>
On Wed, 2010-03-24 at 08:27 -0700, Tom Rini wrote:
> On Wed, 2010-03-24 at 10:28 +0000, Richard Purdie wrote:
> > The difference is that the old "sdk" assumes the system you want the sdk
> > to run on is the same as the build system. This has always been a big
> > can of worms causing problems so "nativesdk" removes this assumption and
> > allows you to set SDKMACHINE to be the machine you want the resulting
> > sdk to run on.
> >
> > This adds some complexity since we need another cross compiling
> > toolchain. But cross compiling toolchains are something we're good
> > at :). It also means we ship *everything* with the sdk including a
> > standalone glibc massively removing system dependencies from the result
> > which in my opinion can only be a good thing.
>
> Or a really bad thing, yes. I think nativesdk will help out a lot for
> making canadian style builds cleaner. But going so far as to say 'Oh,
> lets just throw a libc into the SDK export' is going pretty far down a
> questionable road. I'm not so naive to think that there's not problems
> with my next suggestion, but there's this thing called LSB for a reason.
> If you want build once, run many distributions, you do that, not go and
> own even more dependencies.
However, an LSB compliant SDK becomes a case of installing "LSB" libs
into the right sysroot and then setting some
ASSUME_PROVIDED/PREFERRED_PROVIDER lines.
So I think its good all around, we achieve independence of the SDK from
the build system and make it depend on exactly what we do or don't want
it to. Where is the bad bit (ignoring build time)? :)
Cheers,
Richard
next prev parent reply other threads:[~2010-03-24 15:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 23:13 [PATCH/RFC] zlib: convert to BBCLASSEXTEND Scott Garman
2010-03-12 0:18 ` Khem Raj
2010-03-12 3:26 ` Scott Garman
2010-03-12 3:28 ` Scott Garman
2010-03-12 20:39 ` Khem Raj
2010-03-24 3:06 ` BBCLASSEXTEND sdk vs. nativesdk Scott Garman
2010-03-24 5:45 ` Khem Raj
2010-03-24 6:42 ` Scott Garman
2010-03-24 10:28 ` Richard Purdie
2010-03-24 10:53 ` jkridner
2010-03-24 19:27 ` Denys Dmytriyenko
2010-03-24 15:27 ` Tom Rini
2010-03-24 15:37 ` Richard Purdie [this message]
2010-03-24 15:57 ` Tom Rini
2010-03-24 18:05 ` Richard Purdie
2010-03-24 18:46 ` Tom Rini
2010-03-25 23:11 ` Richard Purdie
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=1269445040.1681.147.camel@rex \
--to=rpurdie@rpsys.net \
--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.