Files
poky/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
Colin Walters bf97b1a311 Add packagegroup-core-buildessential
[Not heavily tested, but sent for discussion]

task-core-sdk is too big - for example, I simply don't want to ship tcl, ever =)
Historically distcc caused a large dependency graph explosion because it has
a utility which uses gtk+, although that was fixed.

packagegroup-core-sdk also includes coreutils, which is a bit
confusing; conceptually things dependent on coreutils should pull it
in explicitly, or possibly we just declare coreutils to be in the
minimal build set.

So packagegroup-core-buildessential is intended to be similar to
Debian's "build-essential" package.  It's the stuff needed by say 80+%
of components, not worth repeating over and over.

(From OE-Core rev: 7d6cc169c95fecf6388a275281eb8b8f5d8eb4a2)

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18 12:13:13 +01:00

78 lines
2.4 KiB
BlitzBasic

#
# Copyright (C) 2007 OpenedHand Ltd.
#
SUMMARY = "Software development tools"
LICENSE = "MIT"
PR = "r9"
inherit packagegroup
#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
# For backwards compatibility after rename
RPROVIDES_packagegroup-core-sdk = "task-core-sdk"
RREPLACES_packagegroup-core-sdk = "task-core-sdk"
RCONFLICTS_packagegroup-core-sdk = "task-core-sdk"
RDEPENDS_packagegroup-core-sdk = "\
packagegroup-core-buildessential \
coreutils \
ccache \
diffutils \
intltool \
perl-module-re \
perl-module-text-wrap \
findutils \
quilt \
less \
distcc \
ldd \
file \
tcl"
RRECOMMENDS_packagegroup-core-sdk = "\
libgomp \
libgomp-dev"
#python generate_sdk_pkgs () {
# poky_pkgs = read_pkgdata('packagegroup-core', d)['PACKAGES']
# pkgs = d.getVar('PACKAGES', True).split()
# for pkg in poky_pkgs.split():
# newpkg = pkg.replace('packagegroup-core', 'packagegroup-core-sdk')
#
# # for each of the task packages, add a corresponding sdk task
# pkgs.append(newpkg)
#
# # for each sdk task, take the rdepends of the non-sdk task, and turn
# # that into rrecommends upon the -dev versions of those, not unlike
# # the package depchain code
# spkgdata = read_subpkgdata(pkg, d)
#
# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '')
# rreclist = []
#
# for depend in rdepends:
# split_depend = depend.split(' (')
# name = split_depend[0].strip()
# if packaged('%s-dev' % name, d):
# rreclist.append('%s-dev' % name)
# else:
# deppkgdata = read_subpkgdata(name, d)
# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '')
# for depend in rdepends2:
# split_depend = depend.split(' (')
# name = split_depend[0].strip()
# if packaged('%s-dev' % name, d):
# rreclist.append('%s-dev' % name)
#
# oldrrec = d.getVar('RRECOMMENDS_%s' % newpkg) or ''
# d.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist))
# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS_%s' % newpkg)))
#
# # bb.note('pkgs is %s' % pkgs)
# d.setVar('PACKAGES', ' '.join(pkgs))
#}
#
#PACKAGES_DYNAMIC = "packagegroup-core-sdk-*"