Patchwork [0/7,v3] Enable the ability to create an image matching SDK

login
register
mail settings
Submitter Mark Hatle
Date July 2, 2012, 8:50 p.m.
Message ID <cover.1341262097.git.mark.hatle@windriver.com>
Download mbox
Permalink /patch/30995/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib mhatle/sdk

Comments

Mark Hatle - July 2, 2012, 8:50 p.m.
Rebased and patch 7/7 added to correct an oversight in base.bbclass.

--- v2

Only difference is patch 1/6, I accidently sent and older broken version of the
patch.  This is the correct version.

--- v1

After this series of patches, it is possible to generate an SDK that 
matches the image.  The SDK and all related code is only activated if an image
recipe is built using the "populate_sdk" task, such as:

bitbake core-image-sato -c populate_sdk

Existing SDK images, such as meta-toolchain or meta-toolchain-gmae continue to
work without modifications.

The following changes since commit 64422f7c5da160050a5454817c8fa9d070104b34:

  package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS (2012-07-02 16:44:57 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib mhatle/sdk
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/sdk

Mark Hatle (7):
  Fix manual log file paths
  populate_sdk.bbclass: Split into two parts
  populate_sdk: Allow for attempt only packages in the SDK
  populate_sdk_base.bbclass: Change to using task specific depends
  populate_sdk: enable basic multilib support
  image.bbclass: Add support to build the SDK in parallel with the
    image
  base.bbclass: Add cross-canadian-${TRANSLATED_TARGET_ARCH} to the
    license exclusion list

 meta/classes/base.bbclass              |    2 +-
 meta/classes/image.bbclass             |    7 ++-
 meta/classes/package_deb.bbclass       |    4 +-
 meta/classes/package_ipk.bbclass       |    2 +-
 meta/classes/package_rpm.bbclass       |   10 +-
 meta/classes/populate_sdk.bbclass      |   91 +---------------------
 meta/classes/populate_sdk_base.bbclass |  128 ++++++++++++++++++++++++++++++++
 meta/classes/populate_sdk_deb.bbclass  |    6 +-
 meta/classes/populate_sdk_ipk.bbclass  |    5 +-
 meta/classes/populate_sdk_rpm.bbclass  |    4 +-
 meta/classes/rootfs_deb.bbclass        |    2 +
 meta/classes/rootfs_ipk.bbclass        |    2 +
 meta/classes/toolchain-scripts.bbclass |   16 +++--
 13 files changed, 171 insertions(+), 108 deletions(-)
 create mode 100644 meta/classes/populate_sdk_base.bbclass
Saul Wold - July 3, 2012, 5:41 p.m.
On 07/02/2012 01:50 PM, Mark Hatle wrote:
> Rebased and patch 7/7 added to correct an oversight in base.bbclass.
>
> --- v2
>
> Only difference is patch 1/6, I accidently sent and older broken version of the
> patch.  This is the correct version.
>
> --- v1
>
> After this series of patches, it is possible to generate an SDK that
> matches the image.  The SDK and all related code is only activated if an image
> recipe is built using the "populate_sdk" task, such as:
>
> bitbake core-image-sato -c populate_sdk
>
> Existing SDK images, such as meta-toolchain or meta-toolchain-gmae continue to
> work without modifications.
>
> The following changes since commit 64422f7c5da160050a5454817c8fa9d070104b34:
>
>    package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS (2012-07-02 16:44:57 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib mhatle/sdk
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/sdk
>
> Mark Hatle (7):
>    Fix manual log file paths
>    populate_sdk.bbclass: Split into two parts
>    populate_sdk: Allow for attempt only packages in the SDK
>    populate_sdk_base.bbclass: Change to using task specific depends
>    populate_sdk: enable basic multilib support
>    image.bbclass: Add support to build the SDK in parallel with the
>      image
>    base.bbclass: Add cross-canadian-${TRANSLATED_TARGET_ARCH} to the
>      license exclusion list
>
>   meta/classes/base.bbclass              |    2 +-
>   meta/classes/image.bbclass             |    7 ++-
>   meta/classes/package_deb.bbclass       |    4 +-
>   meta/classes/package_ipk.bbclass       |    2 +-
>   meta/classes/package_rpm.bbclass       |   10 +-
>   meta/classes/populate_sdk.bbclass      |   91 +---------------------
>   meta/classes/populate_sdk_base.bbclass |  128 ++++++++++++++++++++++++++++++++
>   meta/classes/populate_sdk_deb.bbclass  |    6 +-
>   meta/classes/populate_sdk_ipk.bbclass  |    5 +-
>   meta/classes/populate_sdk_rpm.bbclass  |    4 +-
>   meta/classes/rootfs_deb.bbclass        |    2 +
>   meta/classes/rootfs_ipk.bbclass        |    2 +
>   meta/classes/toolchain-scripts.bbclass |   16 +++--
>   13 files changed, 171 insertions(+), 108 deletions(-)
>   create mode 100644 meta/classes/populate_sdk_base.bbclass
>

Merged into OE-Core

Thanks
	Sau!