mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
Rename task to packagegroup
"Package group" is a much more appropriate name for these than task, since we use the word task to describe units of work executed by BitBake. (From OE-Core rev: 424dcf7046e4ad09dcc664eb1992201195247fcf) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f1df3f828b
commit
272cb74d70
@@ -0,0 +1,94 @@
|
||||
#
|
||||
# Copyright (C) 2007 OpenedHand Ltd.
|
||||
#
|
||||
|
||||
DESCRIPTION = "Software Development Tasks for OpenedHand Poky"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
DEPENDS = "packagegroup-core-console"
|
||||
PR = "r8"
|
||||
|
||||
ALLOW_EMPTY = "1"
|
||||
#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
|
||||
|
||||
PACKAGES = "\
|
||||
packagegroup-core-sdk \
|
||||
packagegroup-core-sdk-dbg \
|
||||
packagegroup-core-sdk-dev"
|
||||
|
||||
RDEPENDS_packagegroup-core-sdk = "\
|
||||
autoconf \
|
||||
automake \
|
||||
binutils \
|
||||
binutils-symlinks \
|
||||
coreutils \
|
||||
cpp \
|
||||
cpp-symlinks \
|
||||
ccache \
|
||||
diffutils \
|
||||
gcc \
|
||||
gcc-symlinks \
|
||||
g++ \
|
||||
g++-symlinks \
|
||||
gettext \
|
||||
make \
|
||||
intltool \
|
||||
libstdc++ \
|
||||
libstdc++-dev \
|
||||
libtool \
|
||||
perl-module-re \
|
||||
perl-module-text-wrap \
|
||||
pkgconfig \
|
||||
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-*"
|
||||
Reference in New Issue
Block a user