Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/9] Extensible SDK
Date: Mon, 23 Feb 2015 17:00:34 +0000	[thread overview]
Message-ID: <cover.1424709353.git.paul.eggleton@linux.intel.com> (raw)

At long last, here is the first mergeable version of what I'm now
calling the "extensible SDK". The initial proposal for this was posted
last year:

https://lists.yoctoproject.org/pipermail/yocto/2014-August/021044.html

Other than some names there hasn't been all that much change since then,
although things have changed quite a lot behind the scenes. In any case,
the basic idea is (example from poky):

 1) Create an extensible SDK:

    bitbake -c populate_sdk_ext core-image-minimal

 2) Install the SDK:

    ./poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-1.7.sh

    (usual SDK installation procedure; however do not run the installer
     as root or under sudo - it should be installed as the user you intend
     to run it with)

 3) Run the environment script:
    
    . ./environment-setup-core2-64-poky-linux

 4) Add your application to the build:
   
    devtool add myapp /path/to/myapp/source

 5) Build it:

    devtool build myapp

 6) Deploy the application to your target:

    devtool deploy-target myapp root@192.168.7.2

Now your application is ready to test on the target. "devtool build"
puts items into the SDK's sysroot as well so you can also add new
libraries to the installed SDK as needed.

There are still some rough edges to be worked out, and there is no
capability to update the SDK without reinstalling yet, but the basic
functionality is there.


The following changes since commit c4de42aadd4c8a4a8f16c25e7dcdefef79daf030:

  pulseaudio: upgrade to 6.0 (2015-02-23 08:08:05 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/extensible-sdk
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/extensible-sdk

Paul Eggleton (1):
  sstatesig: Add ability to filter list of tasks for locked-sigs.inc

Randy Witt (8):
  gen-lockedsig-cache: Allow cross-filesystem copies.
  copy_buildsystem.py: Add a way to copy buildsystem to a directory.
  copy_buildsystem.py: Add methods to copy shared state.
  toolchain-scripts: Add parameters to toolchain_create_sdk_env_script.
  toolchain-shar-template.sh: Make relocation optional.
  uninative-tarball: Actually use bzip2 for compression.
  scripts/oe-buildenv-internal: add means of skipping SDK check during
    setup
  populate_sdk_ext: add extensible SDK

 meta/classes/image.bbclass                         |   2 +-
 meta/classes/populate_sdk_base.bbclass             |  10 +-
 meta/classes/populate_sdk_ext.bbclass              | 217 +++++++++++++++++++++
 meta/classes/toolchain-scripts.bbclass             |  15 +-
 ...-shar-template.sh => toolchain-shar-extract.sh} |  53 +----
 meta/files/toolchain-shar-relocate.sh              |  50 +++++
 meta/lib/oe/copy_buildsystem.py                    | 102 ++++++++++
 meta/lib/oe/sstatesig.py                           |   5 +-
 meta/recipes-core/meta/meta-environment-extsdk.bb  |  12 ++
 meta/recipes-core/meta/uninative-tarball.bb        |   2 +-
 scripts/gen-lockedsig-cache                        |  10 +-
 scripts/oe-buildenv-internal                       |   2 +-
 12 files changed, 414 insertions(+), 66 deletions(-)
 create mode 100644 meta/classes/populate_sdk_ext.bbclass
 rename meta/files/{toolchain-shar-template.sh => toolchain-shar-extract.sh} (64%)
 create mode 100644 meta/files/toolchain-shar-relocate.sh
 create mode 100644 meta/lib/oe/copy_buildsystem.py
 create mode 100644 meta/recipes-core/meta/meta-environment-extsdk.bb

-- 
1.9.3



             reply	other threads:[~2015-02-23 17:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 17:00 Paul Eggleton [this message]
2015-02-23 17:00 ` [PATCH 1/9] gen-lockedsig-cache: Allow cross-filesystem copies Paul Eggleton
2015-02-23 17:00 ` [PATCH 2/9] sstatesig: Add ability to filter list of tasks for locked-sigs.inc Paul Eggleton
2015-02-23 17:00 ` [PATCH 3/9] copy_buildsystem.py: Add a way to copy buildsystem to a directory Paul Eggleton
2015-02-23 17:00 ` [PATCH 4/9] copy_buildsystem.py: Add methods to copy shared state Paul Eggleton
2015-02-23 17:00 ` [PATCH 5/9] toolchain-scripts: Add parameters to toolchain_create_sdk_env_script Paul Eggleton
2015-02-23 17:00 ` [PATCH 6/9] toolchain-shar-template.sh: Make relocation optional Paul Eggleton
2015-02-23 17:00 ` [PATCH 7/9] uninative-tarball: Actually use bzip2 for compression Paul Eggleton
2015-02-23 17:00 ` [PATCH 8/9] scripts/oe-buildenv-internal: add means of skipping SDK check during setup Paul Eggleton
2015-02-23 17:00 ` [PATCH 9/9] populate_sdk_ext: add extensible SDK Paul Eggleton
2015-02-23 17:41   ` Otavio Salvador
2015-02-23 17:54     ` Paul Eggleton
2015-02-23 18:00       ` Otavio Salvador
2015-02-23 18:06         ` Richard Purdie
2015-02-23 18:11           ` Otavio Salvador
2015-02-23 18:29             ` Paul Eggleton
2015-02-23 22:33             ` 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=cover.1424709353.git.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox